I want to search for the photos by name but want to exclude exactly same copies.
Right now I am differentiating two photos by their size
if(filesize($file1) != filesize($file2)){
// Files are not same
}
Above code works if $file1 and $file2 are SAME but cropped or resized version of each other. How can I decide if $file1 and $file2 are same even if they are cropped or resized