Maximum image size?
HeadStudios opened this issue · 2 comments
HeadStudios commented
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!
taufik-nurrohman commented
Use my plugin then set imageAttributes
property:
$Parsedown->imageAttributes = [
'style' => 'height: auto; max-width: 100%;'
];
HeadStudios commented
Thank you so much! That was super quick too - much appreciated.