Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Programming
Register Blogs Social Groups Advertise with usHelp Desk

Reply
LinkBack Thread Tools
Unread 21st February 2013, 02:59 AM   #1
HyperActive Warrior
War Room Member
 
belgianguy's Avatar
 
Join Date: 2009
Posts: 450
Thanks: 96
Thanked 58 Times in 50 Posts
Default Wordpress: disabled thumbnails, still multiple images per upload on server

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 online now   Reply With Quote
Unread 21st February 2013, 09:40 AM   #2
Active Warrior
 
Join Date: 2007
Location: , , USA.
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts
Default Re: Wordpress: disabled thumbnails, still multiple images per upload on server

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 February 2013, 11:21 AM   #3
Link Building Expert
War Room Member
 
Join Date: 2012
Posts: 571
Thanks: 127
Thanked 86 Times in 69 Posts
Default Re: Wordpress: disabled thumbnails, still multiple images per upload on server

It also could be theme related.

Best Backlink Service | SEO Teammate
KingRoyal is offline   Reply With Quote
Unread 21st February 2013, 01:42 PM   #4
HyperActive Warrior
War Room Member
 
belgianguy's Avatar
 
Join Date: 2009
Posts: 450
Thanks: 96
Thanked 58 Times in 50 Posts
Default Re: Wordpress: disabled thumbnails, still multiple images per upload on server

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 online now   Reply With Quote
Unread 21st February 2013, 04:15 PM   #5
HyperActive Warrior
War Room Member
 
workoutstuff1's Avatar
 
Join Date: 2009
Posts: 362
Blog Entries: 3
Thanks: 159
Thanked 72 Times in 70 Posts
Default Re: Wordpress: disabled thumbnails, still multiple images per upload on server

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 > Warrior Support Forums > Programming

Bookmarks

Tags
disabled, multiple, thumbnails, wordpress

Thread Tools

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 05:18 AM.