Using file extensions in image titles

The PHP function pathinfo() will work to get the extension for files. If your theme is just using the attachment post title for its title, then loop through all post types of ‘attachment’, and/or post mime/type that contains ‘image’ and then use pathinfo to get the file extension and update the title based on that.

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