[GLLUG] PHP/images/MySQL

Sean picasso@madflower.com
Tue, 4 Feb 2003 20:38:15 -0500 (EST)


You also might try:
http://pear.php.net/package-info.php?pacid=76
the imagick package. This is basically a php wrapper for the image magick 
stuff.Then you can use the imagick_resize()  function.  

If you want you want compile it in. 

On Tue, 4 Feb 2003, Benjamin Minshall wrote:

> Check out imagecopyresized() documented at
> http://www.php.net/manual/en/function.imagecopyresized.php
> 
> > -----Original Message-----
> > From: linux-user-admin@egr.msu.edu
> > [mailto:linux-user-admin@egr.msu.edu]On Behalf Of Mike Szumlinski
> > Sent: Tuesday, February 04, 2003 1:21 PM
> > To: linux-user@egr.msu.edu
> > Subject: [GLLUG] PHP/images/MySQL
> >
> >
> > Okay...here is what I'm trying to do and I can't figure out a good
> > method.  Maybe someone else out there has a good idea on how to do this:
> >
> > I have a user input through a form a bunch of random info (check boxes,
> > text fields, etc), but I also need up to 4 images to correspond to the
> > ID for that row.  Its for an inventory system.
> >
> > The images also need to be thumbnailed and shrunk before they hit the
> > folder/database (haven't figured out what is better yet). So basically
> > each unique ID within the database has up to 8 images associated with
> > it (4 thumbs, 4 640x480 images).
> >
> > I can't quite think of how to pull it off.  I've done single image
> > stores by just renaming the image the ID.jpg, but that won't work here.
> >   I've thought about putting them into the table in the database, but I
> > can't figure out how to use GD to shrink them down first if I do that.
> > I'm sorta clueless on how to pull this off for now.  Any ideas?
> >
> > -Mike
> >
> >
> > _______________________________________________
> > linux-user mailing list
> > linux-user@egr.msu.edu
> > http://www.egr.msu.edu/mailman/listinfo/linux-user
> >
> 
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>