Hi Christoph,

Thanks very much for your help! 

I migrated my site from CE 5.3.12 with STK to CE 5.4.7 version with MTE. I 
pretty much recreated the site by using MTE and Site module. I confirm that the 
theme gets picked up by the site since the cssFiles and jsFiles configurations 
are all working. 

I adopted the MTK's textImage.ftl and image.ftl templates. So the image links 
are created by damfn. By looking into the second link you listed above, 
https://documentation.magnolia-cms.com/display/DOCS/Working+with+images+using+damfn,
 I think I found the issue, in the textImage.ftl code,

[code][#assign rendition = damfn.getRendition(content.image, "original")][/code]

the imaging works for me then if I replace it with,

[code][#assign rendition = damfn.getRendition(content.image, 
"content-image-left")][/code]

but I'm still wondering how to make it work to not hard code it this way? And I 
still couldn't figure out how travel-demo project references it's imaging 
variations, like "1600", "1366", "960", etc. 

Thanks very much for your advice and I appreciate it!

Best regards,
Aiping

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=6e928fcd-2b55-49b4-8e53-2d893cdab020


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to