StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 07-17-2009, 08:19 PM
3lite 3lite is offline
Registered User
Genesis Member
 
Join Date: Feb 2009
Posts: 15
Default 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.
  #2  
Old 07-17-2009, 09:29 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default 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,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #3  
Old 07-18-2009, 02:38 AM
3lite 3lite is offline
Registered User
Genesis Member
 
Join Date: Feb 2009
Posts: 15
Default 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
  #4  
Old 07-18-2009, 03:12 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default 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.
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Thumbnails Joanna83 General Discussion 2 01-29-2010 07:57 AM
How do I disable thumbnails? chrisjones General Discussion 5 01-08-2010 12:08 PM
Using Auto-Thumbnails dgs General Discussion 3 07-17-2009 01:04 PM
Disable Thumbnails in Content Gallery? ClayTrainor General Discussion 2 04-02-2009 06:41 AM


All times are GMT -5. The time now is 04:59 PM.

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