Chromaniac
Well-known member
- Affected version
- 2.3 Beta 4
So, this has been tested on a brand new Xenforo 2.3 Beta 4 install.
Image proxy disabled. Images added directly with BBCODE either in visual mode or bbcode mode... Dimensions are not tracked. I even tried using preview but that did not make a difference. (Preview push unfurled URL data to database even if the post is never posted!)
Turned on proxy. Proxy did not fetch existing embedded image dimensions. Images are loaded with blank width and height attributes.
If an external image is added with the toolbar image insert button, dimensions are fetched on the spot and can also be seen in the bbcode view.
Reference post here.
Optimally speaking, external image dimensions should be recorded even if they are embedded manually using BBCODE in either of the post editor view. As stated by @Kirby here.
Images posted directly with
Expected behavior is if an old image has been proxied, data is stored in post meta data, and dimensions would be used even if proxy is disabled in future for the said image! This behavior would be very nice as forum owners can turn proxy on for a few weeks and fetch dimension data for historic images automatically! Though since Imgur blocks proxy, proxy route would not work for a lot of images shared on forums over the years . Though one can use the DigitalPoint Cloudflare addon to make it work on temporary basis.
Image proxy disabled. Images added directly with BBCODE either in visual mode or bbcode mode... Dimensions are not tracked. I even tried using preview but that did not make a difference. (Preview push unfurled URL data to database even if the post is never posted!)
Turned on proxy. Proxy did not fetch existing embedded image dimensions. Images are loaded with blank width and height attributes.
If an external image is added with the toolbar image insert button, dimensions are fetched on the spot and can also be seen in the bbcode view.
Reference post here.
Optimally speaking, external image dimensions should be recorded even if they are embedded manually using BBCODE in either of the post editor view. As stated by @Kirby here.
Images posted directly with
[img]
bbcode do seem to get their dimensions recorded if proxy is enabled. So, this works for new images but not historic images. If I disable proxy, the image retains dimensions which is nice! Xenforo also updates image dimension of old post images (without dimensions) if proxy is enabled and I edit the post and save it. Nice but not an optimal solution. Unless Rebuild post embed metadata
would automatically do it for historic posts as indicated here? Probably would result in blacklisted server IP. Expected behavior is if an old image has been proxied, data is stored in post meta data, and dimensions would be used even if proxy is disabled in future for the said image! This behavior would be very nice as forum owners can turn proxy on for a few weeks and fetch dimension data for historic images automatically! Though since Imgur blocks proxy, proxy route would not work for a lot of images shared on forums over the years . Though one can use the DigitalPoint Cloudflare addon to make it work on temporary basis.
Last edited: