Fixed Thumbnail Attachments are not centred correctly after deleting / adding new images

tenants

Well-known member
I've managed to reproduce the bug on XenForo.com:
http://xenforo.com/community/threads/bug-attachment-test.63514/#post-672100


Steps to reproduce:

Create a thread with 2 post (or more)
1) in the first post add a few images as attachments, some long, some wide
2) in the second post add a few images, some long, some wide (but a slightly different variation)

The thumbnails should look fine (centred)
3) Edit the first (or second) post, on returning to the thread, some of the attachments are not centred


upload_2013-11-20_15-7-12.webp


The images are only displayed incorrectly when first being redirected to the page, not when refreshing the page / 1st page load

Browser Environments tested so far:
  • Chrome (Version 30.0.1599.101 m) reproduced
  • I've also reproduced this in IE 9
  • Unable to reproduce in FireFox
 
Last edited:
As mentioned, reproducible in chrome and ie 9, but not in FireFox (but it is temperamental in G/IE):

Browser Environments tested so far:
  • Chrome (Version 30.0.1599.101 m) reproduced
  • I've also reproduced this in IE 9
  • Unable to reproduce in FireFox

Most the time, all I need to do to reproduce this, is simply navigate to
http://xenforo.com/community/threads/bug-attachment-test.63514/#post-672103 (press return on the url)
or
http://xenforo.com/community/threads/bug-attachment-test.63514/ (press return on the url)

Using IE9 / Chrome
 
Last edited:
Hmm., it seems to be harder to reproduce in chrome just by navigating to the url (but still see it every now an then)

But to reproduce in IE9, I seem to get it every time

I just navigate to:
http://xenforo.com/community/threads/bug-attachment-test.63514/#post-672098
and then
http://xenforo.com/community/threads/bug-attachment-test.63514/

If you keep switching between
http://xenforo.com/community/threads/bug-attachment-test.63514/#post-672098
and
http://xenforo.com/community/threads/bug-attachment-test.63514/
In chrome, you will see it every now and them (I'm seeing it roughly 1 in every 2 or 3 times)

-It's not caching the image position, since these images are positioned by script
 
Top Bottom