Next / Previous image
-
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
http://www.liewcf.com/blog/archives/2005/09/contempt-wordpress-theme/
Hi
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 🙂
Current code:
Previous Image:<?php previous_image_link() ?>
Next Image
:<?php next_image_link() ?>
example url: http://dailymobile.se/2008/12/12/htc-touch-hd-photo-gallery-2/htc-touch-hd-pictures-03/
the page template can be found here: http://filer.dailymobile.se/forum/attachment.zip
it have been fixed now =)
can you share with us your solution.
- The topic ‘Next / Previous image’ is closed to new replies.