Automatically adding images to a certain page through the Media Uploader

Bizarrly, the answer to this is to simply swap two of the parameters around –

tb_show('Manage Front Page Images', 'media-upload.php?referer=dd-options&post_id=65&TB_iframe=true', false);

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