Hi Experts,
Apologies, these are too basic and I already tried to search forum for it but couldn't find right recommendation for it, so thought will pull the brains of the experts on this topic.
I and my team are debating on some of the Asset best practices when it comes to responsive site and wanted to know everyones thoughts on it.
Is it good to fix the aspect ratio of images in the components?
Approach-1: Tie components and image aspect ratio
Approach-2: Use freeform any image in any component.
Approach 2 is definitely doable and provide more flexibility, but is that over-engineering needed? Is there a best practice around components and supporting different aspect ratio image in it?
One last note: We did not want to use adaptive image component, because of 2 reasons:
We are also exploring the option of dynamic media, but I am not too sure, if it is going to answer our doubts on components - aspect ratio relationship. Only place it is going to help is for different rendition support.
I would love to hear how people have figured a solve for it.
Thanks in Advance!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I would go for Approach 2.
<img src="asset.jpg/jcr:content/renditions/cq5dam.thumbnail.140.100.png">
Thanks
Arun
Views
Replies
Total Likes
Trying my luck again.
Any suggestion anyone?
I am sure this is very common problem that everyone would have come across. I would really like to hear how others solved it.
Views
Replies
Total Likes
Hi,
I would go for Approach 2.
<img src="asset.jpg/jcr:content/renditions/cq5dam.thumbnail.140.100.png">
Thanks
Arun
Views
Replies
Total Likes
Views
Likes
Replies