thank for the reply. i was wondering if there was a way to show the image from the url, like when i paste it in discord or whatsapp, it comes up with an image
You would have to extract the image from the URL first using the methods I mentioned above before being able to display it in Glide, assuming youâre using something like a card list to display the URL and its associated info.
Try IMPORTXML first, or maybe a JS snippet that loads the URLâs HTML and find the img tags. Just an idea, Iâm not sure the JS snippet will work due to CORS problems.
i have another option. i am able to get data like the below. Is there a way for me to split them in to my labeled text boxes I have coloums label with the attribute name (eg: hair style)
user will copy paste data into one text box, and then glide needs to auto fill my columns accordingly.
Background White
Hair Style Short Messy
Hair Color Black
Facial Hair Goatee
Top Tan Blazer with Off-White Shirt and Tan Tie
Bottom Khaki Slacks
Footwear Redbrown Leather Workboot with Brown Sole
Ring
Headwear
Glasses Black Books
Piercings
Accessories Black Smartphone
Sounds like you can split the text and use calculated columns to get each field separately, but you still need users to press a button to load them to the right fields as shown in your second screenshot.
This is also assuming the data follows the perfect format for every single URL, which I assume might not be the case.
Originally I was thinking you can use a new line character to split it, but you also have âtitlesâ like Matrix Avatar or Attributes in there, and you might not know in advance how many attributes are there to split the correct way.
At the end of the day, if you have to ask users to do that I think itâs bad UX. We donât have a good way to do this now.
Background White
Hair Style Short Pixie
Hair Color Black
Facial Hair
Top Gray Oxford with Buttons
Bottom Gray Slacks
Footwear Black Suede Chelseas with Brown Sole
Ring
Headwear
Glasses
Piercings
Accessories
How can i split this text. What is the symbol i need to type into split text, to split for every new line
If you are confident that the order of the elements will always be the same, then you should be able to use one of the Array Plugins to remove the elements that you donât need.
Do you have any idea how i can generate a link preview, example: when i paste a url on discord or whatsapp, it shows a image thumbnail in the chat without having to click it
How will you âpasteâ it in the app though, I mean which component for the entry and which component to âshowâ that URL? It will probably not be possible anyway, but I just want to know more about what youâre trying to do.
The app is used to check the rarity of the NFT. users will copy their NFT url and paste it into the app and they should be able to see a preview of it, similar when you paste into FB or discord : sample below :