Condition for displaying cat image in show page