Adult Script Pro Community Forums

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.

#1 2014-09-05 04:52:07

guldesign
Member
Registered: 2013-09-21
Posts: 30

Photo View Mod

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

#2 2014-09-08 20:01:49

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Photo View Mod

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

#3 2014-09-08 20:03:53

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Photo View Mod

i;ve find it. just uploaded the photo_view from the last update..

Thanks (Y)

Offline

Board footer

Powered by FluxBB