6,113 Topics
![]() | |
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 … | |
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" /> … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … ![]() | |
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 … | |
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"/> … | |
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 … | |
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)){ … | |
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 … | |
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; … | |
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 … | |
i would like to show an image in a datagridview cell giving the path of the image.. how can i do so? | |
![]() | 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 … |
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 | |
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 … | |
[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'])) { … | |
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' … | |
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 … | |
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 … | |
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... … | |
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" … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
![]() | 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?? |
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. | |
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 | |
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? | |
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 … | |
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 … | |
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 | |
how to make writing or moving images on a website using Dreamweaver 8.0?? help me please. thanks... | |
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 … | |
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 … | |
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. | |
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; … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
Hi, I am trying to add a background image in turing, can somebody so me how I would be able to do this? | |
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 … | |
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 |
The End.