fix clobbering thumbnail dimensions
caching for api (slow!)
increase size
somehow regressed with video images
use persistent_memoize