This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes problem with displaying image..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem with displaying image....." Watch "problem with displaying image....." New topic

problem with displaying image.....

Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Hello guys, i have downloaded a xyz.jpg image from my digital camera unto my desktop computer.
But, the image has an extremely large size , 161kb
and again it does not show on my webpage (an html page), i am using the right url <img src="/">.
Please, what do U think the problem is.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30130

Try using an absolute path to get the image to see if it is a problem with the path or the file. Also try using a filename with only one dot.
Also, netmechanic has a good, free Converter that you can use to make your gif smaller.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Sorry, that was a typo
url <img src="/images/xyz.jpg">.
The image was referenced correctly. i have other images in the same webpage being displayed with a similar path.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
ways to check
Make sure that the pic exsists in the image folder
Make sure the name is spelled right
make sure the image is in jpg format

change name to pic that has no problems and see if it shows up
add height and width attributes
See if any of that helps
jQuery in Action, 2nd edition
subject: problem with displaying image.....
Similar Threads
Storing large image files
Popup window for ajax
How to display image giving dynamic path in HTML
Trying to display thumbnail or WSQ image
Printing a BufferedImage