1

I use the Remote File module for a cck field displaying a remote image. It works with a known issue: images are reloaded on every edit http://drupal.org/node/395256

And as i do tests with lots of nodes and delete them afterwards, the images cached in filesystem become deleted too. Is there a way to tell filefield(?) not to delete them?

edit

Meanwhile found http://drupal.org/project/filefield_sources which works very nice on manually created or edited nodes. But there is no way to make filefield fetch the image on assigning the url to the place where it shows up when i let print_r($node) show it to me.

See also my post to this (wont-fix)issue http://drupal.org/node/590756#comment-2774472

4

1 回答 1

0

就在这里。

您需要在节点和文件之间创建一个接口,因此当您删除节点时,文件会保留在原位。实际上,您只是删除了关联,而不是文件。

也许这个模块保存到文件表并且对文件的引用已经存在。

您可以开发一个第三方模块来存储您的所有外部文件,并有一个 GUI 或其他一些界面来为新节点再次选择它们

或者,您可以创建特定的内容类型并将文件保存为单独的节点。然后您将使用节点引用来加入它们。

或者,该模块的开发人员说,如果你付钱给他,他会添加功能。但是,从我所看到的情况来看,他并不能保证:)

于 2010-03-27T08:15:25.957 回答