Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Preventing all resizing when uploading pictures


  #1  
Old Feb 26, 2011, 06: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 09:16 AM.
  #2  
Old Feb 26, 2011, 09: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, 01: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



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 03:35 PM
Preventing page title from appearing on top of page Baller Atahualpa 3 Wordpress theme 1 Oct 8, 2010 02:22 PM
Images not resizing within posts kam Center area post/pages 4 May 14, 2010 07:24 PM
Header keeps resizing itself gwpad Forum How-To 2 Apr 8, 2010 02:07 PM
Preventing page title from showing on single post pages bill Atahualpa 3 Wordpress theme 4 Oct 31, 2009 05:18 AM


All times are GMT -6. The time now is 09:33 PM.


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