Hey Pliggers,
I'm looking for some help here. Here's my deal:
I'm starting a wallpaper site based on pligg (WallVote.com). I don't want the thumbnails displayed to be screenshots of the website, i want them to be thumbnails of the actual wallpapers. I tried the image upload module and I couldn't get that to work. Since I am the only one who will be adding the wallpapers, I have decided that I will upload the images manually via FTP.
This is the original code in link_summary.tpl
I want to modify this so that it directs to the thumbnails in my images folder so I tried this:{/if}
<img src="http://open.thumbshots.org/image.pxf?url={$url_short}" style="float:left; margin-left:65px;margin-right:15px;padding-top:0px;border:1px solid black;" alt="{$url_short}" height="80" width="110" />
But then i realized this wouldn't work, because gif filenames can't include "/", "\", or ":".{/if}
<img src="images/{$url_short}.gif" style="float:left; margin-left:65px;margin-right:15px;padding-top:0px;border:1px solid black;" alt="{$url_short}" height="80" width="110" />
Now I'm stuck. I'm not sure where I can edit {$url_short} and if I change it to not include the "http://" will that screw up other things on my website? By the way, I am using pligg version 9.8.0
I will pay $5 via paypal to the person who figures this out for me. Thanks!



Reply With Quote





