Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to fix the image width in the carousel component

Avatar

Level 4

Hi Team,

I am using the custom carousel component provided in the libs/foundation in AEM. I wanted to fix the width property of the html for image in my carousel component.

please let me know how to do?

Attached the screen shot for your reference.

 

Regards

Pr@veen

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Praveen,

It looks like the aspect ratio of the image you have shown in the screenshot is not correct. If you upload the right image with the correct aspect ratio, it would work.

View solution in original post

3 Replies

Avatar

Level 9

Hi Praveen,

I am not quite sure what kind of a fix in width property you are looking for?. 

---Jitendra

Avatar

Correct answer by
Level 10

Hi Praveen,

It looks like the aspect ratio of the image you have shown in the screenshot is not correct. If you upload the right image with the correct aspect ratio, it would work.