Forums / Setup & design / Size image in Ko with Image datatype

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

Size image in Ko with Image datatype

Author Message

Pascal France

Thursday 18 October 2007 1:32:05 am

Hi,

I would like the size images that are uploaded don't exceed 30ko
So, in the class attribute I set the size to 0.03MB
But this doesn't work and I can upload an image which doesn't exceed the upload_max_filesize php.ini parameter

Is there a way to do such a thing ?

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