I have created three different sizes of same image. And have given them name like image0_thumbnail.webp
, image0_medium.webp
and image0_original.webp
.
And a user will be uploading these images. I don't want user to a select different image of same name (maybe from different directory).
If they do this then it will be compare these different sizes of same image and check whether they all are same image or not and show them error respectively.
I came across this Compare two Images in JavaScript , but it is for same sized images. I am looking for solution in Javascript. Please help
Thanks.