PHOT-19 - finished thumbnail implementation