473,748 Members | 2,219 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

About showing GIF image in HTML

539 Contributor
I don't know where to put this thread exactly, but i just want some recommendations about my problem....

I wonder why some of my GIF images doesn't show on my page.....

May i know what should be an image format to be used in HTML?

Here is the situation,
Im currently developing a form in JSP, every visit/refresh on that page will change the filename that will be used for confirmation... ..
( common on sign-up forms )....

I have 50 GIF images(testing) on a specific location that will be used as the source of confirmation image,
Now, the first 10 images are made by my groupmates, and i added 40 for a realistic testing......

In every refresh, all the filenames(GIF) are processed and randomly returns a choosen filename and embed on html(through scriptlet),

Now, All of my images are perfectly shown except of those images that were made by my groupmates....

Im 100% sure that the generated filename exists.

Expand|Select|Wrap|Line Numbers
  1. <tr>
  2.                     <td>
  3.                         <img  src="<%="constants/".concat(url)%>" /> 
  4.                     </td>
  5.                     <td><input type="text" name="confirmanswer" size="10"/></td>
  6.                 </tr>
I've modified their work(GIF images), edit and save in uniformly choosen extension .GIF (not .gif), but it doesn't work either.....

What can you advice to me experts?

The JSP form above is only to illustrate the scenario..... i believe i forgot something here..... :(
Aug 1 '08 #1
5 2063
tharden3
916 Contributor
well, I asked a similar question last week. One of the experts here told me that JPEG and PNG are the best to use.
Aug 1 '08 #2
sukatoa
539 Contributor
well, I asked a similar question last week. One of the experts here told me that JPEG and PNG are the best to use.
Thank you so much for you quick reply,

Now i realize....
sukatoa
Aug 1 '08 #3
tharden3
916 Contributor
Thank you so much for you quick reply,

Now i realize....
sukatoa
I didn't really give much detail as to why JPEG and PNG:
- JPEG and PNG are both compressed, so they'll take a lot less space.
- PNG actually is a smaller file size AND a clearer image than GIF. SO two bonuses there.
- I used GIF for a while, until I myself asked the question. There shouldn't be anything wrong with using it, but like I said, JPEG and PNG are the way to go.
Aug 1 '08 #4
sukatoa
539 Contributor
Thanks for your reply,

Now, i have observed that some of my images with .JPG extensions does not show on other browsers,

In my case, all of my images are showing in Opera 9.51,
And i have attempted the following browsers (IE, FireFox) to test if they are showing also,

and i realize that some of those images does not showing,
So, i suspect the following:

1. case sensitivity of the extension files, ( .JPG to .jpg )
some of those images that doesn't show, after changing there case
extension, it now shows, but not all....

2. The image editor,

Can you tell me what are the best practices to manage images for presenting them on the browser?
Sep 4 '08 #5
David Laakso
397 Recognized Expert Contributor
I regret not being unable to give you any specific answer (s) to your questions, other than sometimes having a obsessive/compulsive "nit-picking" personality helps . Some questions you've answered yourself.

No-show images are often very difficult to track -- many, many factors -- play in the causes, among them: a non-valid document requiring some browsers to rely on faulty error recovery; incorrect path to the images and/or their directory (directories); mixed extensions and/or mixed uc/lc image extentions; corrupt images; not declaring image height and width (often an IE/6 issue); error in the script call; and more...
Sep 4 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

27
3073
by: Gene Ellis | last post by:
Something strange is happening, but I bet it is a quick fix. My favicon image is showing up in the URL bar, for a couple of seconds, but then it disappears and the default browser icon is displayed. When I reload the page, the same thing happens. The correct icon appears for a few seconds (while the page is loading), but then goes away. You can see that here: http://webdev.ucop.edu/tltc_ph2/index_icon.html
9
3503
by: Terrance | last post by:
Good Afternoon: I was hoping if someone could share some light on a problem that I'm facing. When I create a Visual Basic.Net program and I use the XP style for my Window Forms and buttons; if I add images to my menu buttons they don't show when the form is created. But, if I don't use the XP style the images show on my buttons correctly. Can someone please explain to me what the problem is and how to get around it? Here is how I'm calling...
8
1990
by: johkar | last post by:
I have two problems I cannot work out in the following tab code with Netscape 6. Problems are marked with all cap comments. One is that the background image is not shown in NS 6 (two places in CSS). The second problem is that the top right rounded corner is not showing up in the Tier 2 tabs. Could you have a look and tell me if it is possible to correct? This code seems to work fine in IE 5+ and Firefox. Note that since I can't post...
10
2157
by: bessington | last post by:
hey all, i'm having a rather bizarre problem.. the image tag i have declared in my xhtml is not showing in safari / konqueror but showing just fine in Firefox, IE, Opera... this is a complete mystery and I have been scouring every book / resource I can find but haven't come up with an answer. any one have any ideas? all other images in site showing fine - but they are declared as background images in the css. the site is:...
3
4388
by: Mike Dee | last post by:
Hi, I'm having an issue with the status bar in Mozilla and Netscape showing that it is still waiting on the page to load even after it is finished. This problem does NOT occur with IE. In summary, I am using a onLoad event in the BODY tag to communicate back to another server each time a page finishes loading. I do this by using a "new Image()" and setting the .src property to the server. The .src includes a value in the querystring...
9
2902
by: frizzle | last post by:
Hi there, I have a site where i display all kinds of thumbnails, (all 100 * 100px), the thumbs are links (surprise! ;) ). They link to a page where someone can order the picture. If ordered, a "selected div" is added (via PHP) before the thumbnail. It has to show a small image above the left corner of the thumbnail. Now it works fine in FF, only in IE (windows) the image isn't visible in the fifth (outer) "column".
3
1557
by: steven | last post by:
Hi... I'm "ajaxifying" my image gallery and I have some code which creates the elements on the fly and places them on the page. Using firefox, the code works fine and the elements show up as they should, however in IE, the UL and LI's appear to have no style associated with them at all and don't display as they should. They are styled with CSS and it's the same layout as the non ajax version, which works fine in IE. The way the html...
0
1354
by: Iain | last post by:
Hi I am using Borland Developer 2006 (C# code behind) to create a 3 Column CSS app. Fairly new to the .net platform and very new to repeaters. I have 2 repeaters on a page, both of which are filled from a database. The Links in the left hand column are created correctly and displayed. The images/Links (hrefs) in the right hand column are the problem. The links are displayed correctly but the images are not
0
1348
by: punitshrivastava | last post by:
Hi to All, I am Punit Shrivastava.i created one html page for this i cde like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>kj-issue-52-200602 copy.jpg</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css">
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.