Accept image params and take out useless warning
Rename image filename