Re: [ADDON][WIP] In Line Attachments
Reply #51 –
I don't know if it's a good solution but I solved the problem with responsive images inserted with [ attachimg=x ] by changing the line 531 in ILA.subs.php from
$inlinedtext = '<img src="' . $this->_attachment['href'] . ';image" alt="" title="' . $ila_title . '" id="thumb_' . $uniqueID . '" style="width:' . $this->_curr_tag['width'] . 'px;" />';
to
$inlinedtext = '<img src="' . $this->_attachment['href'] . ';image" alt="" title="' . $ila_title . '" id="thumb_' . $uniqueID . '" style="max-width: 100%;" />';