![]() |
|
Help me out with this "do not scale" crop mystery! - 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: Help me out with this "do not scale" crop mystery! (/thread-4914.html) |
Help me out with this "do not scale" crop mystery! - Joen - 2009-03-27 Hello gents, I'm trying desperately to find out how to use Zenphotos crop features rather manually. The reason is, I've built a Wordpress plugin (http://noscope.com/journal/2009/01/zenphoto-shorttags-wordpress-plugin) which allows easy embed in any size of images in your gallery. The syntax is this: [zenphoto src="image.jpg" album="album/subalbum" width="500"] This all works fine and dandy, and it's really just a wrapper for
These parameters are documented in i.php as:
That brings me to my problem. I can't for the life of me figure out which parameters to fill out, and which parameters not to fill out, to get the crop I want. The situation is: I have a 625x124px image. That's the full size. My blog has a maximum width of 600px in the width. So I want my image to fit. But I want it cropped, not scaled. So, I want to fill in parameters so that I get a 600x124px image, with the 25 extra pixels chopped off the right side of the image. I do not want the image scaled either down or up. So far I have:
but this seemingly creates a very much zoomed, upscaled crop. Very odd. Any help is very much appreciated. Help me out with this "do not scale" crop mystery! - Joen - 2009-03-27 I think I may have solved it. http://noscope.com/photostream/zp-core/i.php?&a=various&i=Gengo.jpg&w=600&cw=600&ch=100&cx=1&cy=1 The above works. |