How to output thumbnail twice in a loop

You can rewind_posts() then just call $loop->the_post() once outside of the while loop, output the thumbnail, and rewind_posts() again to output the ul list.

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