6,113 Topics

Member Avatar for
Member Avatar for turt2live

Ok, So I'm amking a game and need walls so you can't walk through walls (This is a top down view game, screenshot [URL="http://turt2live.servebeer.com/game_stuff/walls.png"]here[/URL]), although, my calculation for seeing if you are going to hit a wall slows down the game with the 3 walls I have (I stopped making …

Member Avatar for turt2live
0
196
Member Avatar for DeIntegro

I am having problems loading images from my database. I think it's something with the variable...i am new to PHP and have a project i need to finish by Tuesday. Your help is appreciated. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for dos_killer
0
474
Member Avatar for androidz

hello guys i've been making my web actually its my first web building and i dont have any idea whats going on ie. i've been reading notes and other stuffs surfing on the net for answers but still i cant get it..any suggestions or answers to this?to make my png …

Member Avatar for Dandello
0
121
Member Avatar for dmizz002

Hi all, I am kinda new to the area so please bear with me :) I want to dynamically display an image according to a certain variable obtained from an XML document and I did the following code where intTypeID is a variable whose value changes according to the nodes …

Member Avatar for kvprajapati
0
215
Member Avatar for samsons17

Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i …

Member Avatar for mr.allty
0
194
Member Avatar for turt2live

Hello, I currently have this code to buffer an image: [CODE] public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; ImageIcon icon = new ImageIcon("back.gif"); Image image = icon.getImage(); BufferedImage buff = new BufferedImage(image.getWidth(this), image.getHeight(this), BufferedImage.TYPE_INT_ARGB); Graphics2D b = (Graphics2D) buff.createGraphics(); b.drawImage(image,imgX,imgY,this); b.setColor(Color.BLUE); b.fillRect((window.getWidth()/2)-13, (window.getHeight()/2)-13, 26, 26); g2.drawImage(buff, 0, 0, …

Member Avatar for turt2live
0
279
Member Avatar for unclepauly

hello, i am using the Graphics.DrawLine method in C# and this is fine for thin lines but for thick lines it draws really badly. i have sample code to reproduce the problem below. just create a new c# forms application and add a picture box to the form. make the …

Member Avatar for jayantpaliwal
0
712
Member Avatar for haoth

Greetings ! I am trying to develop a website, much like hotornot.com, but a little simpler. The idea is: - The visitor comes to my site and selects a category, then he is presented with various images which he can rate. He can rate the images without leaving the same …

Member Avatar for diafol
0
166
Member Avatar for Siege

Hi, I am currently developing a website for myself and one of the things I want on my page is a nice hover menu. I will try and explane this as simple as I can. I want to have 3 pictures lined up next to each other, and when I …

0
75
Member Avatar for xiiopao

Good day guys, anyone here who knows how to easily access image pointers stored in a database in JSP?... here's my code =) ... it already works in retrieving data other than the image... my database contains petid, petname,birthdate,image,petprice.... [CODE] <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%> <sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/store" user="root"/> …

Member Avatar for parry_kulk
0
148
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
128
Member Avatar for youlichika

I want to do a picture search engine. I use `simple_html_dom` and `preg_match_all` to get all the image, then use `getimagesize` get all the image size. Here is one part of my code. [CODE]<?php header('Content-type:text/html; charset=utf-8'); require_once 'simple_html_dom.php'; $v = 'http://www.jqueryimage.com/'; $html = file_get_html($v); foreach($html->find('img') as $element) { if( preg_match('#^http:\/\/(.*)\.(jpg|gif|png)$#i',$element->src)){ …

Member Avatar for ivan3510
0
133
Member Avatar for dalip_007

hey guys, I have a site where users can upload photos, what i want is when they upload photos, then automatically, my site name should be labeled on image so that when some one download that image a watermark of "mysite.com" is printed on that image. any idea how to …

Member Avatar for dalip_007
0
77
Member Avatar for guif

Hi! I would like to do a preload an image with one progressbar. I insert a little code in CSS and into a DIV and I resize this image (in this case at 35%). The code that I have at the moment is: [CODE].progress-level { background: url(progress.png) no-repeat left center; …

Member Avatar for twiss
0
65
Member Avatar for luislupe

Hi, I'm building a clustering algorithm and need to visualize how data is distributed and relationed. For this, I'm thinking in histograms (numerical and categorical data) and scatter plots. If possible, a 3D like plot like [url]http://www.opendx.org/inaction/datamining/images/original/mci3.jpg[/url] would be nice, but is not required. I'd like to be able to …

Member Avatar for L7Sqr
0
332
Member Avatar for xanawa

i would like to show an image in a datagridview cell giving the path of the image.. how can i do so?

Member Avatar for Mitja Bonca
0
1K
Member Avatar for gazbg84

Hello! Hi guys i have a little problem here and a few ideas on how to solve it. I would greatly appreciate it if you can point me in the right direction. Don't have much experience in these matters. [B][U]The problem:[/U][/B] Need ot present a JPG from a camera(should look …

0
80
Member Avatar for djansyle

Hi i want to send an multiple screenshot image.. and i want them to send one by one from my client to server.. Can you please post some code.. im using vs2008. Thanks Ahead.. God Bless

Member Avatar for Mitja Bonca
0
88
Member Avatar for silentassasin

Hi, I wrote a program for detecting circles using Hough Transform using OpenCV in C. The program inputs 3 images, each image contains a fixed small circle and a big circle with variable position. The program then recognizes both the circles and marks the centres of both the circles. Now …

0
188
Member Avatar for McLaren

[CODE] if(!$this->upload->do_upload()) { //echo $config['upload_path']; $error = $this->upload->display_errors(); echo $error.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } else { $data = $this->upload->data(); $this->load->model('Image_model','image'); if($data['image_width'] > 700) { $task = $this->image->image_resize_for_gallery('./uploads/gallery/'.$this->input->post('album_folder').'/'.$data['file_name']); if($task != 'ok') { echo $task.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } } if($this->image->gallery_thumb($this->input->post('album_folder'),$data['file_name'])) { …

0
101
Member Avatar for mscbme

hi, I have a images in bmp format and I would like to convert into dicom. I am not a professional in python or vtk. if you may have advice, please reply me. I have started like this but it does not work :(... file_in = 'C:/programfile/image.bmp' file_out = 'test1.dcm' …

Member Avatar for britanicus
0
246
Member Avatar for jamshed ahmed

hi and hello is it possible to make images visibale =true or false in crystal report suppose there is crystalReportViewr Form and this form there is textbox if value in textbox is 1 then image box visible =true if txtbox =0 then image box visible=false please help me out is …

0
60
Member Avatar for 080346

hello everyone i want to know how i can store the image in my database(PostGreSql pgadmin iii) using jsp and glassfish as a server. i have the following code but it go to exception at pst.setBytes(2,b)....... thnx [code] con = getConnection(); String exsistingFileName= "C:\\temp\\myimage.gif"; File file = new File(exsistingFileName); FileInputStream …

Member Avatar for kvprajapati
0
105
Member Avatar for -VLV-

My desktop computer (xp media center edition)(Packard bell)(3 years old) doesn't display any image on the screen, Last time it worked fine i was using it, i went away some few minutes and when i came back there wasn't any image on screen. I've been using the pc all day... …

Member Avatar for Rik_
0
228
Member Avatar for trixma

Hey guys, I'm trying to vertically center-align text on a button but no matter what it always shows up too low. Here's my CSS [CODE].fb8 { background: url(button.png) no-repeat; border: none; outline: none; color: #bbbbbb; height: 22px; width: 105px;}[/CODE] and this is my html: [CODE] <input type="button" value="Login" class="fb8" name="btnLogin" …

Member Avatar for ko ko
0
126
Member Avatar for kaveman

Howdy, NewB to CSS and have a background image set to show up on my html pages, and so it does... body { font-family: "Trebuchet MS", sans-serif; background: #bbb url(../imageshtml/page_background.jpg); margin: 0; padding: 0; } This currently happens to all of my html pages, BUT I don't want it happen …

Member Avatar for kaveman
0
236
Member Avatar for vegaseat

Probably the simplest way to get into multimedia with Python is the webbrowser module. This works with both Windows and Unix systems, and selects the default browser you have installed. But that is not all: if you give it the name of a multimedia file it will select the default …

Member Avatar for e-papa
4
1K
Member Avatar for xiiopao

hi there im new to php and im currently building my website .,it's more like an online store and i would like my products to be listed in a gridview., i have a database and my only problem is how to display the images .., i've already displayed some info …

Member Avatar for xiiopao
0
542
Member Avatar for inni2626

Hi Everyone, I have images in my div and i wanted when you hover on the image it gives you information about the image.How can i do that? By the way am using dreamweaver! Please advice :-/ [CODE] <div class="gallery"><!-- Start of gallary div--> <h3><a href="../images/Alien_Predator_Shoulder.JPG"><img src="../images/Alien_Predator_Shoulder_mini.jpg" width="63" height="69" alt="alien_predator" …

Member Avatar for ko ko
0
114
Member Avatar for SEOKRU

Hi, I am triyng to create a very basic image catalog in a table I have a DB with image source (src), and URL (herf) and id , I need to use a simple query with "order by random", but what now? How do I connect the query result to …

Member Avatar for crishlay
0
74
Member Avatar for Moirae

Hello everyone! I have field in database table that is image type. I have to create model for this table (mvc3) and I don't know which data type to use. Any hints??

Member Avatar for crishlay
0
72
Member Avatar for Shizuka

Hi guys! i wonder how can i save image path in a string to MySQL, i mean...what instruction i have to use...i want to save it to MySQL and then show it into a picture box. Thank you very much for your help.

Member Avatar for Jx_Man
0
286
Member Avatar for vukidrock

I have some image, in my page, code: [CODE]<img src="/path/to/the/upload/folder/<?php echo $filename; ?>"/>[/CODE] Can you help me display it as link, ex: [CODE]<img src="http://imagelink.jpg"/>[/CODE] if you have free time, teach me how to display multi image with code above. Thank you so much

Member Avatar for Dani
0
85
Member Avatar for eldaerys

Can anyone show me how to get an Iamge from file. I tried using `image.fromfile"x.jpg"` but it didn't work when I used it in an array. Anyone have any suggestions on how to do it?

Member Avatar for Luc001
0
64
Member Avatar for Leo_london

I would like to have a picture covered up with another image then I would set a countdown and the top image would be slowly disappearing, pixel by pixel till the bottom image is fully visible, any ideas? I did try a few scripts related to: imagesetpixel imagelayereffect imagealphablending but …

Member Avatar for tomato.pgn
0
79
Member Avatar for vukidrock

Hi there. I have a problem: I want send every image to every div and display. My code: all.php [CODE]<? $files = glob("output/*.*"); for ($i=1; $i<count($files); $i++) { $num = $files[$i]; print $num."<br>"; echo '<img src="'.$num.'" alt="random image" />'."<br><br>"; } ?>[/CODE] index.php [CODE]<img src="all.php" alt="image">[/CODE] So, I don't know how …

Member Avatar for vukidrock
0
235
Member Avatar for vukidrock

Hi there This is my problem: - Upload image (not important) - Store its in [filename].php - Show [filename].php like image.jpg in show.php (gallery) Can you solve? Thank you so much

Member Avatar for vukidrock
0
122
Member Avatar for Qeeqie
Member Avatar for gogreen1
0
83
Member Avatar for LloydFarrell

Hi all, im looking for some help help, i have this css which looks great, im happy with how the input type text boxes are displayed and the textarea looks neat too - What I cant figure out is when I add a combo box, check box or image I …

Member Avatar for saliha
0
218
Member Avatar for kimmi_baby

Hi, what I want to do is create a menu with rollover buttons but each button also changes the background image of a div. I've managed to change the colour of the div but not add an image there. I've added my code so you can have a look. Case …

Member Avatar for kimmi_baby
0
181
Member Avatar for perll

hi, i ve an image in adobe photoshop without background. when i try to insert it into adobe flash file it shows a white background and i dont want the image w background color. can somebody help me. Thanx.

Member Avatar for srajanbill
0
205
Member Avatar for SolidSora

I got an image called badguy and it will not draw in the applet. Here is my code below. [CODE]package mainpackage; import java.applet.Applet; import java.applet.AudioClip; import java.awt.Graphics; import java.awt.Image; public class Test3 extends Applet implements Runnable{ /** * */ private static final long serialVersionUID = 1L; AudioClip shot; Image badguy; …

Member Avatar for mKorbel
0
148
Member Avatar for hellkosmos

hi guys actually i been searching the net for the past days on how to put a background /and or image in apache-tomcat-6.0.29 can you check if something is wrong with my code? i mean if i wanted to put something like .jpg where should i put it in my …

Member Avatar for ztini
0
130
Member Avatar for maui_mallard

Hey all, I just did a fresh install of 7 on my pc and I'm having a couple of issues: 1) my ethernet port it not recognizing the dsl line running into it. What I have done thus far is uninstall the sis-900 ethernet adapater from device manager. Installed fresh …

Member Avatar for maui_mallard
0
194
Member Avatar for ashwinshenoy

Hi Guys, I have developed a program which continuously draws a circle using a timer. Now every time the circle gets displays it flickers and which is because i have used me.refresh. Is there any other way to avoid this flickering. here is my code [CODE]Private Sub Timer1_Tick(ByVal sender As …

Member Avatar for Unhnd_Exception
0
3K
Member Avatar for thes0mething

Hello everyone on Daniweb!:) I'm all new with working with swing and I'm having some problems making my paint method work:/. Atm I'm just tryin to make it write a ball, which I can control into different directions. Right now there is quite alot of unnecessary stuff in my code …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Marrodriguez

i was wondering if anyone could help me more or less on how i could write a code in C++ that will result in image segmentation. I have made several atempts but everytime i include image.h, my compiler (DEVC++) tells me it does not recognize that variable. I would really …

Member Avatar for L7Sqr
0
91
Member Avatar for suhaildawood

Hi, I am trying to add a background image in turing, can somebody so me how I would be able to do this?

0
127
Member Avatar for TySkby

Hello, I'm working on a site that is a web representation of a magazine (for your reference: [URL="http://jettisonquarterly.com"]http://jettisonquarterly.com[/URL]). You can view and "flip" through the entire magazine's most current issue. The problem is that since the site's content is designed for a specific aesthetic in inDesign and each page is …

Member Avatar for pause4
0
193
Member Avatar for LWS

Hi, i had upload image to mySQL database... The problem is i unable to open or view the image that uploaded. May i know how display image from database by selectted id ??? the picture below is my "upload" table... Appreciate for you help

Member Avatar for trueedmar
0
2K

The End.