Last Updated on
Struggling with common WordPress image errors and issues? Keep reading.
Who doesn’t like interactive content? Images help to make your content more interactive and engaging. WordPress by default comes with necessary image uploading and editing facility
In WordPress, you might be having some image issues like gallery images not showing, themes not showing images, featured images not working, images not loading in WordPress theme – and more.
We are going to cover most WordPress image issues and how to fix them in this article.
Table of Content
- How To Upload Images In WordPress?
- How to Add Caption below Images in WordPress?
- How to Align Image to the Left or Right in WordPress?
- How to Fix Featured Images Not Showing in WordPress?
- How to Fix WordPress Featured Image Not Showing on Homepage?
- How to Fix Duplicate Featured Images in WordPress
- Fix Image Too Large on WordPress
- WordPress Media Library Not Showing Images/Fix Blank Thumbnails in WordPress
- Fix Unable To Create Directory Error
- How to Organize Photos Into Columns And Rows?
- How to Add/Remove Featured Images In WordPress
- How to Fix Mixed Content Error after Switching to HTTPS
- How to Set Default WordPress Featured Image
1. How To Upload Images In WordPress?
Uploading new images to WordPress is easy. There are a couple of ways to do that.
1.1 Drag and Drop Images to Upload
The easiest way to upload images is to drag and drop the image you want to upload in the WordPress editor.
WordPress will automatically upload and add the new image to your WordPress post.
1.2 Upload images via Add Media
If you look above your WordPress editor, you will find there is an option naming “Add Media” on top.
This will give you the option to select images to upload. You can select your images and then click Insert into post to insert the new image to your WordPress post.
2. How to Add Caption below Images in WordPress?
WordPress has built-in support for adding a caption for images. After uploading an image, WordPress media uploader gives you the option to add image title, description, and caption.
3. How to Align Image to the Left or Right in WordPress?
Many popular websites use images with text wrapped around them. Text wrapping image is done by using the align feature of WordPress. Using images with text wrapped is an excellent way to make your website more engaging.
You can select your preferred image alignment when uploading an image and before inserting it into your post.
4. How to Fix Featured Images Not Showing in WordPress?
WordPress featured images not working is a common WordPress image issue. It usually happens when you switch your theme. Solving featured images is pretty easy all you need to do is to install a featured image plugin.
Check our tutorial on How to regenerate thumbnail and featured images where we have discussed in-length how to restore your images when you switch to a new theme. As WordPress featured image size differs from theme to theme, it is a good idea to regenerate your featured images and thumbnails after switching your theme.
You can use any of the plugins mentioned in the blog post to fix your featured images in WordPress.
5. How to Fix WordPress Featured Image Not Showing on Homepage?’
Are your WordPress homepage images not showing? If you want to show your feature images on your homepage, then there should be a specific theme setting on your theme. Whether featured image will be displayed on homepage or not is decided by the theme. Usually, most WordPress themes have the featured image settings tucked under in the theme settings menu.
Navigate to Appearance >> Customize to explore your theme settings.
If your theme supports featured images, you should be able to access it from Appearance>>Customize.
If featured images are already turned on for the homepage from theme settings, and it is still not showing up, then you can disable and enable the settings. Make sure you clear your cache. Then try reloading the website.
You should be able to see featured images appearing correctly on your homepage.
6. How to Fix Duplicate Featured Images in WordPress
Duplicate images usually appear to your editor when you upload the same pictures twice in your WordPress post. The same mistake occurs when you upload the featured image again in your post.
You do not want to use the featured image again in your WordPress post. WordPress will automatically show the featured image on your homepage. If you use it inside your article, the image will appear twice.
7. Fix Image Too Large on WordPress
It might have happened to you when you are uploading an image and WordPress is giving you a notice that the image cannot be uploaded because it is too large. Well, that’s because WordPress sets a limit about how big your image sizes can be. The limit is set for your convenience.
The convention should be followed because Google likes pages that load fast, as we have discussed in our Top 10 Ways to Improve PageSpeed on WordPress Websites article.
Fix Image Too Large in WordPress
- You can use an image resizer to resize your images before uploading on your WordPress website.
- You could also use an image optimizing service like tinypng.org to optimize your images before uploading.
- You can also use the default WordPress image editor to crop and resize images. Read below to know how to crop and resize images using WordPress.
8. WordPress Media Library Not Showing Images/Fix Blank Thumbnails in WordPress
WordPress media library not showing any images is an issue that webmasters face from time to time. You could also be facing no thumbnail previews in your WordPress media library. Some people find no images at all in media library although it shows the count of total photos.
Solving these type of issues can be tricky.
It could happen for many reasons. You need to go through a series of basic troubleshooting steps to fix this issue.
First, navigate to your WordPress Dashboard then Settings >> Media. Make sure the Organize my uploads into month- and year-based folders field is checked.
This option organizes your uploaded images by month and year wise folders. If this doesn’t fix your media library issue, move to step 2.
If still your images and thumbnails don’t show up, you have to change your WordPress upload folder’s permission.
Login to your cPanel and go to.
wp-content/uploads Check the file permission of uploads folder. If the permission is anything besides 755, change the permission to 755.
Reload your media library to see if it’s fixed.
You can also do this from most of the FTP programs like FileZilla.
Here’s what the process looks like in Filezilla.
If your images are still not showing up, try changing your permalink settings to the default and then revert to the original. Check our coverage on Best Permalink Structure for SEO in WordPress to know how to reset permalink settings.
If none of the steps worked for you, try to regenerate thumbnails/featured images. Read our tutorial on how to regenerate thumbnails or features images.
Any of the four steps should fix your issue. Make sure your file permission is appropriate as discussed in step 2.
9. Fix Unable To Create Directory Error
Follow step 1 and step 2 of the previous section. You want to check Organize my uploads into month- and year-based folders field.
If this does not fix your issue, you need to fix your file permission for wp-content/uploads folder to 755
10. How to Organize Photos Into Columns And Rows?
You can organize your photos into columns and rows like a gallery to give your users a better experience.
You can create an image gallery by choosing the media uploader. Then select ‘Create gallery.’
Now you will need to choose the images that will be displayed in the rows and columns. After choosing your images, then click ‘Insert gallery.’
You can also check out the gallery setting and choose how you want your gallery to be displayed before clicking Insert gallery. As soon as you click Insert gallery, the new an organized gallery with row and column will be added to your article
11. How to Add/Remove featured images in WordPress
On your WordPress article’s right-hand side, there should be a section named Featured Image. You can add featured image by clicking “Set featured image.” It will ask for the image location. Locate your featured image on your hard disk to set a featured image.
Removing Featured Image: You can remove featured images by using the same section. After adding a featured image, the option will offer to remove the existing featured.
12. How to Fix Mixed Content Error after Switching to HTTPS
In 2019, if you are not using https, you are missing out. Even after switching to https website you might not still be seeing the green padlock icon on your browser.
This happens because the green icon only shows up when all your content is in HTTPS. However, even after switching your domain to HTTPS, the images usually use the old image path with HTTP. That is why you need to rewrite the images.
- Use the Really Simple SSL plugin to automatically rewrite the URLs for old images
- Use the Velvet Blues Update URLs plugin to manually execute a find and replace query to change “http://olddomain.com” to “https://newdomain.com”
13. How To Set Default WordPress Featured Image
If you want to set a default featured image for all of your WordPress posts, then you can use the default featured image plugin. The plugin lets you create a fallback image for all of your featured image. Hence, if you don’t use the featured image in any of your posts, the default image will be used.
One of the great benefits of using the plugin is the possible increase of engagement in social media. Images work better to get attention than just texts.
If you forgot to add featured image to any of your previous posts, the plugin would automatically show the fallback image in all of your latest social media sharing.
Wrapping up on WordPress Images
If you are still here with us, thanks for reading. we hope you have solved your WordPress image issue from the article. If you haven’t been able to solve your issue regarding images in WordPress, feel free to leave a comment in the comment box below.
You can also try to spice up your featured images by using great free stock images. We often get asked at our Twitter and Facebook channel about how to find the best royalty free images to use in their posts.
You can go through the following websites for free stock images. You can use these free stock images in your WordPress posts to make your content more engaging.
- Unsplash – https://unsplash.com
- Pexels – Pexels.com
- Barnimages – https://barnimages.com/
- Stocksnap – https://stocksnap.io/