php class for photo effects as a Instagram