iGalerie

Vous n'êtes pas identifié(e).

Annonce

Un message d'erreur qui s'affiche ? Un mot de passe oublié ? L'ajout de fichier qui ne marche pas ?
Pensez d'abord à lire la FAQ, vous y trouverez probablement une solution à votre problème.

#1 Re : Bugs » Modals do not work on my v3.0.23 install » 30-03-2024 22:41:01

Thanks David. It was from the Cloudflare CDN and solved by turning off its Rocket Loader feature.

Still having issues, apparently related to new CSP. Is this the right syntax to use in config.php?

define('CONF_HTTP_CSP_HOSTS', 'https://addtoany.com/ https://static.addtoany.com/ https://www.abol.us/ https://cdnjs.cloudflare.com/ https://www.cloudflare.com/ https://www.woodcentral.com/');

This relates to the fixed icons in the lower-right corner.

https://www.woodcentral.com/igalerie/

Added nonce to the scripts that are located in the page footer (see source code view). All now working except the green BACK icon and red CLOSE icon, and I cannot figure out why. My JavaScript skills are average at best, and I am just now learning how Content Security Policies work.

No incidents reported.

NU HTML checker
https://validator.w3.org/nu/?doc=https: … galerie%2F

#2 Bugs » Modals do not work on my v3.0.23 install » 28-03-2024 14:26:50

Peter Martin
Réponses : 3

https://www.dissens.us/i/ <== v3.0.23 (does not work, no incidences reported)
https://www.woodcentral.com/gallery/ <== v3.0.22 (work OK)

Clicking any link that uses a modal (login, edit, slideshow, etc.) does not work. In another thread, you mentioned v3.0.23 uses Content Security Policies. Where are the CSP policies defined? I suspect the JavaScript is not loading.

#3 Re : Utilisation » javascript in head.tpl.php » 27-03-2024 22:51:42

Might this be related to why the slideshow stopped working after I upgraded? Ditto for the modals (login, edit icon, etc.).

#4 Bugs » diaporama.css » 26-03-2024 09:30:07

Peter Martin
Réponses : 0

Not a bug but a suggestion, please move to more appropriate forum if needed. The slideshow PLAY and STOP do not display correctly, as I have integrated iGalerie into a platform using a CSS framework (W3-CSS) which apparently interferes and causes the text to not line up with the background circle.

This modification fixes this by applying flexbox properties (justify-content and align-items) to horizontally and vertically center the content inside the circle.

/* Message du mode automatique. */
#diaporama_auto_message {
  position: absolute;
  top: 53px;
  left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  padding: 10px;
  font-size: 200%;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #2E2E2E;
  text-align: center;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  box-shadow: 0 0 20px #2E2E2E;
}

Pied de page des forums

Propulsé par FluxBB