Change wp-content/uploads to uploads/%postname%/%image%

I use define('UPLOADS', 'wp-content/folder'); in my config.php file right under require_once(ABSPATH.’wp-settings.php’);

You can try to change the folder to something like %postname%
define('UPLOADS', 'wp-content/%postname%');

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