added image proxy adding validation