in response image path i am getting "/images/RECOURSES/im123.jpg" or "/images/PDF/im123.jpg"
so how can i compare that response valuse is coming from resources folder or not....
how to use that image is inside resource folder,as if its coming from resources folder i need to change the height and width of the image
$(".ZoomScrapbook1").click(function () {
ImgName = this.name
$.post("/Controls/ZoomTo.ashx?ImageName=" + ImgName + "&Add=1", {},
function (response) {
alert(response);
$('#Imgsrc').attr('src', response);
});
});
<div id="ScrapZoomImg">
<img src="" id="Imgsrc" width="640" border="0" alt=""/>
</div>
plz suggest