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

[ UPDATE ] Thumb_Images v1.5

(Page 2 of 2)
> >
Quote Reply
Re: [Andy] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

I've just uploaded version 4.1 into the Members Area.

This includes a fix, to stop you getting errors like:

Quote:
ImageMagick: no image defined

This error is caused when a link has a value in the "field" held in the glinks_Links table, but nothing exists in the glinks_Links_Files table.

Instead of it giving you a fatal error - it gives you a nice message 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] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

I've now released version 5.0.

This includes the following updates:

1) You can now just use basic regex, to make sure that the filename ends in a valid syntax - for example:

\.(?:jpe?g|JPE?G|gif|GIF|png|PNG)|)$

2) If someone enters weird charachters as the filename, such as â ä Ç ç é ê and spaces - it will then replace them with a normal a-z, or an _ in some cases.

3) I've remove the thumb_images.cgi script, as you can simply run it like this:

Quote:
perl /path/to/admin/admin.cgi '?do=plugin&plugin=Thumb_Images&func=Cleanup_Do'

I'm now working on some more features, but its turning out to be a little harder than I was expecting. Basically, it will let you have more than just one size for thumbnailing. For example:

small- 100x100
medium- 250x250
large- 500x500

The problem I'm having, is how to work out the settings. Currently, it works like:

Field:100x100,AnotherField:150x150

What I'm thinking of doing is having an textarea field in the plugin settings, with optional paramaters - for example:

Quote:
Field:medium:250x250
Field:large:500x500
AnotherField:medium:250x250
AnotherField:large:500x500

I'd like some feedback on what people think of that =)

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Ok, the newest version is now ready (with the option to generate more than just small-* images).

For anyone who owns this plugin, and would like to beta test it for me, please PM or email me. I'm happy it works ok - but would just feel better if someone tried it with a fresh set of eyes and opinions =)

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Ok, after testing this on a few sites - I've come across some problems. I think what I'm gonna do, is actually make it so the images are renamed ID.ext, instead of their "decoded" (alpha) values - as this seems to be the only way it works. Will announce once I've had time to do this.

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi Andy,

You also made the update of the version GD ?

Thank, Mick

Quote Reply
Re: [MJ_] [ UPDATE ] Thumb_Images v4.0 In reply to
Ya, once I get the Image:::Magick version all working right :)

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi Andy,

Quote:
Ok, after testing this on a few sites - I've come across some problems. I think what I'm gonna do, is actually make it so the images are renamed ID.ext, instead of their "decoded" (alpha) values - as this seems to be the only way it works. Will announce once I've had time to do this.

You found a solution ?

Thanks, Mick
Quote Reply
Re: [MJ_] [ UPDATE ] Thumb_Images v4.0 In reply to
Ya, just not had time to impliment it yet :(

Basically, what it needs to do, is convert all uploaded files with non-english characters, into the Link ID number, instead of the filename.

I've tested this on another site, and it works ok - just gotta get it done in my code now, and test it before releasing :)

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Thanks ! Smile

The version GD be also updated ?

Mick

Last edited by:

MJ_: Aug 19, 2009, 5:20 AM
Quote Reply
Re: [MJ_] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

Ya, both versions will be updated :) Just gotta find the time to do it LOL

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] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

Ok, Thumb_Images 5.6 is now out. This lets you use foreign charachters in the file names.

Basically, the filenames are "renamed" to a random string like df_2345rdwqe.ext. This avoids the problems that came before with the foreign charachters.

I'll be updating the Thumb_Images_GD plugin too in a little bit.

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: [MJ_] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

Version 1.2 is now out for Thumb_Images_GD.

This lets your users have foreign charachters in their files (i.e accented charachters, etc) .. and it'll convert them to a random string.

It can be downloaded from our Members Area now.

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!
Post deleted by Eraser In reply to

Last edited by:

Eraser: Jan 24, 2010, 3:19 AM
Quote Reply
Re: [Andy] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi andy,


Im not seeing your latest version of this plugin.

Install.pm: 4.1
Thumb_Images.pm: 4.1

and thumb_images.cgi is still in the package.

Did you update the imageMagic version?

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: May 14, 2010, 9:02 AM
Quote Reply
Re: [Eraser] [ UPDATE ] Thumb_Images v4.0 In reply to
Hi,

Yeah - but I didn't change the version number :) It should be there

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] [ UPDATE ] Thumb_Images v4.0 In reply to
many thanks.

~ ERASER


Free JavaScripts @ Insight Eye
> >