Anyone know how to set the max width of an image i...
# advancedpdf
c
Anyone know how to set the max width of an image in advanced PDF? It seems the CSS max-width property is not being respected
c
adding a style="width: 50; height: 50;" works for me.
d
also want to know this one, hunted for an answer for ages Setting width inline with the
style
attr will stretch the image width, rather than cap it like max-width does
p
Never gotten anything but style inline to work - it only stretches if dimensions do not match so its not hard to get a decent result
☝️ 1