-
Closed
-
I searched but could only find where the theme may be causing all these extra images (sizes) of the original to be created, 17 I think, when I upload only one. I checked the media settings and it shows only 3 to be created. How can I prevent this from happening.
Thanks
Hi Jeff,
Thanks for writing in!
It seems to be related to a plugin. I’d advise testing for a plugin conflict by deactivating all the third party plugins in your site, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can specify which one by reactivating them one at a time.
Thank you!
I tried that, no luck. Even with all plugins deactivated it still generates about 15 different sizes of the same image when I upload.
Hi Jeff,
Please try to regenerate the images while after deactivating the third party plugins. You can use the following plugin:
Thank you!
Since I still have not found out why so many are created why would I need any but the original? What would happen if I deleted all but the original.
Hi Jeff,
As we mentioned earlier that after deactivating all third party plugins, please regenerate new images and check if the issue has resolved. And you can use the provided plugin for force regenerate.
Thank you!
I am sorry if I was not clear but 3 times I have deactivated all plugins, uploaded a new image and the last time it gave me 9 different sizes of the image.
Hi Jeff,
Thanks for clarifying! in such case you may refer to the following:
Thank you!
Hi Jeff,
These are all the image sizes need by Evolve Plus Theme.
Open up evolve-plus/libary/functions/basic-functions.php
and you will see the following codes at line 9 to 21
add_image_size('post-thumbnail', 680, 330, true);
add_image_size('slider-thumbnail', 400, 280, true);
add_image_size('tabs-img', 50, 50, true);
add_image_size('recent-works-thumbnail', 65, 65, true);
add_image_size('blog-large', 669, 272, true);
add_image_size('blog-medium', 320, 202, true);
add_image_size('related-img', 180, 138, true);
add_image_size('portfolio-one', 540, 272, true);
add_image_size('portfolio-two', 460, 295, true);
add_image_size('portfolio-three', 300, 214, true);
add_image_size('portfolio-four', 220, 161, true);
add_image_size('portfolio-full', 940, 400, true);
add_image_size('recent-posts', 660, 405, true);
There will be 13 images and if including WordPress default sizes, it will be a total of probably 17 images created when you upload one image.
This is correct. Nothing wrong with it.
You can remove some image sizes if you are sure that you will not use it.
For example, if you do not need to use portfolio templates, you can remove the following.
add_image_size('portfolio-one', 540, 272, true);
add_image_size('portfolio-two', 460, 295, true);
add_image_size('portfolio-three', 300, 214, true);
add_image_size('portfolio-four', 220, 161, true);
add_image_size('portfolio-full', 940, 400, true);
Thank you.
Thank you very much, this is the information I was looking for.
THanks
Hi Jeff,
You are welcome!
Regards,
Denzel
The topic 17 differenet images created when I upload a new image to the library is closed to new replies