Welcome to SP!  -
Areas & RangesMountains & RocksRoutesImagesArticlesTrip ReportsGearOtherPeoplePlans & PartnersWhat's NewForum

"X'd" out photos?

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

"X'd" out photos?

Postby 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
Brian Jenkins

 
Posts: 1376
Joined: Tue Jul 17, 2001 1:31 pm
Location: Upper Left Corner, United States
Thanked: 3 times in 3 posts

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

I see "Blah>jpg" vs. "Blah.jpg"
User Avatar
MoapaPk

 
Posts: 7312
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 636 times in 411 posts

Postby 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: 1889
Joined: Sat Apr 03, 2004 10:45 pm
Location: online or in boston, Massachusetts, United States
Thanked: 77 times in 63 posts

Re: "X'd" out photos?

Postby Deleted User » Fri May 14, 2010 8:18 pm

Brian Jenkins wrote: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


It's because your pictures suck. Try posting a sweet shot of some bikini-clad hottie crimping on some beach boulder. That ought to work.
Deleted User

 
Posts: 16737675
Joined: Mon Feb 13, 2006 5:07 am
Thanked: 9 times in 5 posts

Postby 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
nartreb

 
Posts: 1889
Joined: Sat Apr 03, 2004 10:45 pm
Location: online or in boston, Massachusetts, United States
Thanked: 77 times in 63 posts

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

lol at FM
User Avatar
mrchad9

 
Posts: 3336
Joined: Thu Jul 02, 2009 12:01 am
Location: San Ramon, California, United States
Thanked: 990 times in 674 posts

Postby 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
Brian Jenkins

 
Posts: 1376
Joined: Tue Jul 17, 2001 1:31 pm
Location: Upper Left Corner, United States
Thanked: 3 times in 3 posts

Postby 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
nartreb

 
Posts: 1889
Joined: Sat Apr 03, 2004 10:45 pm
Location: online or in boston, Massachusetts, United States
Thanked: 77 times in 63 posts

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

:D

Cool, thanks! I missed that one.
User Avatar
Brian Jenkins

 
Posts: 1376
Joined: Tue Jul 17, 2001 1:31 pm
Location: Upper Left Corner, United States
Thanked: 3 times in 3 posts


Return to Page Help

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

© 2006-2013 SummitPost.org. All Rights Reserved.