Align Image with PlugIn

Phoca Gallery - image gallery extension
andre72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 03 Oct 2008, 20:03

Align Image with PlugIn

Post by andre72 »

Hi,

I spend a couple of time now how to overwrite a float:left to solve my problem...
Now I hope you can help me to do so.
I use the PlugIn to display images in an article and text and thumnails should be center in a table:

Code: Select all

<table class="rooms" align="center">
<tbody>
<tr>
<td><strong>Doppelzimmer</strong></td>
<td><strong>Doppelzimmer</strong></td>
</tr>
<tr>
<td>{phocagallery view=category|categoryid=1|imageid=1|type=1}</td>
<td>{phocagallery view=category|categoryid=1|imageid=2|type=1}</td>
</tr>
<tr>
<td><strong>Komfortzimmer</strong></td>
<td><strong>Badezimmer</strong></td>
</tr>
<tr>
<td>{phocagallery view=category|categoryid=1|imageid=3|type=1}</td>
<td>{phocagallery view=category|categoryid=1|imageid=4|type=1}</td>
</tr>
</tbody>
</table>
Quite simple but the output will display the thumbnails in a div with a float:left:

Code: Select all

style="float:left;padding:3px;"
So please how can I change this?
Where's the template placed to edit the container?

Thanks

Andre
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Align Image with PlugIn

Post by Jan »

Hi, just see the plugin code:

plugins/content/phocagallery/phocagallery.php

Jan
If you find Phoca extensions useful, please support the project
andre72
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 03 Oct 2008, 20:03

Re: Align Image with PlugIn

Post by andre72 »

Hi Jan,

thanks for the hint - while I'd a look at the soruce I also found a lot of usefull params e.g. float= :idea:
So problem is solved and I also know now what's possible ...

Regards

Andre
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Align Image with PlugIn

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply