Warrior Forum - The #1 Internet Marketing Forum & Marketplace Programming

Wordpress: disabled thumbnails, still multiple images per upload on server

Reply {{ subscribed ? 'Subscribed' : 'Subscribe' }} Subscribed Subscribe
LinkBack Thread Tools Search this Thread
Unread 21st Feb 2013, 02:59 AM   #1
HyperActive Warrior
War Room Member
 
belgianguy's Avatar
 
Join Date: 2009
Posts: 475
Thanks: 96
Thanked 63 Times in 53 Posts
Default
Wordpress: disabled thumbnails, still multiple images per upload on server
Share on: 
fb share twitter share gplus share more share

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');
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?
belgianguy is offline   Reply With Quote
Unread 21st Feb 2013, 09:40 AM   #2
Active Warrior
 
Join Date: 2007
Location: , , USA.
Posts: 63
Thanks: 0
Thanked 5 Times in 5 Posts
Default
Re: Wordpress: disabled thumbnails, still multiple images per upload on server
Share on: 
fb share twitter share gplus share more share

you have to remove it from the database i think.. i had semilar problem with one of my websites...

mariya20 is offline   Reply With Quote
Unread 21st Feb 2013, 11:21 AM   #3
Link Building Expert
War Room Member
 
Join Date: 2012
Posts: 602
Thanks: 134
Thanked 89 Times in 72 Posts
Default
Re: Wordpress: disabled thumbnails, still multiple images per upload on server
Share on: 
fb share twitter share gplus share more share

It also could be theme related.
KingRoyal is offline   Reply With Quote
Unread 21st Feb 2013, 01:42 PM   #4
HyperActive Warrior
War Room Member
 
belgianguy's Avatar
 
Join Date: 2009
Posts: 475
Thanks: 96
Thanked 63 Times in 53 Posts
Default
Re: Wordpress: disabled thumbnails, still multiple images per upload on server
Share on: 
fb share twitter share gplus share more share

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 :-)
belgianguy is offline   Reply With Quote
Unread 21st Feb 2013, 04:15 PM   #5
HyperActive Warrior
War Room Member
 
workoutstuff1's Avatar
 
Join Date: 2009
Posts: 458
Blog Entries: 3
Thanks: 167
Thanked 91 Times in 88 Posts
Default
Re: Wordpress: disabled thumbnails, still multiple images per upload on server
Share on: 
fb share twitter share gplus share more share

Quote:
Originally Posted by belgianguy View Post
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 :-)
Way to go! But I do wonder if there is a plug-in that could have done what you were needing to do.

workoutstuff1 is offline   Reply With Quote
Reply

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace Programming

Bookmarks

Tags
disabled, multiple, thumbnails, wordpress

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:37 PM.