Internet Explorer (another?)
-
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be... -
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be... -
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be...- I took a screenshot and saved as a.bmp. 2) Both Picture Manager and Internet Explorer could open it fine. 3) Now I closed all the applications and renamed a.bmp as a.jpg 4) Both Picture Manager and Internet Explorer could open them without any hassles. Are we missing something in the original problem? Any typical system setting playing hide and seek?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
- I took a screenshot and saved as a.bmp. 2) Both Picture Manager and Internet Explorer could open it fine. 3) Now I closed all the applications and renamed a.bmp as a.jpg 4) Both Picture Manager and Internet Explorer could open them without any hassles. Are we missing something in the original problem? Any typical system setting playing hide and seek?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonI think he means the renderer in IE didn't like an <img> tag where the src claims to be a jpg file when it is really a windows bitmap? Correct me if I'm wrong if this was on a server there would be a request for the .jpg file and the server would read the header of the file and return a type of bitmap. Maybe IE rejects the response if it isn't of the type it expected?
-Spacix All your skynet questions[^] belong to solved
-
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be...Ninja-the-Nerd wrote:
Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension.
Paint saves images by default as bitmaps files (.bmp) If you have "hide known extensions" disabled, windows explorer does not show you the file extension. I can open bitmap files using Iexplorer. Are we talking the same thing? :confused:
Yusuf
-
I think he means the renderer in IE didn't like an <img> tag where the src claims to be a jpg file when it is really a windows bitmap? Correct me if I'm wrong if this was on a server there would be a request for the .jpg file and the server would read the header of the file and return a type of bitmap. Maybe IE rejects the response if it isn't of the type it expected?
-Spacix All your skynet questions[^] belong to solved
Yep...img tag. It was on my computer, hadn't uploaded it anywhere by then. I'm expecting it was the file extension/type mismatch because when I saved the images as a Jpeg (not just .jpg extension) using a proper image editor it worked fine. So technically there's 2 problems: 1) Paint doesn't save files as the right type properly (especially when it's 3AM). 2) Iexplore doesn't SEEM to open said images properly.
Ninja (the Nerd)
Confused? You will be... -
Ninja-the-Nerd wrote:
Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension.
Paint saves images by default as bitmaps files (.bmp) If you have "hide known extensions" disabled, windows explorer does not show you the file extension. I can open bitmap files using Iexplorer. Are we talking the same thing? :confused:
Yusuf
I show all extensions. I have no idea how much it affects paint, notepad++ etc. because I've never used them with extensions hidden.
Ninja (the Nerd)
Confused? You will be... -
Ninja-the-Nerd wrote:
Iexplore doesn't like images with the wrong extension.
My IE has never had problems with that.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out nowdsjkfdjk djfkds klds dsk kdsfkd ] ds] fd] / s]f d
-
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be...Er... the root problem here is that YOU gave the wrong extension to a file. Fix that issue and you won't have any problems. I don't understand why you consider this a problem in the first place. You are expecting Internet Explorer to figure out and fix your screw-up?! You are being part of the problem... stop it.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles. -
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be...I've had that problem before.
Steve
-
This is probably common knowledge among web dev's, but I just spent several hours wondering why my images weren't being displayed. The CSS (which was definitely being applied to the element):
.sm-toprow { background-image:url('img/tr.gif'); }
The element:<tr><td class="sm-toprow"></td></tr>
The huh? The images existed, were accessed fine and were definitely valid image files. The problem: I was only knocking up a quick layout for a page and so created the images in paint. Paint went and saved them as bitmaps, with a different extension, and Iexplore doesn't like images with the wrong extension. :mad: Edit: fixed some formatting problem (ie, the code not being code) Edit 2: didn't fix it. What the hell is going on with the post? Edit 3: actually fixed it this time. Something failed with the pasting of the HTML. My bad. Ninja (the Nerd) Confused? You will be...you mean .GIF vs .gif, .JPG vs .jpg etc...? Yup, that's an annoying one. One learns to live with it... :)
V.
Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive -
Er... the root problem here is that YOU gave the wrong extension to a file. Fix that issue and you won't have any problems. I don't understand why you consider this a problem in the first place. You are expecting Internet Explorer to figure out and fix your screw-up?! You are being part of the problem... stop it.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.Jasmine2501 wrote:
the root problem here is that YOU gave the wrong extension to a file. Fix that issue and you won't have any problems. I don't understand why you consider this a problem in the first place. You are expecting Internet Explorer to figure out and fix your screw-up?!
I'll remember this when you ever get in a similar situation... I don't really understand this harsh answer :confused:
V.
Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive