![]() | ![]() | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Jan 2009
Posts: 332
Thanks: 80
Thanked 40 Times in 36 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: Nov 2007 Location: , , USA.
Posts: 39
Thanks: 0
Thanked 4 Times in 4 Posts
|
you have to remove it from the database i think.. i had semilar problem with one of my websites...
|
| | |
| | |
| | #3 |
| The Owner War Room Member Join Date: Nov 2012
Posts: 383
Thanks: 59
Thanked 59 Times in 47 Posts
|
It also could be theme related.
|
|
Dont Forget To Give Thanks If I Helped You!
| |
| | |
| | #4 |
| HyperActive Warrior War Room Member Join Date: Jan 2009
Posts: 332
Thanks: 80
Thanked 40 Times in 36 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 |
| Active Warrior War Room Member | |
| | |
| | |
![]() |
|
| Bookmarks |
| Tags |
| disabled, multiple, thumbnails, wordpress |
| Thread Tools | |
| |
![]() |