[Typo3-dev] Size of Images

Wengrzik, Andreas Wengrzik at ewr.de
Tue Apr 20 09:30:21 CEST 2004


Hello!

I have a problem with the extension advCalender, it added a field for an image, but now i don´t know how to tell this php code that the image should be resized by
typo3, maybe i can add a cObj to tell this string

<img src=\"/uploads/tx_lordcalenderext/".$bild." \"width=\"50%\" height=\"50%\">

that i can remove the width and height information because thats a very bad solution :)
Maybe i can tell typo3 that the images should be resized on upload??

Any suggestions??

Below you can see the complete part which is hardcoded in class.tx_advCalendar_pi.php:


$daytable.="<tr><td id='newstitleHP'><A href='".$this->getLinkUrl(4,"","","","",$row['uid'])."'>".$row['datetext']."</A></td></tr><tr><td id='newstextHP'>".$row['note']."</td></tr><td id='newstextHP'><img src=\"/uploads/tx_lordcalenderext/".$bild." \"width=\"50%\" height=\"50%\">


Thanks for your held!

with kind regards





More information about the TYPO3-dev mailing list