Quote from: jgrant at Nov 28, 2013, 05:34 AMQuote from: lithiumlab at Nov 27, 2013, 06:12 PMDoes anyone knows if pThumb works ok cropping from top? (Zoom Crop property = `T`) ?
Yes, it'll do that, with one caveat. If it's using phpThumb to do the resizing—the default—then you need to have ImageMagick installed and available to phpThumb in order for zc options other than C to work. Not all servers have ImageMagick installed though, and sometimes phpThumb can't find it even when it's there. Likely this is why phpThumbOf isn't working properly for you.
However if you use Resizer it should work in any case, even if you only have GD (which most all servers have). You can change which class pThumb uses either globally in system settings or for a particular snippet call with the &useResizer=`1` property.
Thanks a lot for the details about it.
It worked beautifully. I used Resizer as you suggested.
By fortune, all requirements were installed.
Also liked better the naming convention of files in pThumb.
Caching system also a nice addition.
Regarding Gallery i just surrounded the issue not using gallery generated thumbs.
Generated thumbs with pThumb using the original file as the source.
About other extras:
Similar named Extras does generate some confusion.
I didn't realized the existence of pThumb because of this. (phpThumbOf, phpThumbsUp, pThumb, phpThumbsOn, etc)
[ed. note: lithiumlab last edited this post 10 years, 4 months ago.]