added functionality to retrieve images by album id