Embed images from web

I’m still hesitating about where to ask my question (slack, chat, here…), when it’s addressed to the Anytype team.
I’ll try here!

Is it planned or envisaged to allow image integration outside Anytype? Specifically, having an embed version of a link to an image on the web.

Context: Evernote does it. So to migrate from Evernote to Anytype, you either have to download everything to upload to Anytype, or just keep the link as an embed, for when it works.
Everyone has their reasons for being, I just need to know which way to go with converter development :slight_smile:

This has a “Next-release” tag :smiley:

@Hexara Since January. I think it has been closed (and not played) and replaced by the embed of specific sites :confused: .

Yeah, I know, but it wasn’t set for “Next-release” until a couple of days ago. So, it may be getting implemented after all.

I may not understand your question correctly, as the solution is easy. In version 0.39 you can select an image web location instead of a file and the image loads in Anytype. The command is /image. Is this what you need?

Thanks but no : this uploads the image to Anytype.

My post is about displaying the image hosted on a site in Anytype, without uploading it.
A bit like the embed versions of Youtube and other applications: you don’t upload the video to Anytype, it remains on the site but is displayed in Anytype.

Pro :

  • you don’t need space in Anytype or in your device
  • some note taking apps do it and if we want to migrate… the question is what to do with that → it’s the purpose of my question
  • if the image is update on the site, the image is update in Anytype

Cons :

  • if the image is update or delete in the site, so in anytype too
  • without net access, no image

No one in the team can answer please ?
@Angelo ?
Or I can ask on Slack.
:confused:

Hey @Shampra, somehow this topic slipped our radar, apologies for the oversight! We’ll get back to you with an answer as soon as we can :ok_hand:

Thanks @Angelo.
I think that if I have any questions that will help me move forward with development, I’ll take the liberty of asking them on Slack (if that’s okay for you).

Feel free, that’s what it’s there for :slight_smile:

Of course, the forum is nice sharing the intel with the Community

Per @Shampra request, image embedding will be added in the future (hopefully soon).

Although this is a feature I would like to see, I can actually see it may be a problem. As a blogger I was in my security settings and there is a setting to stop this as they call it hot linking and if somebody embeds the image without downloading it the website is still hosting the image and using their resources. I noticed when I tried to add an image using the image block it just said forbidden. Ironically I will be stopping myself embedding images from my oven blogs (I get around this by uploading directly) Perhaps focussing on compression of images may be the best long term solution as more sites are likely to block embedding.

not necessary, it can be pulled from the cache on local disk.

Is there any progress on this feature?

Hi, I see that this was briefly touched on in the recent town hall December Town Hall (40:25) saying that it was discussed in the community before about how there are security issue with this. I would love to read up on the discussion about this but can’t seem to find it in this community. Could someone help link it here please?

Not sure if it’s on the Slack or Telegram channel, since I don’t have those; or if I just missed it here or used the wrong keyword in the search.

This is something that would be nice to have, but surely security comes first.

Most images online are either jpeg or png and both support compression already.
I am not sure adding compression on top would be of much extra benefit.

Personally I will exclusively be downloading images. Reason being if I really want to preserve into my knowledge base something from the web, I want it to stick around and not have it move location in few years and the image links no longer work. This is a recurring problem

What might be a nice touch would be to not compress images, but rather have in the web clipper or at the time of linking an image, an option to downsize image size or quality. Sometimes on the web the images might be larger than necessary in size and the webpage resizes them on the fly; yet when you go to download them, it would download the full size.

For example you see this on phones. You snap a picture; it is high resolution. If you want to share it with some chat apps, they will resize it on the fly

I think you have come up with the most sensible solution right there. It is amazing the amount of times I download an image from the web and it is 3000 x 3000 and all I need is a thumbnail pretty much.

Now introducing external image links, it is directly uploaded to the notes, but one disadvantage of this is that if I need to publish the written images to the blog, the images are not solved and can only be re-uploaded. Can you support external links for images? This will be much more convenient.

WHAT DO YOU RECOMMEND?

Allow using URLs for image sources and displaying remote images (just like in Markdown or HTML).

HOW COULD IT BE DONE?

Keep the Source property for the image. Fetch and render a remote image from the source URL.

REAL WORLD USE CASES

I have multiple cases in my notes where I use remote images. Sometimes the images are too big to be kept with the notes or it makes no sense to download and store the image binary. Displaying remote images would be a better option than keeping them in the Space.

RECOMMENDED ALTERNATIVES

n/a

ADDITIONAL CONTEXT

n/a