Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Level 9

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.