Images smaller than 8kb not served from blogs.dir
-
Just upgraded WPMU 2.9.2 to WP 3.2.1. Everything seems to be working well except for one perplexing issue – images from the blog directories that are smaller than 8kb are not accessible through the web. This is a problem because when I add an image to a post, the default smallest auto-generated thumbnail usually ends up being less than 8kb, resulting in broken images in posts. Even direct web hits to the files themselves result in failures, though direct web hits to the greater than 8kb versions are successful even though they are in the exact same directory with identical permissions.
I’m running PHP 5.2.9, MySQL 5.1.32, and Apache 2.2.11 on Windows 2003 Server. I also have memcached running. This problem did not occur prior to the upgrade from 2.9.2.
Here’s an example of an image smaller than 8kb: https://community.nn.k12.va.us/test/files/2010/09/Winter-100×75.jpg
Here’s an example of an auto-generated thumbnail of the same original that is larger than 8kb:
https://community.nn.k12.va.us/test/files/2010/09/Winter-300×225.jpgWhat could be going on? The issue does not come up outside of the blogs.dir subdirectories, so I think it may be tied to some combination of rewriting, caching, and permissions, but I checked configuration files for everything I could and I see no reference to minimum file sizes that might cause problems.
- The topic ‘Images smaller than 8kb not served from blogs.dir’ is closed to new replies.