Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I created this website using ChatGPT to load data from a vCard and insert a corresponding image. Now I want to recreate this in RC. This is the ChatGPT version: https://grove19a.de/vcard/index.html?vcard=max and https://grove19a.de/vcard/index.html?vcard=hannah If I use a different name, a different container is displayed, indicating that the names don't exist. I can get the text fields to work in RC. I simply type, for example, NAME in the text. However, I'm having trouble with the image, presumably because RC sets its own ID, and the ID I add via the attributes isn't recognized? Does anyone have any ideas on how to fix this? |
||||
|
The image is set with the code document.getElementById("personImage").src = data.IMAGE;So I guess if you set the image id of your code, OR set the id in RocketCake to the id "personImage", then I assume it should work? |
||||
|
I entered the ID "personImage" in the additional attributes field. However, this isn't working. According to ChatGPT, this is because two IDs are assigned to the container. EDIT: May I send you the rcd file? If so, to which email address? |
||||
|
You can just right-click the image, select "HTML Code..." and then click the "..." three dots on the top right to change the ID of the image. My email adress is written on the bottom of the page under "Support -> Contact" on this website. |
||||
|
Thanks, that works. I didn’t know that. You can ignore my email ^^." |
||||
|
|