dead simple function to retinify only necessary images