image parameters on upload

sprockt012 29 Sep, 2014
Is there a way to create image width and height requirements at the time of uploading the image via a form? I see that there is a size parameter available but am hoping for an easy way to create a max width and/or height. If that's not doable, I've seen some chatter on resizing an image on upload but it appears as though that was only available in version 4. Hoping someone can help.
Max_admin 03 Oct, 2014
Hi,

After the file is uploaded you can find the file's data under the $form->files variable, including the file's path, which you can check using PHP, and return an error if you like, using the "Event switcher".

I may also be able to add extra feature to the upload action to check this, but it may take sometime to finish, for this you can send me a message using the "contact us" page.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.