updated query tabs for images