![]() |
|
image dimensions - 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: image dimensions (/thread-178.html) |
image dimensions - bartekk - 2005-12-22 It is possible to get the image dimensions especially if the current image is vertical or horizontal. image dimensions - bartekk - 2005-12-23 nobody any idea or suggestion? image dimensions - trisweb - 2005-12-24 I'm planning on adding this to the next version -- the ability to get the original dimensions, the resized dimensions, or whether it's landsape or portrait. Currently it's quite difficult, but you could use PHP image functions to (inefficiently) get the sizes. image dimensions - Melissa - 2006-04-22 I just wondering what is the options available when it come to display the picture either landscape or portrait automatically? What I do at the moment is just save the picture to whatever way that I need them to be seen via "Window Picture n Fax Viewer" before upload. image dimensions - trisweb - 2006-04-22 It might be in the EXIF data for the image, but we haven't really considered this yet. There are a couple options, including letting you rotate within ZP. We'll see. image dimensions - DarrellD - 2006-06-02 Is there any way to do this yet? Get the size of the [b]original[/b] image? I've been looking through the code, but haven't found any yet. I'm also thinking of writing my own function for it, but not sure where the best place to implement it would be. image dimensions - DarrellD - 2006-06-02 Nevermind. I found the answer. I was looking at code from 1.0.2. FYI for anyone reading this. [b]Getting the dimensions of the original image is now supported as of 1.0.3[/b]. image dimensions - trisweb - 2006-06-02 You are correct! The theme functions are not documented yet (hopefully will be soon), but look in template-functions.php for a "raw" list. For quick reference, the functions are: // Returns an array [width, height] of the original image. // The width of the default-sized image (in printDefaultSizedImage) // The height of the default-sized image (in printDefaultSizedImage) // The width of the original image // The height of the original image // Returns true if the image is landscape-oriented (width is greater than height) // Returns an array [width, height] of the image sized based on the given parameters. image dimensions - relee - 2006-06-17 HI folks-the pics I take in portrait mode are not rotated correclty. Anyone have any suggestions on how to get them to be correclty rotated? image dimensions - DarrellD - 2006-06-17 Rotate them before uploading to your gallery. You can accomplish that with these: image dimensions - trisweb - 2006-06-17 I personally like using Picasa2 (google it) to manage all my photos, then select the ones to upload to ZP and export them. They're rotated automatically. image dimensions - relee - 2006-06-18 Thanks for your replies. When i view the images in Adobe PS they are all correctly rotated. I'm gonna try picasa2. image dimensions - trisweb - 2006-06-18 Any good photo editor/viewer will correctly rotate them based on EXIF data, but Zenphoto doesn't have a good EXIF implementation yet, so we've been waiting on that. Hopefully we can get that in the next version. image dimensions - relee - 2006-06-20 hmmm, I d/l picasa2=impressive. How do you export to my zenphoto folder on my site? image dimensions - relee - 2006-06-21 http://www.re-lee.com/photos. I have rotated my portrait images to be the correct orientation in Nikon's Picture Project software or with Windows Viewer. The images are still in landscape when they should be in portrait. Any other suggestions? |