Ajax to check image information
Moderators: onion2k, General Moderators
Ajax to check image information
Ajax to check image information. Before uploading finally I want to browse the image from my local machine and upload it via ajax and check the image extension, size and dimension of the image. I feverything is ok I shall allow the user to enter the rest of the fields. I have used a ajax code, which is doing everything fine, returning the values as per expected, but in IE it cannot retain that image path in the input type field, so when I am going to upload it will actually not have the file path and the file name to upload the image. Also once I upload a image and the checking is complete I need to refresh the page by pressing F5 to make the page ready for a fresh upload. If I do not do so, no checking is done for the next file I try to upload. the image is uploaded temporarily uploaded by an ajax class using Iframe. can the problem be due to that?