Angular5 - does not create new transformations
Did something change? I wrote a new component, to pull images of a small size for a userfeed. The URL looks good, the format fits all good, yet I am being told :
Error: You must set the public id of the image to load, e.g. <cl-image public-id={{photo.public_id}}...></cl-image>
I double check, and validate the public Id is set and correct. However the image does not display. I notice it does show if i remove the CL-Transformation tag, or set it's value to a transformation i've used before. So the error is not in my code, it seems that I cannot request new transformations from the service, bespite the code being ok. The dashboard shows that there is still plenty of transformations left, so I am a bit at a loss, what has happened here.
one question I am wondering if this is related to the recent announcement of the SDK now supporting authentication?
-
Hi Evert,
We discussed this on Github:)
Just in case anyone else runs into this-
The public id is prepared asynchronously by adding an
*ngIf
Please take a look at the following for more info on how to avoid this- https://codepen.io/eitanp461/project/editor/AObmaX0
Post is closed for comments.
Comments
1 comment