Alternative ways to show thumbnails?

Phoca Gallery - image gallery extension
arvendal
Phoca Member
Phoca Member
Posts: 13
Joined: 27 Oct 2008, 12:09

Alternative ways to show thumbnails?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Alternative ways to show thumbnails?

Post 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
If you find Phoca extensions useful, please support the project
arvendal
Phoca Member
Phoca Member
Posts: 13
Joined: 27 Oct 2008, 12:09

Re: Alternative ways to show thumbnails?

Post 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.
:wink:

Keep the good work up! Really useful compontent for Joomla!
arvendal
Phoca Member
Phoca Member
Posts: 13
Joined: 27 Oct 2008, 12:09

Solved!

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Alternative ways to show thumbnails?

Post by Jan »

great, :wink:
If you find Phoca extensions useful, please support the project
Post Reply