When i use the wordpress default image uploader and paste some thumbnails and a visitor click on the thumbnail they will go to another page were they can view the full image, is there a plugin that adds the “next or previous image” link so that the visitor dont have to got back to main page and click on the next thumbnail?
for example: when someone click on a thumbnail they will come to this page: http://dailymobile.se/2008/08/22/unboxing-pictures-nokia-7900-crystal-prism-pink/nokia-7900-crystal-prism-pink08/
i want a next / previous image link here so that they can quickly go to next page instead of going back to the main post.
the plugin MUST work with wordpress default image application.
Your theme needs an image.php file. The default theme uses
<?php previous_image_link() ?>and
<?php next_image_link() ?>to enable thumbnail navigation of next and previous images.
Also, here‘s mention of a plugin which replaces the images with text links.
i couldnt find a image.php under my themes dir. is there something that i need to write myself (really dont know anything about php) or should it be there?
im using the contempt_v2 theme
i added this code to my new theme BUT it looks Kinna strange, the thing is that the next and the previous images are stuck together, what should i write in the page template so that the previous image is to the left and the next image is to the right?
please help me 🙂
<?php previous_image_link() ?>
:<?php next_image_link() ?>
the page template can be found here: http://filer.dailymobile.se/forum/attachment.zip
- The topic ‘Next / Previous image’ is closed to new replies.