Hello! We are trying to replicate mylisting theme preview card and put the author image as a small circle photo. I was able to create an image and change radius to look like a circle, but I am unable to retain the custom formatting when I input the dynamic image=Author Profile Picture.
Here are my steps:
We want to create a circle photo and use dynamic images.
– We’ve create a new preview card template
– We’ve added an image widget
– We’ve set the image widget to be 25×25
– We’ve set the image to be dynamic and selected “Author Profile Picture”
– Actual: The image will not show or scale down
– Expected: The image should scale down
– Note: The dyanmic image works if we set image size to thumbnail 150×150, but it does not work with a custom size.
– Imgur: https://imgur.com/a/7sT9cUH
We did some research and found this info: https://github.com/elementor/elementor/issues/7203
It says to set the return value to ‘image_array’ or ‘image_id’, but we don’t know how to do this in the elementor gui.
How can we get dynamic image to use a custom size?
Thanks!
Chris
Hi,
Few suggestions:
- Make sure to set the Height and object fit. Like this: https://imgur.com/a/iM0bLkk
- Also set the border radius to 100%