Added logic for fav'ing image