Copy link to clipboard
Copied
Can you add css to the pageitemposter ?
So rather than
<div><img src="imageurl" style="height=#; width:#;"></div>
Can it be something like scale to fit?
<div id="imgposter"></div>
<style>
#imgposter {
background-image: url("imageurl");
background-size: cover;
height: #;
}
</style>
I'm basically trying to do the whole "scale to fit" in a preview image. So that way it can generate within the full preview box regardless if the builtin height or width
Copy link to clipboard
Copied
The image poster is basically the widget container. You can reference it in CSS using #{param_itemUID} after using the <builtin name='itemUID' /> tag.
David
Creative Muse