Closed HeadStudios closed 1 year ago
Any way to set the maximum width of any images passed? I'm outputting to PDF and it gets messy when large images are linked to. Thnks!
Use my plugin then set imageAttributes property:
imageAttributes
$Parsedown->imageAttributes = [ 'style' => 'height: auto; max-width: 100%;' ];
Thank you so much! That was super quick too - much appreciated.
Any way to set the maximum width of any images passed? I'm outputting to PDF and it gets messy when large images are linked to. Thnks!