Details
-
Task
-
Resolution: Unresolved
-
Neutral
-
None
-
3.4
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
${damfn.getAssetLink(content.image)} print a link to image which use asset uuid to recognise image, e.g.:
/magnoliaAuthor/dam/jcr:9de89a2c-e2bb-4992-abdd-16a80166c8bf/3.jpeg
but
${damfn.getAssetLink(content.image,"6x4")} print the link which contains path to image, e.g.:
/magnoliaAuthor/.imaging/mte/swissre/6x4/dam/test/placeholders/3.jpeg/jcr:content/3.jpeg
There is few issues with this:
1) if image is moved in dam, then old links (in emails, etc...) are not working anymore. but in additions it displays server error 500 ( instead of 404)
2) not sure why url contains "mte" and "/jcr:content/3.jpeg" plus two times name of the file itself (3.jpg), especially dot "." in the midle of url may cause some treble in javascript or even is some browsers
3) inconsistency between links without and with rendition