limit index to 50 until we get pagination
load image thumbnails in layout