cache multiple thumb sizes
move photorenderer into its own file