question about viewer.php page

All support enquiries for DFH go in here...

question about viewer.php page

Postby Elthib » Sat Dec 03, 2011 12:23 pm

hi people :)

i would like to know if it's possible to have a link we can put in the viewer.php to access on the full image by clicking on it

for example like the link "Click for Full Size" on that website :

http://nsa28.casimages.com/img/2011/12/ ... 870768.jpg

Do you know what i mean ? :)
Elthib
Standard Member
 
Posts: 9
Joined: Mon Mar 28, 2011 3:30 pm

Re: question about viewer.php page

Postby SamEA » Sun Dec 04, 2011 6:05 pm

Clicking on the image just link to the full image. :)
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: question about viewer.php page

Postby Elthib » Sun Dec 04, 2011 7:51 pm

huuh?

i don't have any link on my picture on the viewer.php page, the pic is not clickable
Elthib
Standard Member
 
Posts: 9
Joined: Mon Mar 28, 2011 3:30 pm

Re: question about viewer.php page

Postby SamEA » Sun Dec 04, 2011 10:11 pm

In ./styles/Indigo/image_viewer.php:

Replace:
Code: Select all
<img src="./<?php echo $path .$id;?>">


with
Code: Select all
<a href="<?php echo $path .$id;?>"><img src="./<?php echo $path .$id;?>"></a>
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: question about viewer.php page

Postby Elthib » Mon Dec 05, 2011 12:13 am

thx ;)
Elthib
Standard Member
 
Posts: 9
Joined: Mon Mar 28, 2011 3:30 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 15 guests

cron