About this topic

  • Posted by WESLEY 1 year ago. There are 2 posts. The latest reply is from byron.
  • This topic is not resolved

No tags yet.

  1. Hi,

    I'm running Wordpress 3.0.1 with Suffusion 3.6.5 ,Buddypress 1.2.5.2 and Photosmash 0.8.0.4

    Once again, this is an amazing plug-in so thanks.

    When users click on the thumbnail it takes them to the attachemnt page. The problem is that there is no next/previous thumbnails at the bottom of the image, so users need to go back to the gallery to view the next image which is proving to be a pain. I'm not sure if this is a theme problem or something else.

    I had a look at the Wordpress Default theme (Image Attachment Template) image.php and I think the code for next/previous thumbs are there:

    <div class="navigation">
    <div class="alignleft"><?php previous_image_link() ?></div>
    <div class="alignright"><?php next_image_link() ?></div>
    </div>
    <br class="clear" />

    (I am a complete novice so am not totally sure if the above code is right.)

    Any Advice would be Greatly Appreciated.
    Wes

  2. Hi Wes,

    Yes, you need to put that code into your image.php file (or if you don't have one of those, your attachment.php file). It is completely controlled by your template. Once you're looking at an attachment page, PhotoSmash is completely out of the picture. That is all 100% WordPress and your Theme. All PhotoSmash has done at that point is let you upload the image and added that image to your Media Library.

    Your theme controls the look and feel and functionality of the Attachment pages.

    Copying what the default theme is a great way to get your bearings.

    Cheers,
    Byron

RSS feed for this topic