I don't want wordpress to create thumbnails of the images I upload. I only want the original image on my server. I added this to my functions.php
Wordpress: disabled thumbnails, still multiple images per upload on server
5
I don't want wordpress to create thumbnails of the images I upload. I only want the original image on my server.
I added this to my functions.php
And this fixed the issue of having 4 copies of my image on the server. But there still is one copy left and I can't seem to get rid of it.
When I upload an image, a second copy in a different size is created.
I have disabled all my plugins and tried a different theme, but can't seem to find what is creating this second image.
Any thoughts?
I added this to my functions.php
Code:
function wplift_remove_image_sizes( $sizes) {
unset( $sizes['thumbnail']);
unset( $sizes['medium']);
unset( $sizes['large']);
return $sizes;
}
add_filter('intermediate_image_sizes_advanced', 'wplift_remove_image_sizes'); When I upload an image, a second copy in a different size is created.
I have disabled all my plugins and tried a different theme, but can't seem to find what is creating this second image.
Any thoughts?
- mariya20
- KingRoyal
- belgianguy
- [1] reply
- workoutstuff1
Next Topics on Trending Feed
-
5