Add Random Gallery Photo Block
Filed in: Site News — February 1st, 2005Just installed the Gallery random photo block into the Wordpress sidebar. The so-call “installation” is easy, just use a PHP include function to include the random-block.php script into template. ![]()
However, I can’t find a way to modify the image tag so that it has a CSS border. The image tag is auto generated by $album->getThumbnailTag() function in the script. The function code will be deep inside Gallery core, I better don’t touch on it…
If you have a workaround, please let me know. Thanks!
Updated: I think I found it – The enhanced Random Photo for Gallery !
…few minutes later… No, not quite. It support CSS for the captions not for the thumbnail…


