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 » Center area post/pages » Excerpts, Read more, Pagination »

Thumbnail Cropping Not Working


 
Prev Previous Post   Next Post Next
  #1  
Old Jul 5, 2011, 09:48 AM
sar
 
17 posts · Aug 2010
Thumbnail Cropping Not Working

Using:
Wordpress 3.2
Ata 3.6.7

I would like to display only excerpts on all pages. I have set theme options to show only excerpts on all pages and I have changed the thumbnail size to 150x150 in Ata theme options and in Wordpress media settings. I have cropped all images (applied to only thumbnails) so that heads won't be cut off when the thumbnail shows up in the excerpt. However, after having done all this, the thumbnail images that I cropped, don't show up. There is a thumbnail, but it is the uncropped version. I have tried everything... I tried thumbnail editing with NextGEN gallery and it does the same thing. I also use Regenerate Thumbnails... did that and nothing changed. I changed to the Twenty Ten and Twenty Eleven themes and thumbnails work fine (cropped thumbnail shows up). After reading Wordpress Codex, I noticed that the information below is not in the functions.php file. Do I need to add this for the "cropped" version of my thumbnail to work? Please help! I have been struggling with this for weeks and have read everything I can and have found no solution! I assumed it would be easy to crop an image, apply it to a thumbnail and have it show up in post excerpts.

From Wordpress:
Themes have to declare their support for post images before the interface for assigning these images will appear on the Edit Post and Edit Page screens. They do this by putting the following in their functions.php file:

if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
}





This is what I found in Ata functions.php:

if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9

// Since 3.4.5: WP 2.9 thumbnails support:
add_theme_support( 'post-thumbnails' );
if ($bfa_ata['post_thumbnail_crop'] == "Yes")
set_post_thumbnail_size( $bfa_ata['post_thumbnail_width'], $bfa_ata['post_thumbnail_height'], true );
else set_post_thumbnail_size( $bfa_ata['post_thumbnail_width'], $bfa_ata['post_thumbnail_height'] );
add_image_size( 'single-post-thumbnail', 400, 9999 ); // Permalink thumbnail size

// Since 3.5.4:
add_theme_support('automatic-feed-links');
}



Thank you in advance!
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnail with a image zoom mirco65 Header configuration & styling 4 May 19, 2011 06:59 AM
Help solving thumbnail problems cwjorgensen Excerpts, Read more, Pagination 2 Mar 5, 2011 04:44 AM
thumbnail styling bugs? Jeff G Center area post/pages 0 Jun 15, 2010 12:27 PM
Auto-thumbnail from post kjetil Post-Kicker, -Byline & -Footer 0 Jul 31, 2009 02:46 PM


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


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