Forums / General / Prevent image resize when uploading

"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".

Prevent image resize when uploading

Author Message

Edward Eliot

Tuesday 28 September 2004 3:15:08 am

How do I prevent Exponential from resizing an image I upload through the image attribute in my "page" class?

Mark Marsiglio

Tuesday 28 September 2004 6:43:09 am

It should not resize it by default, the resizing only occurs when the image is used in a template. By default the image is resized to the size specified as "medium" in the image.ini and image.ini.append files. You can make it appear as you uploaded by specifying the template use the "original" size.

I think this is the right syntax, but I am not sure.


{attribute_view_gui attribute=$:item.object.data_map.image image_class=original}

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Edward Eliot

Tuesday 28 September 2004 7:07:58 am

Works fine, thanks.