Assuming you have cut-n-pasted the
html code, then your first
sql statement is trying to select 'picture' and not 'picture1'. So if your naming includes the number, its not finding anything.
As to including some text. Save the relevant text with the image in the database. Wrap the image and its text in a div to keep the two together.
Can I have a link to view the rollover problem?