Page 1 of 1

Thumbnails and their titles

Posted: 20 Mar 2011, 06:09
by Nick85
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?

Re: Thumbnails and their titles

Posted: 21 Mar 2011, 12:29
by Nick
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.

Re: Thumbnails and their titles

Posted: 22 Mar 2011, 05:17
by Nick85
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:

Re: Thumbnails and their titles

Posted: 24 Mar 2011, 03:50
by Nick
New version displays titles nicely, if you disable auto-titling then it won't display anything at all unless you add the title yourself.

Re: Thumbnails and their titles

Posted: 24 Mar 2011, 06:44
by Nick85
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 ?

Re: Thumbnails and their titles

Posted: 25 Mar 2011, 14:52
by Nick
No, I am talking about 2.7 which is going to look like this:

Image

Re: Thumbnails and their titles

Posted: 26 Mar 2011, 07:06
by Nick85
It's will be very nice )