Missing aspect ration 3:2 for preview pictures

1 week 6 hours ago #2540
Topic Author
Horst Ranftl's Avatar
Posts: 2
Missing aspect ration 3:2 for preview pictures

Hello!

We use NorrCompetition in our photo club page for our "Picture of the Month" contest. Our members ask if it is possible to change the aspect ratio for the preview picture to 3:2. This is the default aspect ratio for most of our pictures and provides a better result for the preview.

Would be nice if you can provide this feature in future.
Horst

1 week 5 hours ago #2541
Dmitry's Avatar
Posts: 716
Missing aspect ration 3:2 for preview pictures

Hi Horst.

Sure, because it is easy :)

I can advice you how to do it by yourself until we add it in the next version.

Open administrator/components/com_competition/config.xml and search for "crop_image_ratio" field. Add these line to options:

<option value="1.5">3:2</option>
Open administrator/components/com_competition/models/forms/competition.xml search for "crop_image_ratio" and add the same line.

That's it. You will have 3:2 ratio for selection

Best regards,
Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 5-score review: bit.ly/2ciJBqC
Thanks!

1 week 3 hours ago #2543
Topic Author
Horst Ranftl's Avatar
Posts: 2
Missing aspect ration 3:2 for preview pictures

Thanks for the quick answer.

Changes are done. Contest looks better :-) Members will be happy!

4 days 12 hours ago #2547
Dmitry's Avatar
Posts: 716
Missing aspect ration 3:2 for preview pictures

If you're happy with our product, would you be willing to rate it on the JED, please?

Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 5-score review: bit.ly/2ciJBqC
Thanks!

You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.

Product Latest Update

Follow us in social media