| | #1 |
| HyperActive Warrior War Room Member Join Date: 2009
Posts: 472
Thanks: 96
Thanked 62 Times in 52 Posts
|
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 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? |
| |
| | #2 |
| Active Warrior Join Date: 2007 Location: , , USA.
Posts: 62
Thanks: 0
Thanked 5 Times in 5 Posts
|
you have to remove it from the database i think.. i had semilar problem with one of my websites...
|
| | |
| |
| | #3 |
| Link Building Expert War Room Member Join Date: 2012
Posts: 605
Thanks: 130
Thanked 87 Times in 70 Posts
|
It also could be theme related.
|
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2009
Posts: 472
Thanks: 96
Thanked 62 Times in 52 Posts
|
Yes, it was theme related. I tried three themes and apparently they all created an extra copy of uploaded images I fixed it with a fourth theme :-) |
| |
| | #5 |
| HyperActive Warrior War Room Member | |
| | |
| |
|
| Bookmarks |
| Tags |
| disabled, multiple, thumbnails, wordpress |
| |