Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have one more question about Phoca Gallery. How can I remove or make smaller paddings around my image in a category? Which file I need to edit to make those changes? I've seen that gallery adds 18px (https://www.phoca.cz/documents/2-phoca-g ... w-resizing).
the shadow is 18 px larger. You can change the padding in the Phoca Gallery Parameters (components > phoca gallery > control panel > [parameters] button)
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)
Do you mean: Image Size Beside Category Name? If yes, when I pick small nothing changes ;(. Setting padding box or margin box to 0px also does not work. Maybe this will help.
Which piece of code generates inline (style="" inside div) style like this:
Yes,
I would love to know the answer to that question!
Where does the code get this embedded style from?
<div class="phocagallery-box-file-first" style="background: #0e2869;height:133px;width:133px;">
I am having trouble with the small 50x50 images. They want to "jump" out of the box w/ shadow for some reason. See image. If I change the height and width style to 70px, then the pic stays in the box. As you can see on the first image I changed it (Using Firebug).
I found some code that looks like that generated (in views/category/tmpl/default.php), but when I removed that inline styling it did not help. The inline style is still showing in the source when page is generated . Any help form Jan?
@hjr
in the Phoca Gallery parameters there is a setting called 'padding box'.
This parameters works only when you use a menu link to see the images. Not when you're using the Phoca Gallery plugin. If you're using the plugin, then you need to edit the plugin code (/plugins/content/phocagallery.php)
@orangesparkz,
If you set the medium sizes to something smaller than 100, then see this topic: viewtopic.php?f=1&t=1644&st=0&sk=t&sd=a#p9162
The line numbers aren't correct anymore I think...
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)
Thanks for your help Carolien.
I made the change to the (/components/com_phocallery/views/category/tmpl/default.php) file. For the padding to look equal I had to make it 52 and 72. Also the new lines are 112-126, for anyone in the future. Works great, photos do not "jump" out of the boxes. Thanks!
As for editing the padding. I am using the Phoca Gallery Plugin, but after looking over the file (/plugins/content/phocagallery.php). I really don't understand what I am suppose to edit.
Not that big of deal, but if you know offhand, let me know.
Thanks again.
Cathy