When using Webyep image action, how is it possible to always have the image centered?
I want to set a space for the client to upload a photo, but the photo may vary from landscape to portrait. I need the image always to be centered, even when it is portrait.
HI Zac
This is the instructions on how to centre vertically and horizontally.
To get the image to be in the center of your work:
Draw an webyep image the size you need, then adjust the width and height to fixed inside the image action palette, then placed this item as an inline in the middle of a 1 row 1 column table then create a style with these attributes:
(the first is an added via the extended button)
vertical-align: middle
and a pargraph attribut of:
align: center
and then apply it to the table
Now regardless of size or proportion the image sits in the middle of its block of colour