Gossamer Forum
Quote Reply
[UPDATE] Thumb_Images v7
Hi,

I finished this off quite a while ago, but just havn't had time to put it live yet Whistle

Version 7 boasts the following features:

http://www.ultranerds.co.uk/...ns/Thumb_Images_L21/

1) Renames the images to a valid format, if they include non-standard characters in the file names
2) Support Links / Categories / Review images (as many fields as you want)
3) Easier way of setting up the image sizes. You can now set whatever sizes you want for ANY of the fields. For example, you could do:

Quote:
Image1::200x200::small
Image1::300x300::medium
Image1::400x400::large
Image2::400x400::medium

This would make the small/medium/large versions for "Image1".. but *only* the "medium" versions of Image2. This is helpful for those who have no use for some versions of other image fields (and it also helps save disk space)

4) Much better error checking * reporting
5) Nicer and more efficient code (totally rewritten, from the ground up)
6) Removed a few features such as "border" / "rotation" for thumbnailed images, as these are pointless in this day and age (you can do it via CSS styles much more efficiently now)
7) If "validation" is enabled for reviews/links, the images are now only ever thumbnailed after a successful validation (not when they got uploaded, which ended up causing lots of "dead" and un-used images)
8) Easy "Cleanup" tool to help resize images if you ever decide to change the dimensions

There are now only 3 setup fields you have to configure, which should help make things easier to under understand =)

For existing users: The method for getting the URLs for images has now changed to just one format:

Code:
<%Plugins::Thumb_Images::get_path($ID,"field_name","small","Table","url")%>

This is explained in quite a bit of detail in the Readme. This new format also enables you to grab the paths as well (in case you want to re-use the functions in your own code). Its advised to:

a) Backup your database and images (the physical files)
b) Run a "Cleanup"

This will then bring all your images into line with the new setup (it may rename some "problematic" images, which will save headaches further down the line)

I will also be doing an update to Thumb_Images_GD as soon as as time permits (the code is almost the same, apart from the re-sizing functions.. so I may even try and merge them into this plugin,... although I know there are sometimes issues if people don't have one of the modules)

If you have any questions, please don't hesitate to ask.

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!
Subject Author Views Date
Thread [UPDATE] Thumb_Images v7 Andy 6670 Apr 11, 2013, 10:58 AM
Thread Re: [Andy] [UPDATE] Thumb_Images v7
Matthias70 6412 Apr 11, 2013, 12:07 PM
Thread Re: [Matthias70] [UPDATE] Thumb_Images v7
Andy 6403 Apr 11, 2013, 11:37 PM
Thread Re: [Andy] [UPDATE] Thumb_Images v7
Matthias70 6372 Apr 12, 2013, 7:14 AM
Thread Re: [Matthias70] [UPDATE] Thumb_Images v7
Andy 6350 Apr 12, 2013, 7:24 AM
Post Re: [Andy] [UPDATE] Thumb_Images v7
Andy 6240 May 6, 2013, 8:48 AM