Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
What's wrong with this image code...?
Old 05-28-2007, 04:18 PM What's wrong with this image code...?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Somebody finally talked me into giving Opera a try, and it's got a few strong points ( memory usage ) so I'm playing with it, giving the browser a chance. Anyway, one of the thumbnail links in one of my galleries is missing. It's there in FireFox, but not in Opera, or in IE.

I'm hoping someone can help me figure out why? The code is basically the same as the image before and after it, and since the image loads in FF and when I call it by URL, the jpeg itself isn't the problem.

The code that doesn't work is

<div class="galleryCell">
<div class="galleryCell810p">
<a href="/Photos/SunbeamsInBigSur.html">
<img class="thm810p" alt="Sunbeams, Big Sur" style="background-image: url(../Thumbs/SunbeamsInBigSur.jpg);" src="/GraphicElements/thm810p.png"/></a>
<a href="../Photos/SunbeamsInBigSur.html">Sunbeams, Big Sur</a>
</div>
</div>

The page is my California Central Coast gallery. There are six thumbnail images in the gallery, and the other five work in all the browsers I've tried. Clicking the link from the missing image works. And the image is below, to clear that issue up:



Any thoughts?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
 
Register now for full access!
Old 05-28-2007, 11:27 PM Re: What's wrong with this image code...?
seolman's Avatar
Super Spam Talker

Latest Blog Post:
What are Canonical Links?
Posts: 769
Name: DaveBob Roundpants III
Location: Heredia, Costa Rica
Trades: 0
Quote:
Originally Posted by ForrestCroce View Post
Somebody finally talked me into giving Opera a try, and it's got a few strong points ( memory usage ) so I'm playing with it, giving the browser a chance. Anyway, one of the thumbnail links in one of my galleries is missing. It's there in FireFox, but not in Opera, or in IE.

I'm hoping someone can help me figure out why? The code is basically the same as the image before and after it, and since the image loads in FF and when I call it by URL, the jpeg itself isn't the problem.

The code that doesn't work is

<div class="galleryCell">
<div class="galleryCell810p">
<a href="/Photos/SunbeamsInBigSur.html">
<img class="thm810p" alt="Sunbeams, Big Sur" style="background-image: url(../Thumbs/SunbeamsInBigSur.jpg);" src="/GraphicElements/thm810p.png"/></a>
<a href="../Photos/SunbeamsInBigSur.html">Sunbeams, Big Sur</a>
</div>
</div>

The page is my California Central Coast gallery. There are six thumbnail images in the gallery, and the other five work in all the browsers I've tried. Clicking the link from the missing image works. And the image is below, to clear that issue up:



Any thoughts?
Hi Forrest - not sure but it seems you are missing one piece.

<div class="galleryCell">
<div class="galleryCell810p">
<a href="../Photos/SunbeamsInBigSur.html"
<img src="/GraphicElements/thm810p.png"
style="background-image:url(../Thumbs/SunbeamsInBigSur.jpg);"
alt="Sunbeams, Big Sur" class="thm810p" /></a>
<a href="../Photos/SunbeamsInBigSur.html">Sunbeams, Big Sur </a>
</div>
</div>

<div class="galleryCell">
<div class="galleryCell810l">
<a href="../Photos/BigSurWaterfall.html">
<img src="../GraphicElements/thm810l.png"
style="background-image:url(../Thumbs/BigSurWaterfall.jpg);"
alt="Waterfall, Big Sur State Park" class="thm810l" /></a>
<a href="../Photos/BigSurWaterfall.html">Waterfall, Big Sur</a>
</div>
__________________
"So they have the Internet on computers now?"
Please login or register to view this content. Registration is FREE

seolman is offline
Reply With Quote
View Public Profile Visit seolman's homepage!
 
Old 05-29-2007, 02:49 PM Re: What's wrong with this image code...?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Thanks! I went and added the .. to the front of the a and img code, but unfortunately the image still doesn't show in Opera or IE. At least I'm assuming IE, since Opera seems to render like it and I really can't stand that browser.

At one point I went through and removed a lot of the ..s from the paths to make the files a tad smaller, since /Thumbs and /Images are top level directories, but I decided that really doesn't make sense... Even on a gallery page where I use it several times it amounts to nothing, and it lets me preview the files locally...

I'm really stumped here. There doesn't seem to be anything wrong in the code and other thumbs display fine.

Thanks for looking!!
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 05-29-2007, 03:01 PM Re: What's wrong with this image code...?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Well, my HTMLTidy picked up the problem - You're missing the closing on the <a> tag.

Quote:
<a href="../Photos/SunbeamsInBigSur.html"> <img src="../GraphicElements/thm810p.png" style="background-image:url(../Thumbs/SunbeamsInBigSur.jpg);"
alt="Sunbeams, Big Sur" class="thm810p" />
Just for the record, Opera renders pages more like FF than it ever did IE
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What's wrong with this image code...?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14346 seconds with 12 queries