Author |
Topic: Modification de la valeur $INDEX_IMAGE$ (Read 1927 times) |
|
dba
Board Newbie


Posts: 5
|
 |
Modification de la valeur $INDEX_IMAGE$
« on: Mar 21st, 2004, 11:15am » |
Quote | Modify
|
Bonjour, Je suis en train de redéfinir un template pour Galerie, et j'aimerais savoir si il était possible de modifier la valeur du champ $INDEX_IMAGE$. Lors de l'appel de l'index.html de l'albums, j'utilise des pseudo frame en php qui fait que je reste dans la racine de mon site. La valeur $INDEX_IMAGE$ permet de définir src= et j'aimerais quelque chose comme src=photos/nomdelalbum/ "photos" serait statique "nomdelalbum" = $TITLE$ (par exemple) c'est possible de faire ça en ce moment ? merci d'avance, / Damien
|
|
offline |
|
|
|
Didier Guillion
Administrator
    

WWW | Email
Gender: 
Posts: 8420
|
 |
Re: Modification de la valeur $INDEX_IMAGE$
« Reply #1 on: Mar 21st, 2004, 5:00pm » |
Quote | Modify
|
Bonjour, Je suis désolé je ne comprends pas votre question... Cordialement
|
|
offline |
Myriad Team
|
|
|
dba
Board Newbie


Posts: 5
|
 |
Re: Modification de la valeur $INDEX_IMAGE$
« Reply #2 on: Mar 22nd, 2004, 8:51am » |
Quote | Modify
|
Bonjour, Je me suis surement mal exprimé ..... Si j'ai bien compris la valeur $INDEX_IMAGE$ permet de générer le chemin les liens des petites images vers les grandes. Par défaut les liens pointes comme si l'on était dans le répertoire racine de l'album. J'aimerais savoir si il est possible de modifier cette valeur afin que les liens se génèrent comme si l'on était pas dans le répertoire racine de l'album. avec par exemple, href="photos/nom_de_l_album/page9.html" Par défaut cette valeur est href="page9.html" j'espère que je me suis mieu exprimé ... merci d'avance. / Damien
|
|
offline |
|
|
|
Didier Guillion
Administrator
    

WWW | Email
Gender: 
Posts: 8420
|
 |
Re: Modification de la valeur $INDEX_IMAGE$
« Reply #3 on: Mar 22nd, 2004, 11:13am » |
Quote | Modify
|
Bonjour, Non, Galerie va toujours chercher les pages à l'endroit où il les génère. Cordialement
|
|
offline |
Myriad Team
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 999
|
 |
Re: Modification de la valeur $INDEX_IMAGE$
« Reply #4 on: Mar 22nd, 2004, 11:42am » |
Quote | Modify
|
Hi Damien, I hope your understanding of English is better than my understanding of French. $INDEX_IMAGES& is replaced by Galerie by the table with thumbnails (vignettes) in the index pages (index.html, index2.html, etc.). As Didier Guillion explained, the links refer to the (relative) location where the pages are generated. The location of the pages depends on the setting of "Create in separate folder" (Créer des dossier séparés). If that box is not checked, the the links will be href="page_1.html", href="page_2.html", etc.. If that box is checked, the links will be href="pages/page_1.html", href="pages/page_2.html", etc.. If you have more than one gallery, each gallery should be in its own folder "album_name". With Galerie it is also possible to make a main index page with links to the index.html files in each separate album folder. If you wish to have the galleries appear inside a frame of a frame set page on the root level of your site, that should be possible without changing the behaviour of Galerie, all links on any index page in any album will work within that frame as those links need only be relative to that particular index page. From each index page you can link back to your start frame using its (relative or absolute) address for the "Link to home page" when generating your galleries.
|
|
offline |
Ronald.
|
|
|
dba
Board Newbie


Posts: 5
|
 |
Re: Modification de la valeur $INDEX_IMAGE$
« Reply #5 on: Mar 22nd, 2004, 12:49pm » |
Quote | Modify
|
Hi Ronald, Thanks a lot for your precisions. Regard, / Damien
|
|
offline |
|
|
|
|