Component resizing not working

Hi, I have a set of Image Sizes and While it works with the Main Component/Base Component with variations. It doesn’t seems to resize with the with the assets component,(component based on main/base component).

How can i fix this?

Attaching a screen


shot.

Auto layout is a way to go

I know hug content will work but i have the placeholder have option to change icon and as the icon size is very small, the resizing will not work and hug the icon. It will work with the frames and images if it not contain smaller objects.