Author |
Topic: template question (Index page without thumbnails) (Read 3527 times) |
|
mintUK
Board Newbie


Email
Posts: 10
|
 |
template question (Index page without thumbnails)
« on: Jan 30th, 2004, 4:19pm » |
Quote | Modify
|
Is there any way to separate the image title from the thumbnail on the index page, so that, say, I could just have a list of titles as links to the image pages, or a thumbnail with the image title below it as a link? Right now i do not see a way of doing this, but perhaps I am missing something. Any help would be appreciated! regards -shannon http://circumstance.org
|
| « Last Edit: Feb 2nd, 2004, 8:48am by Didier Guillion » |
offline |
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #1 on: Jan 30th, 2004, 10:09pm » |
Quote | Modify
|
There is no way to achieve that by editing the template. When you compare the source in "index template.html" with the source in the generated "index.html", you will see that $INDEX_IMAGES$ in the template is replaced by a table with the thumbnails in the chosen number of rows and columns, with title and/or comment and/or exif data below each thumbnail and with the thumbnails linked to the image pages. The table is generated by Galerie and there is no way the user can influence that. It would need new features in a next version of Galerie enabling choice of different index page setups. I think it will depend on the number of users requesting such features wether they will be built into Galerie. But Didier Guillion is of course the one to judge that. Is there a special reason why you would prefer the title rather than the thumbnail to be the link?
|
| « Last Edit: Jan 30th, 2004, 10:15pm by Ronald P. Regensburg » |
offline |
Ronald.
|
|
|
mintUK
Board Newbie


Email
Posts: 10
|
 |
Re: template question
« Reply #2 on: Jan 30th, 2004, 10:28pm » |
Quote | Modify
|
yes, I realized this once I opened up the template html files and saw there is only one entity for the thumbnail, the title, and any other data one wishes to display, it wouldnt be possible. I am rather disappointed, but I am also probably a much more demanding user than most. I would like full control over the layout of the index page. This would include doing things like: Not having any thumbs at all on the page, but rather list of links which will (1) make the entire page load faster and (2) create some curiosity on the part of the user in which they will want to click to see the image. I usually end up with lots of photos per index, I find that it looks better this way (matter of personal taste). Also since I usually already have a smaller version of the photos linked from elsewhere on the site, I don't need the thumbs. BUT I would be willing to use them, if say, I could put the text NEXT to or ON TOP of the thumbnail. Or wherever I want. I feel rather limited in having to have them appear only under the photo. I find that with lots of images, the page looks rather messy (to my eye). I prefer the orderly look of a list! I really want something that can do what I have done with my other photos indexes ( http://circumstance.org/london_2003/ , for example). but I do realize that this app is mainly used by iphoto users who might have little or no HTML knowledge, who want something simple and easy.
|
|
offline |
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #3 on: Jan 30th, 2004, 11:29pm » |
Quote | Modify
|
Very nice indeed! But this cannot be done with Galerie in its present form.
|
|
offline |
Ronald.
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #5 on: Jan 31st, 2004, 12:02pm » |
Quote | Modify
|
on Jan 31st, 2004, 8:25am, Didier Guillion wrote: I notice you used comments rather than titles. Titles will usually not contain returns which will look better in a list. Could you make another trial replacing <td width="200"> with <td align="left" nowrap> and using titles or comments that are in one line each? I think that will look much better and it will be more the kind of list Shannon 'mintUK' meant.
|
|
offline |
Ronald.
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #7 on: Jan 31st, 2004, 2:58pm » |
Quote | Modify
|
on Jan 31st, 2004, 1:33pm, Didier Guillion wrote: Yes, that is what I mean. However, the table is very wide, still using the cell width for thumbnails plus their horizontal spacing. This makes it difficult to build templates for it, it is not possible to place other elements, like pictures, next to the list. The templates we use now are made for thumbnails. Lists could be used in very different templates. I think for not using the thumbnails in an index page, using text as links, a different table should be generated. Maybe that could be done with a different "$tag$". A template using that $tag$ instead of $INDEX_IMAGES$ (it could be called $INDEX_LIST$) would than generate the index list table. I posted two examples (still using the Default template) with such a new table. The variable horizontal and vertical spacing can also be used in this table. In these examples the vertical spacing is set to "5", resulting in a distance of 10 pixels between lines, and the horizontal spacing is set to "20" for a distance of 40 pixels between columns. This table can not be used as such in a frame set as there is no predictable width of the cells. With list in one column: http://www.xs4all.nl/~ronaldpr/test3/ With list in two columns: http://www.xs4all.nl/~ronaldpr/test5/
|
|
offline |
Ronald.
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #10 on: Feb 1st, 2004, 5:00pm » |
Quote | Modify
|
on Feb 1st, 2004, 12:28pm, mintUK wrote: Yes, of course, it would normally be without the numbers. The numbers were added to the titles just for demonstration purposes.
|
|
offline |
Ronald.
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question
« Reply #11 on: Feb 1st, 2004, 5:10pm » |
Quote | Modify
|
on Feb 1st, 2004, 3:19pm, Didier Guillion wrote: Didier, Very nice! I think this is what Shannon 'mintUK' asked for. As I understand from your email to me, cell widths and heights in this table could be adjusted using the spacing sliders in Galerie. I will contact you by email about the technicalities of the table setup. Regards,
|
|
offline |
Ronald.
|
|
|
mintUK
Board Newbie


Email
Posts: 10
|
 |
Re: template question
« Reply #12 on: Feb 1st, 2004, 6:27pm » |
Quote | Modify
|
on Feb 1st, 2004, 3:19pm, Didier Guillion wrote: Yes, that is very nice. Almost exactly the way I have my image indexes on my site!
|
|
offline |
|
|
|
Didier Guillion
Administrator
    

WWW | Email
Gender: 
Posts: 8055
|
 |
Re: template question (Index page without thumbnai
« Reply #13 on: Feb 2nd, 2004, 8:54am » |
Quote | Modify
|
Hi, Here is the next step. This new beta version allow you to generate index page without thumb. The text related to the picture (title, comment, EXIF, date) link to the picture page. To activate this mode set the thumb size to 0. The vertical and horizontal distance slider setup the distance between texts. A test template is provided in the disk image :"Test in blue", drag it in your "Galerie Template" folder and start working with it. The image.jpg file (the black and white image in the index page, can be replaced by your own page. This template use css to avoid underlined links. Here is the disk image : http://www.myriad-online.com/perso/photos/GalerieBeta.dmg By the way, some elements of reflection. May be it will be useful to specify, in each templates, some user defined texts (header and footer) and image file. In the "Test in blue" template the user will be able to substitute the image displayed without editing the template. May be a $IMAGE$, $HEADER$, $FOOTER$ tag in the template ? Best regards
|
|
Logged |
Myriad Team
|
|
|
Ronald P. Regensburg
Board Master
    

Email
Gender: 
Posts: 995
|
 |
Re: template question (Index page without thumbnai
« Reply #14 on: Feb 2nd, 2004, 11:43am » |
Quote | Modify
|
Regrettably I have no time today for testing, maybe tomorrow. I don't think you need a $IMAGE$ tag. Just call the picture something like "indeximage.jpg" and one can simply replace it one's own picture. Templates can have none or several images (with different names of course).
|
|
offline |
Ronald.
|
|
|
|