Fixed image preview and delete url