Page 1 of 1

Align Image with PlugIn

Posted: 29 Jul 2012, 13:11
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

Re: Align Image with PlugIn

Posted: 03 Aug 2012, 10:35
by Jan
Hi, just see the plugin code:

plugins/content/phocagallery/phocagallery.php

Jan

Re: Align Image with PlugIn

Posted: 03 Aug 2012, 12:28
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

Re: Align Image with PlugIn

Posted: 14 Aug 2012, 12:47
by Jan
Ok