Forums / Setup & design / wrong image size

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