Page 1 of 1

"X'd" out photos?

PostPosted: Fri May 14, 2010 8:10 pm
by Brian Jenkins
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

PostPosted: Fri May 14, 2010 8:15 pm
by MoapaPk
I see "Blah>jpg" vs. "Blah.jpg"

PostPosted: Fri May 14, 2010 8:18 pm
by nartreb
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.

PostPosted: Fri May 14, 2010 8:25 pm
by nartreb
separately, why the hell are you using TH tags when what you mean is TD?

PostPosted: Fri May 14, 2010 9:01 pm
by mrchad9
lol at FM

PostPosted: Sat May 15, 2010 7:46 am
by Brian Jenkins
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!

PostPosted: Tue May 18, 2010 4:43 pm
by nartreb
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.

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

Cool, thanks! I missed that one.