StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Custom thumbnails/disable auto thumbnails (http://www.studiopress.com/support/showthread.php?t=11255)

3lite 07-17-2009 08:19 PM

Custom thumbnails/disable auto thumbnails
 
Is there a way to disable auto resize for thumbnails?

I want to manually crop and set my own thumbnails.


Thank you.

CharlesClarkson 07-17-2009 09:29 PM

Re: Custom thumbnails/disable auto thumbnails
 
Quote:

Originally Posted by 3lite
Is there a way to disable auto resize for thumbnails?

In home.php change this line in the sp_post_thumb() function:
Code:

[img]<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, [/img]&amp;h=<?php echo get_theme_mod($position.'_thumb_height'); ?>&amp;w=<?php echo get_theme_mod($position.'_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" />
To this:
Code:

[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />

HTH,

3lite 07-18-2009 02:38 AM

Re: Custom thumbnails/disable auto thumbnails
 
If its not to much to ask... How would I set (through meta) all of the images manually (how other themes have it, example: church).

225x150
115x115
75x75

CharlesClarkson 07-18-2009 03:12 AM

Re: Custom thumbnails/disable auto thumbnails
 
Quote:

Originally Posted by 3lite
If its not to much to ask... How would I set (through meta) all of the images manually (how other themes have it, example: church).

I really don't know.


All times are GMT -5. The time now is 03:47 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.