Open image in new tab

Hey everyone,

I hope this is simple: How do I replicate bubbles ‘see’ functionality. How can I click an image or link and have it open the image in a new tab. Right now I have it downloading and that becomes redundant.

Thank you for the help :stuck_out_tongue_closed_eyes:

You could put a link element above it and open the image url in a new tab

@ben4 is your image dynamic? If so you can install the Toolbox plugin and create a workflow when Image is clicked > Run Javascript. It will open the image in a new tab

It should look something like this:

1 Like

It is dynamic, but, it isn’t a url. It’s an actual image.

@ben4 ah well then I’m curious how a dynamic image doesn’t have a URL. Imo if it’s dynamic then it’s stored in the DB, and every file stored in the DB should have a URL, therefore you should be able to put that URL in the Run Javascript. However I’d be interested to see a counter-example

Hey, I am sorry this video is pretty difficult to digest, haha, I thinking about how this might get solved haha.

Let me know what you think.


Ah okay I understand thanks for taking the time to explain. So the field “screenshot” is of type Image right? I never actually used this plugin so I’m just taking a guess here, but would it help to add a new field “URL” of type Text in your data type Screenshot?
Then in your workflow “Screenshot Outputter is generated”, save the URL as a text in your new field “URL”. Then put that URL in the Run Javascript? I might be wrong though - let me know how that goes

Getting closer :slight_smile: thank you for the help :slight_smile:
Take a look:

Thank you,

Cool! The fact that you have a URL is 90% of the job done.
The //s3 URL should do the trick, you do not need to add https.

If I saw correctly you have a typo in your Run Javascript, you shouldn’t have the / after the dynamic URL. That won’t work:

This should work:

Let me know if that solved it!

EDIT : I just realized I made the mistake in my previous post sorry for the confusion

1 Like

That was it, youre such a big help! Thank you very much! I really appreciate it. :slight_smile:


Awesome, glad I could help!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.