"X'd" out photos?

Get HTML help, style input, and feedback on your pages from other SP members.
User Avatar
Brian Jenkins

 
Posts: 1401
Joined: Tue Jul 17, 2001 1:31 pm
Thanked: 6 times in 6 posts

"X'd" out photos?

by Brian Jenkins » Fri May 14, 2010 8:10 pm

What causes certain photos and thumbnails to be shown on a page as a big red X? I've gone over the code a dozen times and the format seems to follow the rules for the table and other photos are fine within the table. It's a mystery to me and I'm hoping this is some easy answer for you programming guys. Thanks.

Example

User Avatar
MoapaPk

 
Posts: 7780
Joined: Fri May 13, 2005 7:42 pm
Thanked: 787 times in 519 posts

by MoapaPk » Fri May 14, 2010 8:15 pm

I see "Blah>jpg" vs. "Blah.jpg"

User Avatar
nartreb

 
Posts: 2232
Joined: Sat Apr 03, 2004 10:45 pm
Thanked: 184 times in 155 posts

by nartreb » Fri May 14, 2010 8:18 pm

Simple HTML errors due to bad typing. For the Yocum Ridge photo, that page has:


Code: Select all
<img src="hhtp://www.summitpost.org/images/thumb/45400>jpg">


Near the beginning, you should have written "http", not "hhtp", and near the end, should be a dot (period) (.) just before the "jpg", not a greater-than sign

BTW, the big red X is generated by your browser to tell you it can't find a photo. Other browsers will show a "broken file" logo or something else.

Edit: the Castle Crags one has a subtler problem: should be .JPG not .jpg. A longstanding annoyance: SP preserves whichever spelling the original file had on your computer.
Last edited by nartreb on Fri May 14, 2010 8:25 pm, edited 2 times in total.

User Avatar
nartreb

 
Posts: 2232
Joined: Sat Apr 03, 2004 10:45 pm
Thanked: 184 times in 155 posts

by nartreb » Fri May 14, 2010 8:25 pm

separately, why the hell are you using TH tags when what you mean is TD?

User Avatar
mrchad9

 
Posts: 4545
Joined: Thu Jul 02, 2009 12:01 am
Thanked: 1338 times in 911 posts

by mrchad9 » Fri May 14, 2010 9:01 pm

lol at FM

User Avatar
Brian Jenkins

 
Posts: 1401
Joined: Tue Jul 17, 2001 1:31 pm
Thanked: 6 times in 6 posts

by Brian Jenkins » Sat May 15, 2010 7:46 am

Ah, sorry, so it's my mistakes. I read those over and over and still missed them. Thanks for the corrections, didn't mean to make you guys be my proof-readers but I appreciate the help.

"why the hell are you using TH tags when what you mean is TD?"
--- because I don't even know what those things mean and I was just going off what an article by thephotohiker said (Pictures in tables on pages, oh my) but I probably misread something. See, I'm not a computer guy. When I was in high school and college, I was out drinking and having sex with women, not learning programming. ;- )

Fortmental-excellent point, I'll get on that................

Thanks amigos, appreciate the responses!

User Avatar
nartreb

 
Posts: 2232
Joined: Sat Apr 03, 2004 10:45 pm
Thanked: 184 times in 155 posts

by nartreb » Tue May 18, 2010 4:43 pm

I just skipped the drinking.

http://www.w3.org/TR/html401/struct/tab ... l#h-11.2.6

Table cells may contain two types of information: header information and data. ...

The TH element defines a cell that contains header information. ...

The TD element defines a cell that contains data.

User Avatar
Brian Jenkins

 
Posts: 1401
Joined: Tue Jul 17, 2001 1:31 pm
Thanked: 6 times in 6 posts

by Brian Jenkins » Tue May 18, 2010 7:55 pm

:D

Cool, thanks! I missed that one.


Return to Page Help

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests