Jump to content
Sign in to follow this  
tcantrell

Feature Thumb Scaling...?

Recommended Posts

tcantrell

Is it possible to use a larger image for the "Feature Thumb" in Station Pro and have it scale the image down to fit rather than just cropping it to the corner? I'm trying to reuse the same images as much as possible to cut down on post prep time and bandwidth. Thanks in advance for any suggestions. Can't post a live link as the site is still in maintenance mode and can only be viewed when logged in.

Share this post


Link to post
Share on other sites
Andrew

Sure, I believe you can change it by changing the media settings (thumb width) Alternitively you can edit the `_posts.php` template

Share this post


Link to post
Share on other sites
tcantrell

Well I wouldn't want to change the thumb size globally... Can you point me in the right direction to add scaling to

_post.php

template? If that's even possible. Thanks!

Share this post


Link to post
Share on other sites
catrina

Go to StationPro theme folder > library > _posts.php Find this code: `

` Adjust
width="200"
and
height="200"

.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
tcantrell

Thanks for the suggestion, but I found that code and tried adjusting the width and height but that did nothing. Any other ideas?

Share this post


Link to post
Share on other sites
tcantrell

Maybe I should have explained better, but by "Feature Thumbs" I mean the thumbnails at the bottom of the feature template, not post thumbnails. I attached a link to a screenshot with the thumbs highlighted. Sorry if there was any confusion. 2lvn334.jpg

Share this post


Link to post
Share on other sites
catrina

Whoops, sorry about that. Those feature thumbnails are implemented using a background-image URL code rather than the code and it's not possible to resize an image that is set as a background, but perhaps if the thumbnail coding was re-implemented some way, they can be resized.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
tcantrell

Hmmm... Well thank you. I'm not much of a coder, all of my site mods have been trial and error, so I'm not sure how to go about redoing the thumbnail coding. If you have any suggestions it would be greatly appreciated, but I'm assuming that this would probably be a fairly large hack to get working how I want. I may just have to make separate thumbnails.

Share this post


Link to post
Share on other sites
catrina

As long as you can make the separate thumbnails, it's the best option because at least you can get them the size that you want.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×