[FIXED] Thumbnail grows small images in quoted posts
Discussion
When a reply is quoted, any images are automatically thumbnailed.
However, the code does not check if the image is already smaller than the thumbnail size, meaning that, for example, emoticon images from the emoticon cache hosted by a long-standing PHer and used by many old-school PHers, are grown to enormous proportions.
Here's such an image. It is the correct size in this post, but in my next post I will quote it.

However, the code does not check if the image is already smaller than the thumbnail size, meaning that, for example, emoticon images from the emoticon cache hosted by a long-standing PHer and used by many old-school PHers, are grown to enormous proportions.
Here's such an image. It is the correct size in this post, but in my next post I will quote it.
Ben Lowden said:
This has now been fixed. Only caveat is that this will work moving forwards on new posts, but existing posts will not change.
Thanks BenI'm guessing (inferring) from this that a new image asset is created at the time, rather than the thumbnail being generated on the fly. Which makes sense.
Gassing Station | Website Feedback | Top of Page | What's New | My Stuff


