actor.json link label
in actor.json, how to add label to a link that is too long. for example:
{ "label": "Image", "format": "link", "field": "image.url", "alt": "Text Replacement" }
image.url = https://example.com/very-very-long-------------------------------------------------------------------url-
8 Replies
@!!!Joefree!!! 👑 just advanced to level 5! Thanks for your contributions! 🎉
How it can be too long? json data size limit exists but its more than enough for any string
for example url with base64 encoding something like this.

I want to replace the text with for example
Click Here
Aha, but its not logically correct: if you want to pass dynamic base64 image to actor then do it via user input (add textarea to INPUT_SCHEMA), if you have static image then host it somewhere to access it by regular URL, base64 always should be processed, you can not expect to replace any image URL by base64 string and get image output. Check input example from https://apify.com/alexey/google-maps-pins-map-ocr
thanks. but that is a link for a text file not image. that is textfile encoded in base64
this is for the output in dataset, not input
ah, I see, thanks for clarification - consider to save base64 to KV store and add a link to it in dataset
I should try that. Thanks.