Fancybox Download 2.4

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 9 years ago

This component will open a images in newsfeed into fancybox image viewer:

Discussed here: http://community.opensource-socialnetwork.org/discussion/view/344

Fancybox 2.1

  • Refactoring the JS code.
  • Moved to js/ossn.site instead of head.
  • Fixed issued with already existing photos not showing fancybox unless some ajaxComplete is performed. (as mentioned by Michael).

Fancybox 2.0 by Rafael Amorim https://www.opensource-socialnetwork.org/u/rafaelAmorim

  • Fancybox open after pagination load
  • Using fancybox v.4, instead v.2
  • Added language support
  • Add option to show or not fancybox in photo albums

Fancybox 1.5

Users graphic disappear in admin dashboard #2

Comments
us David Castrejon Replied 8 years ago

Is this no longer working? Installed and Enabled, doesn't seem to do anything.

Catalan Chris kenny Replied 8 years ago

Please update this component to the latest version.

Gracjan Deresz Replied 9 years ago

It doesn't work...?
Can click on added photos to zoom / open in fancybox.

German Michael Zülsdorff Replied 9 years ago

Working example can be found at
http://www.zytanien.de/forum/album/view/20

I was unable to post the code here correctly,
get my original posting from
http://z-mans.net/ossn-reports/zetgal.txt

German Michael Zülsdorff Replied 9 years ago

@Vilmos
perhaps you could tell us which way you're expecting your idea to work?

Currently, clicking an album thumb leads to a new page including the large picture and the ability to comment, or to remove the photo if you are the owner.

If you're going to wire the click event to fancybox instead, this option will be lost because a fancybox picture(-gallery) will be displayed.

Maybe there's a chance to make the link to the large picture page part of fancybox's title/caption.

Hungarian Vilmos Molnár Replied 9 years ago

OssnPhotos albumba nem lehetne integrálni?

Nguyễn Bá Tân Replied 9 years ago

Hi Zet Man,

Where you add function afterClose?

/var/www/ossn/components/fancybox/ossn_com.php

ng Moneya Replied 9 years ago

nice

pk Malik Ehsaan Replied 9 years ago

when click on image. then image will bhi disappear in news feed.
after refreshing the page image show back again.

German Michael Zülsdorff Replied 9 years ago
afterClose: function(){
    $(".activity-item-container .description img").show();
},

adding this callback removes the display: none from image on closing

And of course: thanks for the component. :)

Component

Developer: Arsalan
License GPL v2
Type: Photos and Images
Requires Ossn Version : 6.1
Latest Version: 2.4
Last Updated 1 year ago
Repository Url View Repository

Versions