Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes:

>> I don't think so, my package org-link-beautify ported to the new
>> :preview mechanism. The file preview not always image. Could be text, or
>> icon etc. So pass in image object is not a good idea. It will limit
>> preview functionality extensibility.
>
> The API will not be changed.  Org will provide a new
> `org-link-preview-image' function that you can use to preview links
> using image data.  You'll have to write the adapter to register this as
> the :preview handler for a link type yourself.
>
> Karthik

I'm also wondering how much could there be shared if the thing to be
displayed on the overlay isn't an image.

The org-image--align function talks about images but ultimately
doesn't do anything specific to image.
I think the alignment the only part which is generic.

Reply via email to