I need to load an image based on the post ID, with a custom function.
So I use an image element with dynamic data : {echo:my_function({post_id})}.
But the post_id var does not seem to be evaluated (confirmed by a dump, just get a āpost_idā string).
Hi,
Thanks so much for your report, and sorry for the late reply!
Would you be so kind as to send temporary login credentials, information on where we can find the function and where it applies, and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?
I too am having an issue with the newest version of Bricks. Whenever I use a dynamic code for the image. Itāll populate the image above the dynamic input and only use that image. Whatever it may be. The only workaround I had was to make a custom function that calls the same image that the dynamic input wouldāve called.
Hey @OhJey ,
Would you be so kind as to send temporary login credentials, information on where we can find the function and where it applies, and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?
I canāt give access to the website.
However, I forgot to mention an important detail that seems to cause the issue : my image element is inside a query loop.
So : {echo:my_function({post_id})} works fine, but not in a query loop (just tested).