Thumbnail are original size
-
No matter what I do, I am not getting a thumbnail size version in my template.
In media setting I have 300,
and I am not overwriting it in my functions.What am I doing wrong?
`<?php get_header(); ?>
<div id=”bg-wrapper” class=”clearfix”><?php if (have_posts()) : ?>
<section class=”white-bg clearfix extra-height”>
<div class=”wrapper”>
<div class=”grid collapse-phone”>
<?php while (have_posts()) : the_post(); ?>
<div class=”hero clearfix action fit-text logo-bg”>
<h1 class=”med”><?php the_title(); ?></h1>
</div><!– /hero –>
<?php if ( has_post_thumbnail() ) : ?><div class=”col-1-4 thumbnail”>
<?php the_post_thumbnail(); ?>
</div>
<div class=”col-3-4″>
<?php the_content(); ?>
</div>
<?php else: ?>
<div class=”small-panel”><?php the_content(); ?>
</div><!– /sm –>
<?php endif; ?>
<?php endwhile ?>
<?php if( function_exists( ‘easy_image_gallery’ ) ) : ?>
<div class=”gallery clearfix”>
<h2 class=”large-type”>Bildergalerie</h2>
<?php echo easy_image_gallery(); ?>
<?php endif; ?>
</div><!– /gal –>
</div><!– /grid –>
</div><!– /wrap –>
</section>
<?php endif ?></div><!– /bg –>
<?php get_footer(); ?>
- The topic ‘Thumbnail are original size’ is closed to new replies.