modify TransforablePhoto constructor