New answers tagged

2

Got the solution through Craft support, as well as this similar question: Image Transforms - Image not processed until second page refresh In summary, use the generateTransformsBeforePageLoad settings in Craft CMS.


3

You should give a try: {{ craft.assets.filename('refresh1.png').one().imageCaption }} Where imageCaption is the handle of your Image Caption field (imageCaption is an example, you should check this value). More informations about how to fetch assets: https://docs.craftcms.com/v3/dev/element-queries/asset-queries.html


4

The asset volume needs to have public urls enabled. Thanks seb.


1

Never too late to answer your own question. This is easily resolved now as Craft 3 stores user photos as assets, you just need to assign the CDN URL to the public URL field in Assets. https://docs.craftcms.com/v3/changes-in-craft-3.html#user-photos


Top 50 recent answers are included