if thisLink contains ".jpg" or thisLink contains ".JPG" or thisLink contains ".jpeg" or thisLink contains ".JPEG" or thisLink contains ".jp2" or thisLink contains ".JP2" or thisLink contains "_n.png" then