Fix photo id for ajax like