Where does the code to add a lightbox effect go?

install the Simple Lightbox and all images will automatically be shown in lightbox..

or you can have a look at this jquery lightbox. Lightbox

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)