Change image size depending on page

Yes, there is. You are looking for the thumbnail image size, I would say.

So, for each post, don’t just do the_post_thumbnail();, instead do the_post_thumbnail('thumbnail');.

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