Image Alignment

Phoca Gallery plugins - plugins for Phoca Gallery extension
keepitfrozen
Phoca Member
Phoca Member
Posts: 22
Joined: 13 May 2008, 01:25
Location: United States of America

I've seen this

Post by keepitfrozen »

I've seen this with other plugin's as well but it's sort of odd why it happens. I have articles that have probably 40 thumbs nails in one article. Sometimes when i view the page they stretch all they way across the article before a new rows start (as they should) but sometimes when i view a page i get one single column of all images and the next time i get maybe 3 columns etc. It doesn't seem consistent and I'm not really sure what to do to prevent this from occurring. I would appreciate some input on this problem and if there is anything i can do to help prevent the issue.

thanks,

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

Hi, the image boxes

Post by Jan »

Hi, the image boxes are placed in float boxes, maybe your template doesn't work correctly with float boxes...

Jan
If you find Phoca extensions useful, please support the project
keepitfrozen
Phoca Member
Phoca Member
Posts: 22
Joined: 13 May 2008, 01:25
Location: United States of America

Would this be someth

Post by keepitfrozen »

Would this be something i could probably locate and disable in the template because i'm using a Yootheme template and they pretty much just take your money and dont offer much support especially for modules they dont produce. Sorry for all the silly questions still sort of a newbie to this.

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

keepitfrozen

Post by Jan »

keepitfrozen
hi, really no idea what and where to change ... I just use only standards template and all worked for me (still didn't solve such problem)
If you find Phoca extensions useful, please support the project
keepitfrozen
Phoca Member
Phoca Member
Posts: 22
Joined: 13 May 2008, 01:25
Location: United States of America

Re: Image Alignment

Post by keepitfrozen »

I appreciate your help, if i locate the problem i'll make sure to post back.

thank again,

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

Re: Image Alignment

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
keepitfrozen
Phoca Member
Phoca Member
Posts: 22
Joined: 13 May 2008, 01:25
Location: United States of America

Re: Image Alignment

Post by keepitfrozen »

Ok, i solved this problem by simply adding a nest table around the plugin code and this also helped me solve the problems with centering the over all gallery.

This was my code for one of my galleries:

Code: Select all

<table align="center" width="880">
<tbody>
<tr>
<td>
<table align="center" width="870">
<tbody>
<tr>
<td>

{phocagallery view=category|categoryid=45|displaybuttons=0|displaydownload=0|namenumchar=20|imageshadow=shadow2}

</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Thanks Jan.

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

Re: Image Alignment

Post by Jan »

great to hear it, Jan
If you find Phoca extensions useful, please support the project
Post Reply