prototype of resizable thumbnail