Fancybox Download 2.4

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 10 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
German Dominik L Replied 2 days ago

So, the dev tools in Safari are not giving any clue about what happens

I get this error:

enter image description here

After reloading, the error is gone but the picture is still not visible

I created a test account and there is the error also happening but not with all browsers

Username: test123
password123

I will not clear the cache for the next few hours

German Dominik L Replied 5 days ago

I don't need to provide a test account because the error is only happening for few users.

When the error has happened, I asked 4 friends and only one of them had this issue as well.

So even if I would create a test account it's very likely that it does not have this issue.

Also this error is happening on my productive site and I don't want any test accounts on my productive site

At the moment I am waiting for the error to happen again so I can check the developer tools like Arsalan mentioned.

Dutch Eric redegeld Replied 5 days ago

;-)
just try to help, got an active shadow site where i test an apply modules before......

German Michael Zülsdorff Replied 5 days ago

Crazy world:
Dominik got a problem, but instead of him making a test account available to see what's going wrong, it's Eric to confirm there's no issue!?!
Please remember:
https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error-issue

Indonesian Arsalan Shah Replied 6 days ago

If it works and then stop working sometime that is strange issue. You should look into your browser console and see why images are not loading.

German Dominik L Replied 6 days ago

@eric, the error is not happening every day or every time, it is just happening sometimes and not on all devices

this is on my smarthphone right now with chrome

enter image description here

This is the same post few minutes later on macbook with chrome: you can see the profile picture, i just censored the face a little

enter image description here

and this is the same post on my macbook with safari

enter image description here

All with the same account just a few minutes between the screenshots

If I now clear the site cache or disable fancybox, the error is gone

In this example I disabled fancybox and enabled it again and now it is visible again on all devices

enter image description here

Dutch Eric redegeld Replied 1 week ago

test on my shadow. and all seems okay
https://shadow.nlsociaal.nl/u/beheerder

from computer and smartphone

German Dominik L Replied 1 week ago

I don't know but it happens

It also happens to post without image - only profile picture disappear

enter image description here

Indonesian Arsalan Shah Replied 1 week ago

It is strange because fancy box doesn't do anything with user profile photo.

German Dominik L Replied 1 week ago

hello, there seems to be a cache problem with fancybox

sometimes I open my site and see this:

enter image description here

This is only happening on some devices -> i tried on several devices and browsers and only could reproduce it on safari on Mac and Chrome on Android

The only way to get rid of this "Image not available" is to temporarily deactivate fancybox or to clear the cache

other users already told me about that and in the last weeks it's happening more often

Component

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

Versions