With DAM (Digital Asset Management) it is possible to use file references instead of copying files to the uploads/ folder. This page should give you an insight on the possibilities with DAM.
- 1 References FAQ
- 1.1 Q: How do I enable file referencing?
- 1.2 Q: Once enabled, is it enabled for all content elements and extensions?
- 1.3 Q: What about the files which were used in content elements prior to enable file referencing?
- 1.4 Q: Are there any things to be noticed about when using file references?
- 1.5 Q: And finally: How stable is file referencing?
- 2 Ressources
Q: How do I enable file referencing?
A: Just install dam and dam_ttcontent. Upon installation of dam_ttcontent you will have some options on where the "references" will apply.
Q: Once enabled, is it enabled for all content elements and extensions?
A: The dam_ttcontent simply modifies the TypoScript for the rendering of the tt_content "imgtext" and "image" content objects. So any other extension or content elements are unaffected by this. If you want to do that in your extension, just follow the example in dam_ttcontent (you just need to get the list of files from a field through an API-call to DAM).
Q: What about the files which were used in content elements prior to enable file referencing?
Will they continue to use the file copy in uploads/ or can they be automagickally 'converted' to use the original files in fileadmin/? If not, would I really have to re-import them in every content element that I use?
A: Either you use the copied files, or you use the references to DAM objects. I don't think there is currently a way to "migrate" information from old tt_content-hardcoded image paths to DAM-objects.
Q: Are there any things to be noticed about when using file references?
A: I don't think so.
Q: And finally: How stable is file referencing?
A: As stable as you want it to be. It works, and its a pretty simple concept, as it uses "standard" TYPO3 features: fields with MM-relations to other objects (for the "reference") and userFunc for the TypoScript part that will handle the rendering (for de-referencing the objects back to files). It won't automatically change all your "file" fields into "reference" fields, you have to do that on your own in your extensions.
Thanks to Ernesto Baschny for providing these answers!
DAM project page: http://typo3lab.colorcube.de/dam.html
DAM project page on Typo3.org: https://typo3.org/development/projects/digital-asset-management/