Forums / Setup & design / Changing default image size in online editor
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