def admin_photos
      return if !user_is_allowed('media', 'view')      
      media = Media.where(:mls => params[:mls], :media_type => 'Photo').reorder(:media_order).all
      media2 = media.collect { |m| media_hash(m) }      	      
      render :json => media2
    end
def admin_photos
      return if !user_is_allowed('media', 'view')      
      media = Media.where(:mls => params[:mls], :media_type => 'Photo').reorder(:media_order).all
      media2 = media.collect { |m| media_hash(m) }      	      
      render :json => media2
    end
GET /admin/properties/:mls/photos