added thumbnail to random image endpoint