def destroy
      @image.destroy
  
      respond_to do |format|
        format.html { redirect_to images_url }
        format.json { head :ok }
      end
    end
def destroy
      @image.destroy
  
      respond_to do |format|
        format.html { redirect_to images_url }
        format.json { head :ok }
      end
    end
DELETE /images/1
 DELETE /images/1.json