thomasvantuycom / craft-cloudinary

Cloudinary integration for Craft CMS
MIT License
5 stars 3 forks source link

Environment variable doesn't get used in control panel #1

Closed bartrylant closed 1 year ago

bartrylant commented 1 year ago

When using an .env variable for Cloud Name, it doesn't get replaced in the control panel for thumbnails, previews, etc.

Source from a thumbnail in the control panel:

<img src="https://res.cloudinary.com/$CLOUDINARY_CLOUDNAME/image/upload/c_crop,g_center,h_22,w_34/q_auto/f_auto/v1/testwerk/cover-2019_06_23_ML_bezoekers_kinderen_label_boom.jpg?_a=BAAAROAI 34w, https://res.cloudinary.com/$CLOUDINARY_CLOUDNAME/image/upload/c_crop,g_center,h_45,w_68/q_auto/f_auto/v1/testwerk/cover-2019_06_23_ML_bezoekers_kinderen_label_boom.jpg?_a=BAAAROAI 68w">

thomasvantuycom commented 1 year ago

Hi Bart,

Thank you for letting me know. This should now be fixed and released in version 1.0.1.