Changed attachments url to media page