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:
Thankful for any suggestion.
Alternative ways to show thumbnails?
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alternative ways to show thumbnails?
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
D:\www\J157\components\com_phocagallery\views\category\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project
-
arvendal
- Phoca Member

- Posts: 13
- Joined: 27 Oct 2008, 12:09
Re: Alternative ways to show thumbnails?
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!
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!
-
arvendal
- Phoca Member

- Posts: 13
- Joined: 27 Oct 2008, 12:09
Solved!
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.
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.
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alternative ways to show thumbnails?
great, 
If you find Phoca extensions useful, please support the project