Forums / Setup & design / Image datatype and image aliases

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

Image datatype and image aliases

Author Message

Pascal France

Monday 06 October 2008 8:11:28 am

Hi,

I use Exponential 3.9.3

When I use the default image class to import some images, I get 2 aliases of it: large and reference.
1°/ Why do I get only these 2 alias while I don't use any override of image.ini and while the size of the original image is 3885x2565 ? I should also get small, medium and rss aliases.

2°/ Why don't I get alias if I create my own image class ? I haven't found any place in image.ini where to specify the name of a class which should be affected by the creation of aliases.Is it hard-coded somewhere ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Gaetano Giunta

Monday 06 October 2008 11:18:31 am

1 - Maybe because images variations are created on-the-fly when you use them in a given template and the template is displayed?
It sure would save a lot of space and processing time compared to "create all variations immediately for all images"...

2 - usage of image aliases is not tied to classes, but rather to templates

Principal Consultant International Business
Member of the Community Project Board

Pascal France

Monday 06 October 2008 1:02:29 pm

Hi Gaetano,

Thank you for your reply.

As all aliases are created at the time we upload an image with the online editor, I was amazed not seeing all aliases in the storage directory after uploading an image from an image dataype.

I just tested the on-the-fly image creation and, of course, it works perfectly.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish