Image gallery

i’ve only played around with PHP and Mysql for a while and im finding it very difficult to find a tutorial for creating an image gallery.

I have a table on my database which includes details about the image, aswell as the actual image etc. i need the php, (or a tutorial explaining how to create to this effect) to create a page which will display the thumbnail of the image, aswell as some of the data that is contained within the database table.

I have managed to find very good tutorials for creating the thumbnails and for a rating system, but tutorials for the actual gallery have been a problem, namely with displaying the information.

Any help will be much appreciated.