View Full Version : html help...where are my pictures ??
Hi guys
I need some help. none of my pictures are showing up on a new web page.
I am using MS expression web. I have double checked file names and extensions several times. If you view source and copy and paste the "source" of the photos they really are there. There is even an alt. copy with a different name and they all show if you type the address directly but aren't showing on the page. There are 9 photos on the page and none are showing. So I am sure I made the same mistake 9 times.
If someone could look at the source code I would really appreciate it !!!
The page is HERE (http://www.sdmfabricating.com/S&W_Rear_Sight/S&W_Rear_Sight.htm)
Many thanks
Scott
Every picture displays correctly.
RyderOCZ
14 May 2009, 8:51pm
Not in IE7
Thanks for checking Thrax , which browser did you use ?
I had a customer call about the sights and he wanted to know if I had any pictures of them. I said there are a bunch on the website. He said he could not see them so I checked and I also could no longer see them.They were there when I built the page a month ago. But I can't see them in IE 8.
Scott
Lincoln
14 May 2009, 8:58pm
Going to need some code hackery. Expression Web is friggin' awful, apparently.
Everywhere you see this:
<p class=MsoNormal align=center style='text-align:center'><span
style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="P1000503.JPG" style='width:8in;
height:6in;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="http://www.sdmfabricating.com/S&W_Rear_Sight/S&W_Rear_Sight_files/image015.jpg" o:title="P1000503"/>
</v:shape><![endif]--><![if !vml]>
<img width=768 height=576
src="http://www.sdmfabricating.com/S&W_Rear_Sight/S&W_Rear_Sight_files/image015.jpg" alt=P1000503.JPG v:shapes="Picture_x0020_5"><![endif]></span></p>
1. Delete this:
class=MsoNormal align=center
2. And all of this:
<span
style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="P1000503.JPG" style='width:8in;
height:6in;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="http://www.sdmfabricating.com/S&W_Rear_Sight/S&W_Rear_Sight_files/image015.jpg" o:title="P1000503"/>
</v:shape><![endif]--><![if !vml]>
3. Remove the line break before "src="
4. And delete this:
<![endif]></span>
5. And this:
alt=P1000503.JPG v:shapes="Picture_x0020_5"
5. Leaving you with this (I cleaned up some quotes too because I'm OCD like that):
<p style="text-align:center"><img width="768" height="576" src="http://www.sdmfabricating.com/S&W_Rear_Sight/S&W_Rear_Sight_files/image015.jpg"></p>
That little piece of code is all you need for each photo (file, width, and height are all that vary), and MS went and made it a mess :(
Lincoln
14 May 2009, 9:02pm
What happened here is Expression Web added a bunch of "conditions" that add some sort of "special features" if IE is involved. In practice, all it did was completely screw up your site and create terrible code.
All I've done is strip out the tiny bit you actually needed that will work the same in all browsers. :)
Going to need some code hackery. Expression Web is friggin' awful, apparently.
That little piece of code is all you need for each photo (file, width, and height are all that vary), and MS went and made it a mess :(
Thanks boss !!
I'm on it
Scott
scott
14 May 2009, 10:03pm
Thanks Lincoln !!
It is now visable once again.
Except to Expression. Now it dosen't see the pictures.
I should not need to edit it though.
Many thanks
Scott
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.