Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Install Thumb_Images

Quote Reply
Re: [Andy] Install Thumb_Images In reply to
Image::Size has been installed on my server and now the Perl check and install works and I can read the help file but I'm still having problems. I can't get the plugin to produce any thumbnail images and then display on my website.

I have added a column in my links table called 'Image' with the following fields edited.

Column name - Image
Column type - Char (255)
Not null - No
Default -
Form display - Image
Form type - File
Form Regex - ^|.*\.(?i:gif|jpg|png)$
Search weight -
File Save Method - hashed
File Save Location - the path to my image files

I have installed the plugin with the following settings.

Smaller - 80x60
Imagefields - Image

Nothing else was changed from default.

My links.html was modified and the following included.

<%if Image%>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Image<br>
<a href="<%Plugins::Thumb_Images::ThumbFullURL($ID,Image)%>">
<img src="<%Plugins::Thumb_Images::ThumbURL($ID,Image)%>" border="0"><br>
View Image</a> </b></font>
<%endif%>
Subject Author Views Date
Thread Install Thumb_Images troyid 3256 Apr 6, 2004, 6:52 PM
Thread Re: [troyid] Install Thumb_Images
Andy 3160 Apr 7, 2004, 12:13 AM
Thread Re: [Andy] Install Thumb_Images
troyid 3181 Apr 7, 2004, 3:33 AM
Thread Re: [troyid] Install Thumb_Images
Andy 3162 Apr 7, 2004, 3:35 AM
Thread Re: [Andy] Install Thumb_Images
troyid 3153 Apr 7, 2004, 3:39 PM
Thread Re: [troyid] Install Thumb_Images
Andy 3129 Apr 7, 2004, 11:56 PM
Thread Re: [Andy] Install Thumb_Images
troyid 3108 Apr 11, 2004, 4:33 PM
Post Re: [troyid] Install Thumb_Images
Andy 3085 Apr 12, 2004, 1:21 AM