I’ve got a question that depends on imagemagick:
Is it possible to upload just one picture with a size of 1200px height for example and -depending on device or browser resolution- reduce the imageheight AND size of the image?
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use conditions depending on devices or browser versions. Assuming you like to switch between the folling image heights:
(i.e. regular computers)
Then enter this section to your template constants:
Alternative solution for template setup (explained below):
reference for more ideas.
useragent, try the extension cwmobileredirect. It provides a very reliable mobile device switch.maxW) works fine, but setting the height (maxH) is buggy somehow in versions below 4.2. Use the alternative solution if problems with maxH occur.