StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   How to get thumbnailimg to show on front page? (http://www.studiopress.com/support/showthread.php?t=14234)

daveyboy 09-20-2009 08:14 AM

How to get thumbnailimg to show on front page?
 
Hi guys...

In the streamline theme - adding an thumbnailimg is a snap. It even resizes the image for you.

What code do I need to add to get the corporate theme to show the thumbnail image?

(I've checked the appropriate boxes in FCG, I've referenced the resized image file...)

Any help would be great.

Cheers

Dave

CharlesClarkson 09-22-2009 06:40 AM

Re: How to get thumbnailimg to show on front page?
 
Which versions of each theme are you using?

daveyboy 09-22-2009 07:17 AM

Re: How to get thumbnailimg to show on front page?
 
Hi Charles - I just want the images to show up on the corporate theme.

The newest version, and I've got it set as the "Blue" theme.

Cheers

Dave

CharlesClarkson 09-22-2009 04:00 PM

Re: How to get thumbnailimg to show on front page?
 
Quote:

Originally Posted by daveyboy
Hi Charles - I just want the images to show up on the corporate theme.

What is the url to that web site?

daveyboy 09-23-2009 06:33 AM

Re: How to get thumbnailimg to show on front page?
 
http://edinburghhealth.com

Dave

CharlesClarkson 09-23-2009 10:36 AM

Re: How to get thumbnailimg to show on front page?
 
I'm not sure why, but Corporate 2.0 uses "thumbnail" instead of "thumb" for the custom field name. Everything else is the same as it was for Streamline 3.0.
Code:

<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>

HTH,

daveyboy 09-23-2009 10:40 AM

Re: How to get thumbnailimg to show on front page?
 
Awesome! Thanks Charles... You're a legend.

Will give it a crack.

Cheers

Dave

p.s. maybe you could get it changed in the downloadable template so it matches the others? :-)


All times are GMT -5. The time now is 08:14 AM.

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