added active_image_index functionality