How do I change the size of the boxes?

Phoca Gallery - image gallery extension
ralphonz
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Jun 2009, 19:29

How do I change the size of the boxes?

Post by ralphonz »

Hi,

I am using phocagallery on a site i'm developing for a friend. I just want the catagories and images as small thumbnails, however i can't seem to change height or width for the "phocagallery-box-file" class? Changing css makes no difference?
On firebug, it always shows:
style="height: 118px; width: 120px;"
How do you change this and where is it coming from? I have searched through loads of php files and found nothing that specifies height: 118px; width: 120px;

basically i want each box to only be 50x50.
http://www.ameliaprints.com/
PhyTonX
Phoca Member
Phoca Member
Posts: 11
Joined: 13 May 2009, 00:51

Re: How do I change the size of the boxes?

Post by PhyTonX »

cool wallpapers site: http://www.wallpaperszone.ws with no ads.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: How do I change the size of the boxes?

Post by caro84g »

Hi,

You need to hack the core / create a template override to get images smaller than the default size.

see this topic: viewtopic.php?f=1&t=1644&start=10#p9162 (line numbers aren't correct anymore, just lookup the piece of code)


Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
ralphonz
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Jun 2009, 19:29

Re: How do I change the size of the boxes?

Post by ralphonz »

It works perfectly! Thanks Carolien!

And thanks to Jan for all his hard work!

:twisted:
Post Reply