comments entity and image preview in frontend