Gossamer Forum
Quote Reply
Install Thumb_Images
How do you install Thumb_Images v1.5?

I have managed to install the plugin via the admin console but I'm not sure how to configure the options. The link to the readme file and cleanup file does not work. Where do I choose the defined output folder for the thumbnails? How do I add this to my templates?
Quote Reply
Re: [troyid] Install Thumb_Images In reply to
Hi. If the Readme doesn't work, then the chances are that your server is missing a Perl module. If you uninstall the plugin, and then click 'edit' next to the plugin name (in the plugin manager), you should see a list of the files that come in the plugin. If you could then click the 'perl check' next to Thumb_Images.pm, and see what it says?

My guess would be that Image::Size is missing.

In regards to your other questions;

Quote:
Where do I choose the defined output folder for the thumbnails?

The thumbnails are made in the same folder that you have setup for your image field (you need at least one image field setup for it to be able to thumbnail the images). If you don't already have a image field, you need to goto Database > Links > Properties > Add Field, and complete the form there.

Quote:
How do I add this to my templates?

Once the missing Perl module(s) are setup on your server (by your ISP), the Readme will give you information on how to call the images in the templates. Its quite a simple process Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Install Thumb_Images In reply to
Yes, you are right. The error I get when checking the Perl is 'Can't locate Image/Size.pm in @INC'

Is Image::Size a part of ImageMagick?. I have contacted my ISP to see if they can help. I usually like to know what I'm talking about before I contact them.
Quote Reply
Re: [troyid] Install Thumb_Images In reply to
Image::Size is an extra Perl module, which isn't installed on all servers. Its a pretty simple install process, so your ISP shouldn't have any problems getting it installed :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
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%>
Quote Reply
Re: [troyid] Install Thumb_Images In reply to
Can you please send over LinksSQL access details? (URL/username/password).

Its more than likely something simple Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Install Thumb_Images In reply to
I would rather remain anonymous. Could you please help me via the forum. Is there more info you require to help me?
Quote Reply
Re: [troyid] Install Thumb_Images In reply to
That makes it a million times harder to debug Frown

Ok, first of all, if you go into Plugins > Thumb_Images > Setup, what 'hooks' do you see installed? (checked)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!