Page 1 of 1

DIV attribute change within phocagallery.php

Posted: 20 Mar 2009, 11:41
by Bingo2000
As you can see in the picture attached I inserted a picture with the float attribute. But because the phocagallery-box-file-first and pgplugin DIV-code:

Code: Select all

pgplugin'.$iCss.'" style="height:'. $boxImageHeight .'px; width:'. $boxImageWidth.'px;'.$float_code.'">' . "\n"
draws a square with height size, it looks bad.
So I deleted the part of code which draws the square in pgplugin/phocagallery-box-file-first-DIV . But then all messed up, because the picture has no height/width sttribute.
I donĀ“t understand much of PHP. Therefore I want to ask you to post a workaround code for solving this problem.
It shoul work for me without the DIV-attributes if the picture gets height/width attribute.
Thanks