resize of random-block in standalone

toxit

Joined: 2004-06-23
Posts: 31
Posted: Thu, 2005-02-03 21:10

hey there i finaly incorporated the block-random-enhanced.php into my gallery it works fine. i have now a few question how i can mod it so I can style it a little.

1. remove the text so only the pictures shows is there some sort of info
2. resize problem, i can resize the picture via the code in block-random-enhanced.php

if (!empty($HTTP_GET_VARS["size"])) {
$size = $HTTP_GET_VARS["size"];
} else {
$size = 0;
}

but that makes the image all pixaleted can i do that dynamicly as i understand this code only make the image bigger so fits in the browser.

please let me know if there are any solutions for that

thanks a lot
ToXiT