Search…

X3 Photo Gallery Support Forums

Search…
 
Nick85
Experienced
Topic Author
Posts: 30
Joined: 22 Feb 2011, 17:08

Thumbnails and their titles

20 Mar 2011, 06:09

How I can create a HTML-template where it will be viewable all image TITLES just under/over/above image thumbnail?
Basic html-template only shows image titles in tooltip when i hovering the mouse pointer over a specific thumbnail.
It's very inconvenient to move mouse over all thumbs while searching a specific filename.

why folder names are with titles, but thumbnail without?
please help me to create template where all thumbnails will be with all their titles. I tried to find the decision but failed.

Also it will be very convenient to have possibility to change between "View as grid" and "View as list" like in admin.
By default we can see thumbnails in html-template only like "View as grid".

i find DefaultViewAs menu option in setting but nothing changed. what is this ption changes?
Attachments
thumbs titles.jpg
thumbs titles.jpg (63.88 KiB) Viewed 4559 times
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Thumbnails and their titles

21 Mar 2011, 12:29

If you want you can try and hack it yourself, in templates/index.html.phtml inside of div id="thumbnails" you can make title to appear using

<?php echo $item->getTitle(); ?>

But this won't get you anywhere, because html is bit overcomplicated there. If you will wait a bit we can provide you with a development version with titles being nicely displayed. Or just wait for the next update.
firedev.com
 
Nick85
Experienced
Topic Author
Posts: 30
Joined: 22 Feb 2011, 17:08

Re: Thumbnails and their titles

22 Mar 2011, 05:17

Thank you for trick.
This is very useful feature. Will be waiting for this in next update.

I inserted this code after before </a> tag inside div id="thumbnails" and it works like this:
Attachments
Снимок.JPG
Снимок.JPG (16.32 KiB) Viewed 4539 times
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Thumbnails and their titles

24 Mar 2011, 03:50

New version displays titles nicely, if you disable auto-titling then it won't display anything at all unless you add the title yourself.
firedev.com
 
Nick85
Experienced
Topic Author
Posts: 30
Joined: 22 Feb 2011, 17:08

Re: Thumbnails and their titles

24 Mar 2011, 06:44

Are you talking about 2.6.4. ?
Auto titling works only in flash mode, not in html (in html it shows in tooltip). therefore i asked about help.
Maybe in future versions there are sense to add autotitling html setting separately ?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Thumbnails and their titles

25 Mar 2011, 14:52

No, I am talking about 2.7 which is going to look like this:

Image
firedev.com
 
Nick85
Experienced
Topic Author
Posts: 30
Joined: 22 Feb 2011, 17:08

Re: Thumbnails and their titles

26 Mar 2011, 07:06

It's will be very nice )