PDA

View Full Version : WebShotsPro


hpotamus
09-05-2006, 03:40 AM
I would like to use WebShotsPro thumbnails instead of Alexa.

I will enable Alexa thumbnails and then change the code to get them from WebShotsPro with different size and URL. It should be a simple code change that I can do myself.

Where is the code that generates Alexa thumbnails located?

WTM
09-05-2006, 06:57 AM
link-display.tpl and view-link.tpl

hpotamus
09-05-2006, 07:06 AM
Thanks. It works great.

Here is the change that I made:

{if $config.alexa_thumbs}
<td valign="top" style="padding-right: 10px;"><img width="100" height="75" src="http://www.webshotspro.com/thumb.php?url={$link.url}" alt="" /></td>
<td valign="top" class="link {$link.status}"{if $link.sponsored AND $config.sponsored_highlight AND $config.sponsored_links} style="background-color: {$config.sponsored_highlight}"{/if}>
{else}

Sai_dallas
09-05-2006, 01:10 PM
http://www.webshotspro.com/

If they don't already have the image they make it then.

Even if you want to upload the images, you can use this site to generate them.


.

netjobs
09-05-2006, 03:51 PM
Thanks for the useful tip...

Vincent Wright
09-06-2006, 11:10 AM
Probably, in some of the futures versions, it would be great to have a LIST of thumbshots providers (Alexa, Girafa, WebShotsPro, etc) that admin can choose from.

gifts
11-20-2006, 09:53 PM
Hi there is it possible to integrate this code into the new 2.0 templates as they no longer have the following area to change, {if $config.alexa_thumbs}

thanks

Karl