Quote:
|
Originally Posted by ronanmagee
Hey guys,
Just wondering if ya could tell me ...
1.) If I want to resize an image using GDLib this is not a bother ... I can view examples of the code to do this in most places. What I want to know is resizing this ... will it reduce the 'file' size as well?
If not is there any way to go about this.
I want to be able to choose an image and resize it before adding it to my data base.
2.) Is it possbile to resize an image before adding to the DB or should I resize the image when I select from the DB?
Following on from storing the image in a DB ...
3.) When working with GDLib is it better to store the image as a binary in the DB directly or store a path to the images directory with the file name of the image that the data relates too?
Which allows for easier use of the GDlib?
Regards,
Ronan
|
1) Sure!
2) It is possible
3) As you want, I usually store just the file name.