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
maximum 1920 pixels
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: maximum 1920 pixels
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 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 26
- Joined: 05 Aug 2014, 13:44
Re: maximum 1920 pixels
Yes, but not being rather strong, I would not know how to make this code...thanks