Adding site logo creates plethora of cropped media files
-
New test site running WP 4.8.3 under localhost (MAMP 1.9.6 with Apache 2.0.64 and PHP 5.3.5) and Mac OS X 10.5.8 Leopard.
Bare-bones manual installation with no plug-ins. In fact, I deleted Hello Dolly and Akismet before I installed the site.
Running the default 2017 theme. Both the 2016 and 2015 variants are present in the Themes folder.
Media files set to store in Uploads with no year/month-specific folders.
Actions:
I open the Customizer and navigate to Site Identity. I add a site logo (index.png, a 512-pixel square document created in Adobe Photoshop).When I check the Uploads folder, I see the following files:
cropped-index-32×32.png
cropped-index-100×100.png
cropped-index-150×150.png
cropped-index-180×180.png
cropped-index-192×192.png
cropped-index-270×270.png
cropped-index-300×300.png
cropped-index.png
index-100×100.png
index-150×150.png
index-300×300.png
index.pngThe 100×100, 150×150, and 300×300 variants comply with the WP media thumbnail preferences. The other sizes match up with the requirements for various site-logo implementations. However:
1. Why does WP create a cropped variant of index.png when I did not crop it and do not wish to do so? (The cropped variant has the same pixel dimensions as the original index.png file.)
2. Why does WP use the cropped variant instead of index.png?Thank you for any insights.
- The topic ‘Adding site logo creates plethora of cropped media files’ is closed to new replies.