Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP CUSTOMIZATION - Possible To Get This Effect When Enlarging Pictures? 
 
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
 



 
FabiomaticusSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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
Code: [Download] [Hide] [Select]
'U_PIC_L1' => ( $picm == false ) ? '' : '<a href="' . append_sid(album_append_uid('album_showpage.' . $phpEx . '?full=true&amp;pic_id=' . $pic_id . $nuffimage_vars)) . '">',

REPLACE WITH
Code: [Download] [Hide] [Select]
     'U_PIC_L1' => ( $picm == false ) ? '' : '<a href="album_mod/upload/'.$thispic['pic_filename'].'" rel="lightbox" title="'.$thispic['pic_title'].'">',

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
thx artie,

i like it too and try it later.
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
Great thing,

thanks Artie
 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
GreveSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
Delete htaccess
 



 
FabiomaticusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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!
 



 
FabiomaticusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
Fabiomaticus wrote: [View Post]
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!

I guess it is not enough for that lightbox to work.

You should then insert it in thumbnails IMG tags something I guess.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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


Code: [Download] [Hide] [Select]
<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" />


and edit album_showpage.php as mentioned above.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
TahoebuffSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
Tahoebuff wrote: [View Post]
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 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
Code: [Download] [Hide] [Select]
'TARGET_BLANK' => ($album_config['fullpic_popup']) ? 'target="_blank"' : '',

REPLACE WITH
Code: [Download] [Hide] [Select]
//'TARGET_BLANK' => ($album_config['fullpic_popup']) ? 'target="_blank"' : '',
        'TARGET_BLANK' => ($album_config['fullpic_popup']) ? 'rel="lightbox"' : '',

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Possible To Get This Effect When Enlarging Pictures? 
 
You guessed right Artie  

The only other file I had to make the change in was album_personal.php

Thanks a million...

Tahoebuff
 



 
TahoebuffSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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