View Full Version : Thumbshots issue
Lionel
06-02-2008, 02:16 AM
There is something going on with displaying thumbshots.
It's enabled, I tried removing the if condition in the linkbit template to bypass it, no matter what it will not display. I put the code simplified
<img src="http://open.thumbshots.org/image.aspx?url=$link[linkurl]">
then it displays
Lionel
06-02-2008, 02:21 AM
hummmmm I removed
width="120" height="90" from template and it displays.... weird
Lionel
06-02-2008, 02:44 AM
Definitely does not like both parameters. Removing height="90" will display it. This is happening in both FF and IE. I just took a look at their site and the code is
<img src="http://open.thumbshots.org/image.aspx?url=[LINK]" border="1" />I think the 120x90 should be defined in the class <td class="$show[class_thumbshot]"> in case it tries to display the 1px image for those with no DMOZ listing. (where to define that class by the way?)
If the thumbshot for the particular URL does not exist or is empty (file not found, connection timeout, invalid request error, etc.) then the thumbshot returned will be a 1 x 1 transparent pixel. If you need to force every thumbshot to fill the 120 x 90 pixel space, you can simply wrap each thumbshot with a borderless table cell of that size.They are also mentioning a Symantec issue blocking thumbshots, which is not my case (I had that issue on my own site, where everybody but me could see the banners and that had made had made me disabled ad blocking already), so I thought I'd mention it because some people will experience it.
Brian
06-02-2008, 01:49 PM
Weird... I've seen a number of links with no thumbshot, but didn't have any problems like that...
(where to define that class by the way?)
It's defined in the files and is just a variable, not a class. It switches between the alt1/2 classes depending on what other options are enabled that would add <td> tags in the linkbits template.
Lionel
06-02-2008, 05:09 PM
I see according to your footer that this option is enabled in your demo.
Here is a screenshot of what I see with an empty slot for the thumbs.
Mine was like that until I remove the dimensions tags
http://www.vbcover.com/links/
Brian
06-04-2008, 02:33 PM
Weird, they show up fine for me in IE and FF... What browser/OS are you using? Guess the height tag will need to go in the next version.
Lionel
06-04-2008, 02:36 PM
I have that problem with both IE 7.0 and FF
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.