I started Googling picture functions and all I could read about is the GD library. Problem is that I don't think I have the kind of access required to install the GD library. Therefore, I don't think it would do me a lot of good.
I'm only looking for the ability to detect the size of an dimensions and size of an images, manipulation would be nice if the image falls out of these parameters, but rejection can do for now.
So, can I do these things without the GD library?
Dealing with Pictures
Moderator: General Moderators
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
No. Sorry.
What version of PHP do you have?
You can get the GD Library at: http://www.boutell.com/gd/
What version of PHP do you have?
You can get the GD Library at: http://www.boutell.com/gd/
Ok, it seems I can get the picture attributes just by using the getImageSize, and it doesn't seem to use the GD library.
My next question is this:
Is there a way I can prevent users from uploading anything but pictures, or would I have to use some PHP code to detect that it is an image, and reject it if it isn't?
My next question is this:
Is there a way I can prevent users from uploading anything but pictures, or would I have to use some PHP code to detect that it is an image, and reject it if it isn't?