Domanda

Sto usando Greybox per visualizzare le immagini in un set di immagini.Quando clock su uno dei collegamenti, viene visualizzato il set di immagini, ma le immagini non vengono caricate la prima volta (mostra solo uno sfondo bianco - vedere l'immagine allegata).Se spostando in avanti un posto nel set di immagini e poi tornerà correttamente renderà correttamente.

Sto caricando i seguenti file nella sezione e viene impostata la variabile GB_Root_Dir.Eventuali suggerimenti?Grazie!

<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />
.

Inserire l'immagine Descrizione qui

È stato utile?

Soluzione

Figured it out - the image for my thumbnail (square) and what was to be loaded in the greybox (oblong) were two physically different files. GB doesn't handle that for some reason.

Altri suggerimenti

Actually, if you were using Greybox v5.54 when you ran into this problem, you most likely were victim of a bug reported in this version, which is somehow related with (pre-)loading the pictures.

Try absolute paths for your gallery items. Fixed that behavior for me.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top