Welcome Guest, Not a member yet? Register   Sign In
Problem with image manipulation class
#1

[eluser]Unknown[/eluser]
hello,
I have a problem i want to use the image manipulation class
for Creating a Thumbnail nd cropping an image but can't do
the two thngs at a time either the thumnail is made or the
image is cropped.
Is this possible?
can anyone help...
regards
#2

[eluser]dmorin[/eluser]
When using the image class, specify a new image when you do each action. That way, you won't be modifying the original image and can use it as the source for each operation.
#3

[eluser]Colin Williams[/eluser]
Resize. Crop. Those are two operations. So, first, resize $src_image and write it to $new_image. Then crop $new_image and overwrite $new_image. And so on, and so on for additional operations. Simple logic.
#4

[eluser]Unknown[/eluser]
Thanks alot for your help
My problem has been solved
I am making just a silly mistake
regards




Theme © iAndrew 2016 - Forum software by © MyBB