se nel db hai caricato solo il nome immagine ti basta leggere il db e creare il tag img:
[img]cartellaimmagini/[/img]