|
Title: Light Box Code is Not Working Post by: samcarducci on July 21, 2008, 07:03:51 pm Light Box Code is Not Working.
Code: //Lightbox++ popup case 2: if ($rsgConfig->get('watermark')) { ?><a rel="lightbox" title="<?php echo $item->title."<p>".$item->descr."</p>";?>" href="<?php echo waterMarker::showMarkedImage( $item->name ); ?>"><?php } else { ?><a rel="lightbox" title="<?php echo $item->title."<p>".$item->descr."</p>";?>" href="<?php echo imgUtils::getImgOriginal( $item->name ); ?>"><?php } $this->_showImageBox( $item->name, $item->descr ); ?> </a> <?php break; } ?> </div> </td> </tr> <tr> <td><?php $this->_writeDownloadLink( $item->id );?></td> </tr> </table> <?php } Output looks like this: Code: <a rel="lightbox" title="Brandon Routh<p><br type=\"\\"_moz\\"\" /></p>" href="http://www.supermanfansite.com//images/rsgallery/original/routh_superman1_1114157800.jpg"> <img id="thumb1" src="http://www.supermanfansite.com//images/rsgallery/display/routh_superman1_1114157800.jpg.jpg" alt="<br type="\&quot;_moz\&quot;" />" border="0" /> </a> It's very messed up, for sure! Want to know if their was a way to get it working with Yoothemes Effect Plugin. |