Jump to content

Album Art - Manipulating Images


garry

Recommended Posts

Okay, so I'm making a music review site and want to sort out the way images for albums are stored. So firstly, I'm guessing I will have a field in the "album" table called "imgpath" and that will contain something like "images/32/dsfx.jpg". But what I want to know is how I would go about having a form where the user chooses an image from their computer, the script will then take this image, resize it to 300x300 and put it inside a folder and then will create a "thumbnail" version of the image at 60x60 and put it in a different folder. I've got no idea where to start with this, a google search didn't provide much help and I want to know I'm doing it the right way so any help would be greatly appreciated!

Link to comment
https://forums.phpfreaks.com/topic/106921-album-art-manipulating-images/
Share on other sites

first, you'll want to check to make sure gd, jpeg, etc. are not already installed by checking phpinfo()

 

if GD, etc. is not installed, then it depends on what version of PHP you're using... do you have a control panel like WHM/CPanel that allows you to re-compile PHP/Apache, etc?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.