Page 1 of 1

Inline style margin-left value in categories view

Posted: 03 Apr 2012, 13:13
by kwindo
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.

Re: Inline style margin-left value in categories view

Posted: 10 Apr 2012, 22:37
by Jan
Hi, are the images portrait or landscape?