Back to top

Autore Topic: [RISOLTO]sigplus-immagine per la categoria  (Letto 1524 volte)

Offline vale_bun

  • Nuovo arrivato
  • *
  • Post: 11
    • Mostra profilo
[RISOLTO]sigplus-immagine per la categoria
« il: 31 Mag 2012, 10:45:52 »
rieccomi !
ho installato il plug-in sigplus e studiandomi tutte le documentazioni l'ho fatto funzionare ed è perfetto per le mie esigenze, mi è rimasto solo un problema da risolvere, nel senso che io applico le indicazioni della documentazione ma non accade quello che dovrebbe !
in pratica in un articolo devo caricare più gallery e voglio che per ognuna si veda solo un'immagine rappresentativa che se viene poi cliccata faccia aprire la slideshow in cui si vedano anche tutte le altre della sua categoria, ho trovato le indicazioni ma una volta applicato il valore 1, si apre la finestra della slide ma dentro c'è solo quell'unica immagine
queste sono le indicazioni della documentazione :
Maximum preview image count 
Local parameter maxcount
Parameter type/value integer
Available ≥ 1.3.0
Summary Maximum number of preview images to show. If set to zero, all images in the gallery will be shown as previews, possibly broken down into multiple pages. If set to a positive integer, only the specified number of preview images will be displayed, even though it is still possible to view all images when browsing the gallery inside the pop-up window.
Details 
Example {gallery rows=2 cols=3 maxcount=5}fruit{/gallery} will show at most 5 preview images arranged in a 2-by-3 grid.
ho provato anche con un'altro metodo per inserire un'immagine che faccia da link alla slideshow, ma anche questo non funziona, nell'articolo compare la scritta compresa tra <> ma non è un link

queste sono le indicazioni della documentazione :
  Opening a pop-up window gallery with a custom hyperlink  [≥ 1.3.4 and ≥ 1.4.2] sigplus supports activating a pop-up window and showing a gallery within by subscribing to the click event of a custom anchor. Suppose you would like to create a gallery but want to show the pop-up window for the gallery using a link rather than by having the visitor click one of the sigplus-generated preview images. First, create the gallery using the regular syntax but specify hidden as the layout to use and assign a unique id attribute to the gallery. If you use the plug-in, type
{gallery id=mygallery layout=hidden}myfolder{/gallery}
  The parameter layout=hidden is optional and tells sigplus not to show the gallery in place of the activation tag. (In fact, the gallery will be embedded in the page surrounded with a div element whose style is set to display:none.)
 In contrast, if you use the module, you should use the Custom parameters text box in the Advanced parameters panel, and type the following in a separate line:
id=mygallery 
  Once the gallery has been included either as a (possibly hidden) embedded gallery or a module, type the following in the body of the same article:
{gallery link=mygallery}Open gallery in pop-up window{/gallery}
  This will create a link with the text Open gallery in pop-up window. Notice the link attribute, which tells sigplus which gallery to open when a visitor clicks the link, which is typically the id of one of the hidden galleries but it can point to any visible gallery as well. When the visitor clicks the link, the pop-up window will be shown with the images in the gallery.
 You are not restricted to text inside the link, sigplus accepts any HTML content that is permitted inside a link. The following example illustrates that this includes images:
 A strawberry height=56
 The code for the example above reads as follows:
{gallery link=buildings}<img height="56" width="75" src="strawberry.jpg" />{/gallery}

« Ultima modifica: 31 Mag 2012, 11:46:10 da vale_bun »

 



Web Design Bolzano Kreatif