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 »

[SOLVED] How to Prevent Generation of multiple Image Sizes


  #1  
Old Jan 8, 2015, 11:37 PM
stevinoz
 
60 posts · Sep 2012
Send a message via Skype™ to stevinoz
After some research found how to stop wordpress from making 3 or 4 image sizes on upload but still get (I think) Atahualpa making 2 smaller image sizes 150 and 400, where would I find the settings for this?

I'm using the latest versions of everything.
Thanks in advance.
  #2  
Old Jan 9, 2015, 04:35 AM
juggledad's Avatar
juggledad
 
23,569 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you will have to do two things
1) go to ATO->Post THUMBNAILS and set both 'Post Thumbnail Width' and 'Post Thumbnail Height' to zero
2) edit functions.php and change line 689 (version 3.7.20) from
HTML Code:
	add_image_size( 'single-post-thumbnail', 400, 9999 ); // Permalink thumbnail size
tp
HTML Code:
//	add_image_size( 'single-post-thumbnail', 400, 9999 ); // Permalink thumbnail size
you will have to make this change to function.php after each upgrade.

NOTE: if you use a featured image in your post and display it as an excerpt, you will get the full size image displayed.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 9, 2015, 10:58 PM
stevinoz
 
60 posts · Sep 2012
Send a message via Skype™ to stevinoz
after doing this I also found woocommerce.php has exactly the same thing so doing the same there totally fixes the woocommerce blurry-fuzzy pictures problem.

Thanks Juggledad for continuing my learning process

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Image Sizes in Post Editor don't match Images Sizes in Preview/once posted. tisker Montezuma Theme 1 Mar 15, 2013 01:43 PM
How to disable multiple image upload SharonJ Atahualpa 3 Wordpress theme 1 Jan 11, 2011 08:37 PM
Limit Image Sizes wadams92101 Atahualpa 3 Wordpress theme 4 Aug 27, 2010 12:38 PM
Controlling image sizes in RSS feeds Kadin RSS, Feeds & Subscribing 0 May 11, 2010 09:39 PM
Web 3.0 The Next Generation Web kellypeaks Forum How-To 0 Dec 19, 2009 07:00 AM


All times are GMT -6. The time now is 01:34 PM.


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