Hi there, I was wondering if it's possible to get this effect when you enlarge your pictures in the FAP?
Click on the picture in the link to see the effect that I want.
Link:
http://bintang.klgate.com/index.php...id=88&Itemid=28
FAP CUSTOMIZATION - Possible To Get This Effect When Enlarging Pictures?
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Yes, you can get the script at http://www.huddletogether.com/projects/lightbox2/
Place the code to include the javascript and css files at the top of templates/YOUR TEMPLATES/album_showpage_body.tpl
For the active link:
OPEN album_showpage.php
FIND
REPLACE WITH
Place the code to include the javascript and css files at the top of templates/YOUR TEMPLATES/album_showpage_body.tpl
For the active link:
OPEN album_showpage.php
FIND
'U_PIC_L1' => ( $picm == false ) ? '' : '<a href="' . append_sid(album_append_uid('album_showpage.' . $phpEx . '?full=true&pic_id=' . $pic_id . $nuffimage_vars)) . '">',
REPLACE WITH
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
thx artie,
i like it too and try it later.
i like it too and try it later.
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Artie have you tested this?
i edited my file and added the lightbox part 1 in my album_showpage.tpl but its not working... i get a error 404 O_o
i edited my file and added the lightbox part 1 in my album_showpage.tpl but its not working... i get a error 404 O_o
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Yes, I've been using it for some time on a standard phpBB board. It was a long time ago, but I don't think I did anything special to get it to work. I'll check when I get a chance.
You may have to adjust the included script paths (Part 1) to point to your lightbox directory.
I haven't tried it on Icy Phoenix .... I'm sure it should work, but you will have to change the U_PIC_L1 path (Part 2) for sure.
You may have to adjust the included script paths (Part 1) to point to your lightbox directory.
I haven't tried it on Icy Phoenix .... I'm sure it should work, but you will have to change the U_PIC_L1 path (Part 2) for sure.
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Hmmm... Nothing comes up when I click the image.
It's just keeps thinking forever and ever.
Any idea what could have gone wrong?
Go here:
h**p://***.themagiciansknob.com/album_showpage.php?pic_id=36
Ok, I think I know what the problem is... I can't seem to find my uploaded pictures. I can't load a single picture in the browser. It's very wierd and I don't know why.
What I mean by this is that I can't link directly to a picture.
ie.
h**p://***.themagiciansknob.com/alb...fc416586703.jpg
ie2.
h**p://***.themagiciansknob.com/alb...7579dd5e538.gif
It's just keeps thinking forever and ever.
Any idea what could have gone wrong?
Go here:
h**p://***.themagiciansknob.com/album_showpage.php?pic_id=36
Ok, I think I know what the problem is... I can't seem to find my uploaded pictures. I can't load a single picture in the browser. It's very wierd and I don't know why.
What I mean by this is that I can't link directly to a picture.
ie.
h**p://***.themagiciansknob.com/alb...fc416586703.jpg
ie2.
h**p://***.themagiciansknob.com/alb...7579dd5e538.gif
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Please i have download the lightbox.
There are the folder: images, css, js
where do I have to copy them?
I have add in album_showpage_body.tpl these three lines:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
But don't fuction!
There are the folder: images, css, js
where do I have to copy them?
I have add in album_showpage_body.tpl these three lines:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
But don't fuction!
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
I guess it is not enough for that lightbox to work.
You should then insert it in thumbnails IMG tags something I guess.
Fabiomaticus wrote: [View Post]
I guess it is not enough for that lightbox to work.
You should then insert it in thumbnails IMG tags something I guess.
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Create a folder called lightbox in you phpbb_root.
Add these lines to the template file
and edit album_showpage.php as mentioned above.
Add these lines to the template file
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
and edit album_showpage.php as mentioned above.
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
Artie,
I got these modifications working on my forum album. What if I wanted to choose "View full pic as a popup". What would I have to modify to make the link for the popup point to the lighbox feature instead?
Thanks in advance for any help you can offer...
Tahoebuff
I got these modifications working on my forum album. What if I wanted to choose "View full pic as a popup". What would I have to modify to make the link for the popup point to the lighbox feature instead?
Thanks in advance for any help you can offer...
Tahoebuff
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
I guess it would be enough to add the include for the .js and .css files to the overall_header.tpl
and you would probably have to make the change below to several album php files. (album.php, album_cat.php, and others)
FIND
REPLACE WITH
Tahoebuff wrote: [View Post]
I guess it would be enough to add the include for the .js and .css files to the overall_header.tpl
and you would probably have to make the change below to several album php files. (album.php, album_cat.php, and others)
FIND
'TARGET_BLANK' => ($album_config['fullpic_popup']) ? 'target="_blank"' : '',
REPLACE WITH
Subject: Re: Possible To Get This Effect When Enlarging Pictures?
You guessed right Artie :D
The only other file I had to make the change in was album_personal.php
Thanks a million...
Tahoebuff
The only other file I had to make the change in was album_personal.php
Thanks a million...
Tahoebuff
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1251s (PHP: 18% SQL: 82%)
SQL queries: 10 - Debug Off - GZIP Enabled