How to create a title images for different posts?

You can simply use the featured image. Just output it where you want it to appear

<?php the_post_thumbnail( $size, $attr ); ?>

Use accordingly a class or a ID to style it with CSS.

Take a look there: https://codex.wordpress.org/Post_Thumbnails to abilitate the featured image in your theme.

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