Home » Images » Image_Transform » Bug #7163
IM: scaling image 2 times not allowed even if intermediate save is used
Details
| Submitted | 2006-03-20 15:31 UTC |
|---|---|
| From | chabrol at vfnm dot de |
| Status | No Feedback |
| Package | Image_Transform |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-03-20 15:31 UTC] chabrol at vfnm dot de
Description:
------------
If you try for example to (pseudo-code):
scaleMaxLength()
save()
scaleMaxLength()
save()
It complains "You cannot scale or resize an image more than once without calling save() or display()" at the second scaleMaxLength(). So I added "unset($myImageTransformObject->command['resize']);" in my code as workaround.
[2006-03-20 15:33 UTC] chabrol at vfnm dot de
P.S.: This error occurs with the IM-Driver (Image/Transform/Driver/IM.php)