Topic: Standard Wordpress Gallery Functions

I am trying to setup my first gallery.  My options are set to link to an attachment page when you click the thumbnail. For some reason, when I click the thumbnail it takes me to another page, but it only displays the thumbnail size image, not the medium size image.  I tried switching themes to twentyten and it works properly.  Is there an option I'm missing for this?  Do I have to edit some code somewhere?
Check it out here

http://www.overtheedgecustoms.com/blog/ … auto-show/

part 2:  in twentyten below the image there is a previous/next image set of buttons, in the arras theme there is not.  Can these be added??

Thumbs up

Re: Standard Wordpress Gallery Functions

I've pieced together the attachment.php from Arras and Twenty ten.

<?php get_header(); ?>

<div id="content" class="section">
<?php arras_above_content() ?>

<?php if (have_posts()) : the_post(); ?>
    <?php arras_above_post() ?>
    <div id="post-<?php the_ID() ?>" <?php arras_single_post_class() ?>>

        <?php arras_postheader() ?>

        <div class="entry-content single-post-attachment clearfix">

        <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"
        <?php $attachment_size = apply_filters( 'arras_attachment_size', 900 );
        echo wp_get_attachment_image( $post->ID, array( $attachment_size, 9999 ) );     ?>
        </a>
        <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'arras'), 
            'after' => '</p>', 'next_or_number' => 'number')); ?>
        </div>
        
        <div class="navigation clearfix">
            <div class="floatleft"><?php previous_image_link( null ); ?></div>
            <div class="floatright"><?php next_image_link( null ); ?></div>
            </div><!-- #nav-below -->
        
        <?php arras_postfooter() ?>

        <?php 
        if ( arras_get_option('display_author') ) {
            arras_post_aboutauthor();
        }
        ?>
    </div>
    
    <?php arras_below_post() ?>
    <a name="comments"></a>
    <?php comments_template('', true); ?>
    <?php arras_below_comments() ?>
    
<?php else: ?>

<?php arras_post_notfound() ?>

<?php endif; ?>

<?php arras_below_content() ?>
</div><!-- #content -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Standard Wordpress Gallery Functions

ok, so the good news is that this mod did add the older and newer buttons on the image display pages, the bad news however is that it does not display any image.

Try it yourself
http://www.overtheedgecustoms.com/blog/ … -auto-show

Thumbs up