I’ve read some time ago about the idea of generating a thumbnail image from a bigger image not starting from the top left corner but from the center of the bigger image.
Can anybody tell how to do that with php?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For resizing of any kind, you usually use one of the
imagecopymethods:The
src_parameters specify what part of the source image to copy. Just make that anything other than 0, 0.