Page 1 of 1
Alternative ways to show thumbnails?
Posted: 27 Oct 2008, 12:24
by arvendal
Hi,
I wonder if there's a simple way to change the layout and put the thumbnails in a different position than below the main photo? Like this:
Phoca-test.jpg
Thankful for any suggestion.
Re: Alternative ways to show thumbnails?
Posted: 29 Oct 2008, 01:00
by Jan
Hi, there is no such option, this can be custom made in e.g. :
D:\www\J157\components\com_phocagallery\views\category\tmpl\default.php
Jan
Re: Alternative ways to show thumbnails?
Posted: 29 Oct 2008, 09:58
by arvendal
Thanks for your reply.
I have looked into the code of that PHP file and I find it a little tricky to change the code since there are many nested tags. I guess I need to use some kind of float attribute to pull the main image to the left, giving the thumbnail boxes enough room to the right. I'll give it a try. But any advice you have would be appreciated.
B.t.w. As far as I know, the tag <center> is deprecated from HTML 4.01 and onwards and is not supported in XHTML 1.0 Strict. But this comment maybe makes me a nitpicker.
Keep the good work up! Really useful compontent for Joomla!
Solved!
Posted: 29 Oct 2008, 16:47
by arvendal
It works after I added a class to the DIV tag at row 57 from:
57 <div>
58 <center class="main-switch-image">etc...
to:
57 <div class="what-ever-class">
58 <center class="main-switch-image">etc...
and then I applied float:left to the new class.
Works great.
Re: Alternative ways to show thumbnails?
Posted: 30 Oct 2008, 01:03
by Jan
great,
