Hi,
Sorry to have to bother you again. I think I found a bug.
As I mentioned in a previous post: I'm in the process of upgrading one of my websites from Joomla 1.6 to Joomla 2.5. I upgraded Phocagallery to version 3.2.0 Beta.
In categories view, in the div with class "pg-cat-img-detail", the second child div has an inline "margin-left" style. The value here should be the width of the thumbnail + 18px.
In my case I'm showing the small thumb, it has a width of 200px but the margin-left value is 138px and not 218px.
I've been snooping around in the view.html.php file inside views/categories and I found out that $small_image_width outputs "218" but $this->tmpl['imagewidth'] (on line 110) outputs "138".
I can't find where this "138" is coming from. I'm thinking it might be a bug.
Hope you can help me out once again.
Update: this issue has a low priority for me. I worked arround it in my CSS. Woud be nice to have some more CSS classes in that area dough.
Inline style margin-left value in categories view
-
kwindo
- Phoca Member

- Posts: 11
- Joined: 14 Aug 2011, 16:17
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Inline style margin-left value in categories view
Hi, are the images portrait or landscape?
If you find Phoca extensions useful, please support the project