If Lightbox2 is enabled File browser link will open in lightbox

CommentFileSizeAuthor
patch_commit_190867247bc1.patch2.21 KBNikdhil Mdohfan

Comments

quicksketch’s picture

Category: task » feature
Status: Patch (to be ported) » Postponed

I'm not sure about this. You could abstract this out into a 3rd module that integrates both Lightbox2 and FileField Sources by using hook_filefield_sources_info_alter(). My preference is to not include any Lightbox/Colorbox/OtherBox integration because there are simply too many choices.

Nikdhil Mdohfan’s picture

Makes sense.
But i did this because i dont want users to navigate to another page.