<?php
/**
 * Image.php is used to showcase your image media files.
 * @package Ultra WordPress Theme
 * @since 1.0
 * @author AJ Clarke : http://wpexplorer.com
 * @copyright Copyright (c) 2012, AJ Clarke
 * @link http://wpexplorer.com
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 */


get_header(); // Loads the header.php template ?>

<header id="page-heading">
    <div class="boxed">
        <h1><?php the_title(); ?></h1>
    </div><!-- /boxed -->
</header><!-- /page-heading -->	

<div id="single-page-content" class="clearfix boxed container">
    <article class="entry clearfix">	
        <div id="img-attch-page">
            <a href="<?php echo wp_get_attachment_url($post->ID, 'full-size'); ?>" class="fancybox">
				<?php $portimg = wp_get_attachment_image( $post->ID, 'full' ); echo preg_replace('#(width|height)="\d+"#','',$portimg);?>
            </a>
        </div><!-- /img-attch-page -->
    </article><!-- #post -->
</div><!-- #single-page-conten -->

<?php get_footer(); // Loads the footer.php file ?>