-
The issue of weird images being shown in some posts has now been resolved.
By and large, you were the person whose posts were most affected. Most people who attached images did not also embed them as an image within the post (they left the thumbnails at the bottom), but quite often you would insert the full image as an inline image in addition to the thumbnail.
There was a bug, but others wouldn't notice as much (attachments directly stuck on things work fine).
The bug was that for a given URL:
http://www.lfgss.com/attachments/47812d1326332953-vumachrono_ring_v2.png
We parsed that using this regex:
attachments/([0-9])+d[0-9]+-.*$
Which should have returned the value:
47812
But... there is one character out of place in the regex and so we got:
4
And instead of embedding the image you wanted, we redirected to whatever attachment #4 on vBulletin was.
The fix:
attachments/([0-9]+)d[0-9]+-.*$
Which now correctly resolves vBulletin attachment URLs.
The images will still be duplicated within the post... once within the post content, and then we show the attachment too.
Any ideas on the random images thing, e.g. these two posts
https://www.lfgss.com/comments/8497541/
https://www.lfgss.com/comments/8654600/
Which had attachments embedded now have the correct attachments shown inline, but the file embedded between the [img] tags isn't the same as the attachment any more.
I can edit my posts, but ewanmac's reply https://www.lfgss.com/comments/8690498/ to this post https://www.lfgss.com/comments/8668265/ looks like a bit of a non sequitur when it contains the wrong image.