kentico_borisp
-
9/30/2011 3:22:13 PM
RE:Getting Image paths in a transformation
Hello,
If you saved the image into the media library, you can use the direct path to the file. However, if you have saved the file as a CMS.File or attachment, you need to use the GUID or implement a workaround for that, because CMS.Files and attachments are the same thing. That means that one document can hold multiple attachments, which can have same file names. That means, that we need to have a way how to distinguish the files from each other. For that, GUIDs are used.
Best regards, Boris Pocatko
|