Forums / Setup & design / How to display an image without class size?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to display an image without class size?

Author Message

christian bencivenni

Monday 24 December 2007 4:17:16 am

Hi to you all.
I know that to charge an image attribute and display it into a template I must use the ATTRIBUTE_VIEW_GUI template function and set the image dimension through the CLASS string attribute (loaded by the image.ini file).
What I need to know is if i have the possibility to display the image without the CLASS value using the original size of the image.

My scope is to have an header with up to 4 images and display a number of images with a total width of x where x is fixed. So if the first image have a width of x only one image is diplayed, if the first two images have a sum size of x then two images are displayed and so on.

Thank you in advance and merry Christmas.

christian bencivenni

Friday 28 December 2007 12:40:59 am

No one can help me?
i read in this thread:

http://ez.no/developer/forum/setup_design/different_images_size_on_a_single_page

about a image_class=oryginal but i cannot find it in te documentation.
Is it correct?