Display a picture saved in a dataset properly

Hello All,

I know this has been covered a couple of times now, but has anyone out there found some way to display an image saved to a dataset in an element when:

  • The element is a fixed size and width
  • The picture is always displayed in its entirety i.e. the tops and sides are not cropped out

There is a bit of workaround where you can at least fix the width of the element that you assign a picture to by using a gallery item, however the height still expands and contracts based on dimensions of the saved image file.

Many thanks.

Chris