Closed (fixed)
Project:
Album Photos
Version:
6.x-1.4-beta2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2008 at 11:29 UTC
Updated:
1 Aug 2013 at 02:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
Babalu commentedor jquery lightbox :)
Comment #2
Babalu commentedhmm nobody think thats a good idea ? :)
Comment #3
Babalu commentedi think thats a good thing for small pages (in the width) and original size pictures
Comment #4
Babalu commentedComment #5
zdean commentedI would be very interested to know how to show photos/albums in Lightbox2.
Can someone please share instructions for doing so...I tried using the "custom image trigger classes" feature in LB2 but can't seem to make it work.
thanks for any ideas!
Comment #6
kecinzer commentedSubscribing :).
Comment #7
tuoermin commentedIf you want to integrate it with lightbox you should change the line 525 in photos.module file:
Original:
Changed:
The only trouble that remains is when albums have multiple pages. Lightbox's grouping images function works just for images on one page. You should thus close Lightbox, load next page and click on image to start viewing the next group of images.
Note to developer:
The l() function's $options array is not structured correctly and thus the attribute class="imageview" is not inserted to the image link.
The rel="lightbox[88]" attribute could be changed to something more generic, like rel="albumPhotos[88]", and then change Lightbox settings (Administration->Site configuration->Lightbox2->Automatic image handling->Custom Class Images).
Comment #8
eastcn commentedthanks
Comment #9
judaz commentedHi !
The nice workaround / fix that tuoermin described eralier in the post, doesnt work anymore, the script
seems to have been somewhat updated/upgraded to support flash 8/10 and some other issues.
Im using the latest beta 6.x-2.5-beta4.
There is a Thickbox directory within the module, but it doesnt say anywhere on how to apply / use the function.
Used the Trial & Error method to try to get the fix above to work with the new beta, but no dice.
If anyone have a minute or two, i would deeply appriciate any help that can be given.
Kinda Regards,
J
Comment #10
vako commentedI will second judaz's request. I hope we get a resolution or a fix soon.
Comment #11
raplom commentedThanks for this tuoermin
Works with my setup:
Lightbox2 (6.x.1.9)
Album Photos (6.x.1.4-beta3)
Comment #12
marzoo commentedHello,
First of all, sorry for my english... :s
I'm working with Album Photos (6.x.2.5-beta4)...
I try this with lightbox:
$output = l('<img alt="'.$t['title'].'" title="'.$t['des'].'" src="'._photos_file_create_url($t['p1']).'">', $t['p2'], array('attributes' => array('class'=> 'imageview', 'rel' => 'lightbox[' . $t['pid'] .']'),'html'=>true));and this with thickbox
Thickbox or lightbox are ok... but there's no image inside.
The path is wrong and i don't know why.
it gave me : /root/?q=sites/default/files....
instead of : /root/sites/default/files....
Someone can help me please ?
Comment #13
vako commentedEnable Clean URLs at: /admin/settings/clean-urls
and hopefully the problem will be fixed for you.
Comment #14
marzoo commentedYes! Thank you !
I'm working on the localhost with easyphp, and this option is disable,
but on the web server all is ok!
Comment #15
eastcn commentedThe next release will contain thickbox functionality, please view the demo: http://album.cmsns.com/node/8
thanks.
Comment #16
barroomhero commentedFirst, thanks for this module it's great!!!
I can't find in the album photo settings where i could activate thickbox in the previous message you said it will be a functionality but i can't see it!
thanks
cheers
Comment #17
radiofranky2009 commentedI'm using 6.x-2.6-beta3 module and I was wondering if is possible when user click the image, the lightbox pops up instead need to click on the tiny pictures on lower side of the thumbnail?
Could you please show me where to modify in photo.module to replace "http://localhost/photos/image/439" with "http://localhost/photos/get/439/640x480/sites/default/files/photos/image..." which is pop up lightbox.
update: quick dirty way I did is use photo.css to resize the thinkbox from 20 x 20 to my size 100 x 100 and remove the move-over image
thanks
Comment #18
Fogg commentedhow do I activate the thickbox in 2.6 ? It should be available, right?
Comment #19
kamydon commentedHow can thickbox or lightbox be enabled with the new feature? I can't find the way.
Help is very appreciated.
Thanks
Comment #20
eastcn commented@radiofranky2009
@Fogg
@kamydon
1, set the album: http://drupal.org/files/2010-04-24_094300.png
2, in Teaser view: http://drupal.org/files/2010-04-24_094151.png
Comment #21
nathaniel commented