generated scaffolding for picture