Friday 28 November 2003 7:31:35 am
I added some lines in 'eztemplateautoload.php' (take a look at http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/including_php_files_in_templates to get an idea of what it's like).
Anyways, in the file 'marksPHPfunctions.php' is a function that resizes an image to a thumbnail. At the time I did not have much time, so the function just changes the 'width' and 'height' attributes of the <img> tag (the function returns '<img src=dsfs width=xx height=xx>'. The proportions are saved, the image is just shown smaller, but the real size is actually the same. If I want to, I can create a real thumbnail, but as I said, at the time I didn't really have much time... Maybe some day :). -- Mark
|