purg
02-01-2007, 03:39 PM
Just added a very quick and simple mod to display images of any link location
demo (hover over any link)
http://www.forumlinkexchange.com/computers/internet/
3 step required changes.
This will be for 1.5 but should be the same for all versions
1.
First get yourself the free snap anywhere preview code
http://www.snap.com/about/spa1B.php
2.
(default template location)
/...../templates/SunnyDay/header.tpl
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
</head>
Add the script from step 1
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
<script defer="defer" id="snap_preview_anywhere" type="text/javascript" src="http://spa.snap.com/snap_preview_anywhere.js?ap=1&key=37632ce970dcb5b1 a3df18e4d87eed4d&sb=0&domain=www.forumlinkexchange .com"></script>
</head>
3.
/...../templates/SunnyDay/link-display.tpl
<!-- END ALEXA THUMBNAILS DISPLAY -->
<td {if not $config.alexa_thumbs}colspan="2"{else}style="padding-left: 10px;"{/if} class="link">
<div class="title"><a href="{$link.url}" class="title snap_preview" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a> {section name=star loop=$link.rank}<img src="{$img}star.png" alt="" />{/section} </div>
<div class="description">{text_to_html aText=$link.description aParagraph=true}</div>
<div class="url">{$link.url}</div>
This has one change, which changes the class
<!-- END ALEXA THUMBNAILS DISPLAY -->
<td {if not $config.alexa_thumbs}colspan="2"{else}style="padding-left: 10px;"{/if} class="link">
<div class="title"><a href="{$link.url}" class="title snap_preview" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a> {section name=star loop=$link.rank}<img src="{$img}star.png" alt="" />{/section} </div>
<div class="description">{text_to_html aText=$link.description aParagraph=true}</div>
<div class="url">{$link.url}</div>
from the above example your able to have the images displayed on the clickable address ot the URL diplsyaed at the bottom. Just move the class snap_preview to the class="url" line.
Hope this is helpful
(could this be moved to template mod's.... opps)
demo (hover over any link)
http://www.forumlinkexchange.com/computers/internet/
3 step required changes.
This will be for 1.5 but should be the same for all versions
1.
First get yourself the free snap anywhere preview code
http://www.snap.com/about/spa1B.php
2.
(default template location)
/...../templates/SunnyDay/header.tpl
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
</head>
Add the script from step 1
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
<script defer="defer" id="snap_preview_anywhere" type="text/javascript" src="http://spa.snap.com/snap_preview_anywhere.js?ap=1&key=37632ce970dcb5b1 a3df18e4d87eed4d&sb=0&domain=www.forumlinkexchange .com"></script>
</head>
3.
/...../templates/SunnyDay/link-display.tpl
<!-- END ALEXA THUMBNAILS DISPLAY -->
<td {if not $config.alexa_thumbs}colspan="2"{else}style="padding-left: 10px;"{/if} class="link">
<div class="title"><a href="{$link.url}" class="title snap_preview" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a> {section name=star loop=$link.rank}<img src="{$img}star.png" alt="" />{/section} </div>
<div class="description">{text_to_html aText=$link.description aParagraph=true}</div>
<div class="url">{$link.url}</div>
This has one change, which changes the class
<!-- END ALEXA THUMBNAILS DISPLAY -->
<td {if not $config.alexa_thumbs}colspan="2"{else}style="padding-left: 10px;"{/if} class="link">
<div class="title"><a href="{$link.url}" class="title snap_preview" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a> {section name=star loop=$link.rank}<img src="{$img}star.png" alt="" />{/section} </div>
<div class="description">{text_to_html aText=$link.description aParagraph=true}</div>
<div class="url">{$link.url}</div>
from the above example your able to have the images displayed on the clickable address ot the URL diplsyaed at the bottom. Just move the class snap_preview to the class="url" line.
Hope this is helpful
(could this be moved to template mod's.... opps)