0
Welcome Guest!
Login
0
items
Join Now
Login
Join Now
Search
Home
Grav
Themes
Joomla!
Templates
Extensions
WordPress
Themes
Plugins
Docs
Forum
Perks
Index
Recent Topics
Rules
Search Forum
Premier Support
You are here:
Forum
General
Configuration and Security
Topic
Solar Sentinal: automatic resize image?
Last Post
Search Topic
AppleUser
Jr. Rocketeer
Posts:
31
Thanks:
0
Solar Sentinal: automatic resize image?
Posted 15 years 5 months ago
I just install the theme Solar Sentinel for WordPress, and it looks great! But is it possible that the thumb and the large image automatic resize? On the moment if my image is to large, the thumb also is to large...
#412733
AppleUser
Jr. Rocketeer
Posts:
31
Thanks:
0
Re: Solar Sentinal: automatic resize image?
Posted 15 years 5 months ago
I found a solution in index.php:
Change (thumb feature):
<img src="<?php echo $thumb ?>" class="feature-sub" alt="<?php the_title(); ?>" />
To:
<img src="<?php echo $thumb ?>" class="feature-sub" width="90" height="43" alt="<?php the_title(); ?>" />
Change (thumb latest news):
<div class="fp-sub1">
<a href="<?php the_permalink(); ?>"><img alt="<?php the_title(); ?>" src="<?php echo $thumb; ?>" /></a>
</div>
To:
<div class="fp-sub1">
<a href="<?php the_permalink(); ?>"><img width="66" height="58" alt="<?php the_title(); ?>" src="<?php echo $thumb; ?>" /></a>
</div>
And for Micronews:
Change:
<img src="<?php echo $microthumb; ?>" alt="<?php the_title(); ?>" class="micronews-thumb" />
To:
<img src="<?php echo $microthumb; ?>" width="120" height="105" alt="<?php the_title(); ?>" class="micronews-thumb" />
#412756
Time to create page: 0.066 seconds
Powered by
Kunena Forum