I have the version 2.5.0.beta6 running and I experience the same issue.
“create thumbnails” is active, but it does not create a lightbox, independent of the size of the picture.
I have a second instance of discourse which is a couple month old and there I have old posts where the lightbox works, but not on the new posts.
Maybe an issue with an update?
If I upload the same picture to try.discourse.org, then it works there fine with the lightbox.