Timthumb hack – control over cropping position [timthumb]
-
How to crop with timthumb – small modification done by Studio-XL for more control over cropping “position”. Added “cropfrom” filter, accepted are values:
1. middle, 2. middle left, 3. middle right, 4. topleft, 5. topright, 6. topcenter, 7. bottomleft, 8. bottomright, 9. bottomcenter,
simple modification done in 1 place on timthumb.php – easy for all.
more info and examples:
https://blog.studio-xl.com/work/timthumb-cropping-mod
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Timthumb hack – control over cropping position [timthumb]’ is closed to new replies.