wrong image size

Author Message

Marko Žmak

Saturday 26 March 2005 5:52:01 pm

I have created an object of class image, and uploaded the image. When I display the image in my user site, the image is smaller than it should be. I've checked, and the dimensions of the displayed image doesn't corespond to the dimensions od the image I uploaded. I use this code to display the image:

{attribute_view_gui attribute=$main_banner_nodes[0].object.data_map.image}

Why does this happen, and how can I resolve it?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Saturday 26 March 2005 5:57:52 pm

I solved this. It was necessary to add image_class=original to the code.

But wouldn't be more natural to use the original size as default instead of large?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.