I'm trying to access the Associated Image for a page separate from a call to dspBody(). I see that I can get it using:
#$.content().getImageURL()#
But I need a specific defined size of the image. I have several custom sizes defined (like: medium, large, original, etc.).
I've tried passing the size in as a parameter as explained here - MURA: getImageURL small size cuts off the image
#$.content().getImageURL(size='original')#
But my HTML is coming back empty:
<img src="">
How do I go about pulling back one of my predefined sizes?
Try it without specifying the
size.This works for me using Mura version 6.2.
You can change
originalto whatever your custom image size is named.See if this way works for you.