we have a problem with setting the height for an attached image and leaving the width = auto.
In the editor, everthing works as expected - setting the width to 800 and height = auto resizes the image according to the width...
... and setting the height to 300 and width = auto resizes...
Image Attachment Cache Control for XenForo 184.108.40.206+
This add-on allows controlling image attachments cache headers.
Image attachment cache control
Configuration to control how the image attachment caching would work...
When I add a picture inside a post, xenForo inserts it well, and it displays well in full size as expected, at least at first glance.
However when we visit the post without being logged in, all images appear as miniatures, and not full scale, rendering some of them useless/unreadable...
Just a thought: With Retina and double to triple pixel density devices becoming more and more common (not only phones and tablets but also with laptops and desktops), picture upload should automatically process the resolution ratio into the uploaded picture file attachment or otherwise end up...
Support lossless/lossy image size optimization scripts in the core.
In this way images uploaded (and "imported" from the image proxy) will be auto optimized to save disk space, bandwidth and to speedup the download from the members/visitors.
p.s. I know an addons already exists... but this is...
Dinh Thanh submitted a new resource:
[Tinhte] Image Attachment Optimization (version 1.0) - Adding caching feature, saving queries & faster loading for Image Attachments
Read more about this resource...