I have a very simple template where I am showing images. The code looks like this:
<?php /* * Template Name: Portfolio */ ?> <?php get_header(); ?> <div class="row"> <div class="small-12 columns"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> </div> <!-- #small-12 --> </div> <!-- #row --> <?php get_footer(); ?>
The problem is that when I upload my images in the editor, they become much smaller than they actually are (on the page). I control their size by setting
max-width: 100% in my css already, so I don't want WordPress to limit the size. How can I remove this?