Hello everybody,
after having a great discussion about maximum upload sizes (see here: https://wpgeodirectory.com/support/topic/supreme-directory-max-upload-size-for-directory-entries/ ) for directory entry images I have a question about the minimum upload size now.
If you do not want your visitors and customers to upload lousy looking low quality images you might want to set up a minimum image-size for uploads and give the users an error message, if they upload images that are too small.
Since we could not find a setting possibility for this function our programmer worked on modding the following files: geodirectory-plupload.js & geodirectory-plupload.min.js
which can be found in the following folder: /plugins/geodirectory/geodirectory-assets/js/
Now that we changed those 2 files with the custom-code people get a message if they upload images, where the width is lower then 1200 or / and the height is lower then 720 pixels. The upload is blocked and the user is forced to find high resolution images.
It would be great if that funtion could be added to the core, so we do not have to use modified files.
Or maybe we should tell our programmer to make a third party plugin out of it?
– I added a screenshot of the error message, when you upload too small files –
Thank you in advance and kind regards,
Atilla