snaefell
02-09-2006, 12:25 PM
This addon enables wraparound in your photoblog.
Clicking on 'next photo' at the newest photo leads to the last
one available in the database, clicking on the first photo available
leads to the newest one, the same happens if you click on previous.
Copy the wraparound_images.php into the addon folder of your pixelpost installation.
To make the addon working, the image_template.html of your actice template must be
modified as followed:
Change all <IMAGE_NEXT_ID> to <IMAGE_NEXT_ID_WRAPAROUND>
and all <IMAGE_PREVIOUS_ID> to <IMAGE_PREVIOUS_ID_WRAPAROUND>.
Thats all what needs to be done.
The file replaces the old index.php hack, which did the same.
It can be downloaded at: http://www.snaefell.de/temp/wraparound_images.zip
Clicking on 'next photo' at the newest photo leads to the last
one available in the database, clicking on the first photo available
leads to the newest one, the same happens if you click on previous.
Copy the wraparound_images.php into the addon folder of your pixelpost installation.
To make the addon working, the image_template.html of your actice template must be
modified as followed:
Change all <IMAGE_NEXT_ID> to <IMAGE_NEXT_ID_WRAPAROUND>
and all <IMAGE_PREVIOUS_ID> to <IMAGE_PREVIOUS_ID_WRAPAROUND>.
Thats all what needs to be done.
The file replaces the old index.php hack, which did the same.
It can be downloaded at: http://www.snaefell.de/temp/wraparound_images.zip