LoveIt
LoveIt copied to clipboard
img shortcode resize doesn't work with caption
Hi,
using the img shortcode:
{{< image src="/abc.png" alt="abc" width="80%" height="80%" >}}
works fine.
But as soon as you add the caption, the resizing (width, height) doesn't work.
{{< image src="/abc.png" alt="abc" caption="xyz" width="80%" height="80%" >}}
This looks like a glitch to me.
I met the same problem
I'm facing the same problem as well. Does anyone know how to solve this problem, or is there any different method for resizing image with better caption handling?