We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Photos en fullscreen | Forum

Norias
Norias Jan 8

Depuis la version 71, chrome, et d'autres navigateurs basés sur le meme moteur, ne gerent plus le fullscreen de la meme manière qu'avant.

Du coup il n'est plus possible de passer en fullscreen via le bouton en bas à droite des photos.

Pour y remédier, il faut remplacer dans /ow_plugins/photo/static/js/photo.js  la ligne 1435 

   elem[_vars.fullScreen.requestFullscreen](keyboardAllowed && Element.ALLOW_KEYBOARD_INPUT);


par

   elem[_vars.fullScreen.requestFullscreen]({keyboardAllowed});



Source: https://github.com/oxwall/photo/commit/cbec199d3a304b54355c2513909ef2aea5fbe612

Massimo Fagni

Hi Norias


Assurer? J'ai fait ce changement mais cela ne fonctionne toujours pas!


Sure? I made this change but it still does not work!

Norias
Norias Feb 9
are you talking about maxartis.com ?

there is no change on this site...

Massimo Fagni
Massimo Fagni Feb 10
I refer to maxartis.com, I corrected the photo.js file as you said but the magnification with chrome does not work.
Norias
Norias Feb 12
This file is not modified : https://www.maxartis.com/ow_static/plugins/photo/js/photo.js


If you make the modification in the /ow_plugins/photo/static/js/ folder, you need to clear the oxwall cache.