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;
}
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
Posts: 13451
[Moved to customizations]
Posts: 271
to change the size of the thumbnail in the random black you would change the size of the thumbnails that gallery uses. ie if your thumbs are 200 pxls, they will be 200 pxls in random block.
Radnom black pulls the thumbs, not the actual picture.
removing the pictures name or album name is as simple commenting out line 202 - 232 in the random block php file.
I don't have the time to test this , but one by one comment out each line that calls to <a href> and double check that it is doing what you want it to do, and that you get no errors.
Posts: 31
is there a way then to use the regular picture and size it down dynamicly on the fly to a size i specify....
i mean that should be possible via php any sugestions
Posts: 271
sure you can rewrite the entire php mod if you want.