I’m trying to figure out why one of my WordPress sites is not generating thumbnails for PDF uploads. It works on my dev and staging sites. When comparing them, the only difference that I can find is that my production site is running PHP 7.2, whereas dev and staging are running PHP 7.3. I have the imagick extension installed on all of them.
I’m echoing the post thumbnail here:
Several times over time I changed sizes of thumbnails WP generate when images are uploaded, always setting bigger size.
I’m consistently using 3000×750 images for the standout images for my entries. I’ve recently added a new post with such image (I’m 100% sure about its size) and I’ve realized, that for some reason it started looking differently than others (see images below, headers for clarity):
I addes this code to allow SVG Uploads to the Media Library of wordpress:
I’m worried about too many files created when adding a new image size.
I believe your issue is that the value set for the global $content_width variable (which is 640px in Boilerplate and 584px in Twenty Eleven) is less than the width you’re specifying via Settings -> Media.
What is the difference between set_post_thumbnail_size and add_image_size? Is set_post_thumbnail_size for all images, and add_image_size for sizing images individually?
When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I’ve placed in Settings/Media.
I have checked and read lot of post about one single issue that is far more complicated than it seems.