The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hello
Rather then opening original image new page this little code makes image to go next image.
Go to your template folder and find ( photo_view.tpl )
THEN
Change this:
<a href="<?php echo $url; ?>/orig/<?php echo $this->photo['photo_id'],'.',$this->photo['ext']; ?>"><img src="<?php echo $url,'/',$this->photo['photo_id'],'.',$this->photo['ext']; ?>" alt="<?php echo e($this->photo['caption']); ?>" /></a>
To This:
<a href="<?php echo RELATIVE_URL,'/photo/',$this->next_photo,'/'; ?>"><img src="<?php echo $url,'/',$this->photo['photo_id'],'.',$this->photo['ext']; ?>" alt="<?php echo e($this->photo['caption']); ?>" border="0" /> </a>
This will make your click to load next picture .
Enjoy
Offline
can't find the <a href="<?php echo $url; ?>/orig/<?php echo $this->photo['photo_id'],'.',$this->photo['ext']; ?>"><img src="<?php echo $url,'/',$this->photo['photo_id'],'.',$this->photo['ext']; ?>" alt="<?php echo e($this->photo['caption']); ?>" /></a>
Offline
i;ve find it. just uploaded the photo_view from the last update..
Thanks (Y)
Offline
Pages: 1