![]() |
|
calling image code from outside of ZP - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: calling image code from outside of ZP (/thread-4386.html) Pages:
1
2
|
calling image code from outside of ZP - sbillard - 2009-01-23 You probably need to pass the cx,xy parameters as well such that the full image is used for the crop. Original Width = cx+cw, original height =cy+ch calling image code from outside of ZP - gracestanat - 2009-01-23 Well... I've tried all that, and unless I'm doing it incorrectly, it doesn't work. here's the original image, sized down: here's acrylian's suggestion. magnification increases: here's your suggestion (looks like its using the full-size image instead of scaling it down): interestingly, if i take cx and cy away, it SHOULD be the same image without shifting, but it's not: if i'm doing this incorrectly, can you simply write the correct string so i have an example? if i'm doing what you suggested, however, then i'm still at a loss as to how to size down an image and then crop it. sorry if i'm nagging you guys; it just seems like this should be relatively easy to do, but maybe it's not. |