How to Resize the Custom Post Images?

You’d be better off using the inbuilt Post Thumbnails, which were introduced in WordPress 2.9 – these are easier to use than custom fields and have things like sizing built in.

Once you’ve enabled Post Thumbnails, you can set their default size using set_post_thumbnail_size and then use them in your theme with the_post_thumbnail

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