try to generate a thumbnail for remote image urls