Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Preventing all resizing when uploading pictures


  #1  
Old Feb 26, 2011, 05:11 AM
ruudyn
 
2 posts · Feb 2011
Hello, I tried searching the forums for an answer to my problem without luck.

I would like to prevent all thumbnail creation when uploading pictures through Wordpress media library. So for example when I upload a 1000x1000px picture, I end up having just the original picture in my uploads folder. Before I started using Atahualpa, I could achieve this by setting Settings->Media->Thumbnail, Medium and Large sizes all to 0 at Wordpress settings.

After installing Atahualpa, whenever I uploaded a large picture I ended up having the original, a 150x150 px and 400x1000 px resized pictures in my uploads folder. I got rid of the 150x150 thumbnail by setting Post thumbnails-> width & height to 0 at Atahualpa settings. The only thing I need now is to get rid of the 400px wide resized images. I can't seem to figure out which setting controls this.

I have tried disabling all my plugins with no difference. If I switch to a different theme there is no resizing. I'm using Wordpress 3.1 and Atahualpa 3.6.4.

Last edited by ruudyn; Feb 26, 2011 at 08:16 AM.
  #2  
Old Feb 26, 2011, 08:15 AM
ruudyn
 
2 posts · Feb 2011
After a lot of searching I found a workaround for this, on line 681 at functions.php changed
Code:
add_image_size( 'single-post-thumbnail', 400, 9999 ); // Permalink thumbnail size
to
Code:
add_image_size( 'single-post-thumbnail', 99999, 99999 ); // Permalink thumbnail size
This prevents the creation of 400px wide resized images, but it would be nice to have an easier option to block this. (Or maybe there is but I haven't found it.)
  #3  
Old Jan 31, 2013, 12:06 PM
shalin_99
 
1 posts · Jan 2013
Very useful.
I had been searching for this.
I've an entertainment blog and I upload 100s of images everyday, so, it was simply wasting my file space.

Thanks a lot.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture Path problem, when uploading pictures in posts Kingsix Atahualpa 3 Wordpress theme 3 Dec 27, 2010 02:35 PM
Preventing page title from appearing on top of page Baller Atahualpa 3 Wordpress theme 1 Oct 8, 2010 01:22 PM
Images not resizing within posts kam Center area post/pages 4 May 14, 2010 06:24 PM
Header keeps resizing itself gwpad Forum How-To 2 Apr 8, 2010 01:07 PM
Preventing page title from showing on single post pages bill Atahualpa 3 Wordpress theme 4 Oct 31, 2009 04:18 AM


All times are GMT -6. The time now is 09:59 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.