DIV attribute change within phocagallery.php

Phoca Gallery plugins - plugins for Phoca Gallery extension
Bingo2000
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Mar 2009, 12:55

DIV attribute change within phocagallery.php

Post 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