Forums / Setup & design / Changing default image size in online editor

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

Changing default image size in online editor

Author Message

John Champaign

Tuesday 12 September 2006 8:49:45 am

How do you change the default size for images for "insert object" in the on-line editor? The default seems to be "medium" for me (I'd like it to be "original").

Jacobo Quiles

Tuesday 07 November 2006 12:14:11 am

I think you must override the embed template (design/base/override/templates/embed/image.tpl).

Try changing the image_class param to the one you need:

{section show=is_set($link_parameters.href)}
{attribute_view_gui attribute=$object.data_map.image image_class=$object_parameters.size href=$link_parameters.href|ezurl target=$link_parameters.target link_class=$link_parameters.classification link_id=$link_parameters.id}
{section-else}
{attribute_view_gui attribute=$object.data_map.image image_class=$object_parameters.size}
{/section}

Microblau SL
http://www.microblau.net