Page 1 of 1

maximum 1920 pixels

Posted: 05 Aug 2014, 13:48
by mlamer
Hello, I know that we can block(surround) a downloading if the file is too big, but with a photo, how to block(surround) if the width is for example, superior to 1920 pixels?
To add a script?
Thank you

Re: maximum 1920 pixels

Posted: 05 Aug 2014, 23:00
by Jan
Hi, there is no such option, so this needs to be customized - the php code should recognize the resolution of the image and then it should decide if it will allow the file to download :idea:

Jan

Re: maximum 1920 pixels

Posted: 06 Aug 2014, 00:50
by mlamer
Yes, but not being rather strong, I would not know how to make this code...thanks