Gossamer Forum
Home : General : Perl Programming :

image processor in dbman

Quote Reply
image processor in dbman
I found an excellent image processor script (can't remember where I found it) and I would like to incorporate the resize part of it into the upload mod that jpdeni made for dbman. Basically, what I'd like to do with it is when a member browses for their picture and click on the submit button, it would automatically resize the picture to a default size if it's over the default size (the imagemagick script seems to do that already) and then save to their record.

I don't know enough about php yet to be able to figure that one out, but I have included the files below so someone can hopefully come up with a suggestion. I've also uploaded the full zip file for this script if anyone would like to use it. I take no credit for it and the script is GNU Lesser General Public Licensed.

I have a full working copy of this at: http://www.rainbowroomies.com/...e/advanced/index.php so you can see it work.

Thanks in advance for any help with this. Sly

Shannon


DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)
Quote Reply
Re: [shann123] image processor in dbman In reply to
Slight problem... DBMan is in Perl, and these examples are in PHP Wink

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] image processor in dbman In reply to
Well shoot... didn't even notice that... lol. I guess that could be a problem then. Would there be any way to do the same thing with perl? As it stands now, as long as members use the resizer, it's not a really big deal, but just seems like it'd be easier for them it the script did it on it's own.

Thanks


DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)
Quote Reply
Re: [shann123] image processor in dbman In reply to
You could probably hack DBMan's scripts to do that, but you would need to write your own library, as I don't think there are any existing class modules out the (or .pm's) that would do what you want.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates