ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Drag&Drop image from website to ImageEnView?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

959 Posts

Posted - Mar 24 2025 :  05:23:50  Show Profile  Reply
I want to drag an image from a web page, for example:

https://www.imageen.com/graphics/ieheaderlogo1.png

...to TImageEnView for the following actions:

1. load the image

2. add the image as a layer

3. trigger an event to execute a custom action with the image URL

Is this possible?

xequte

38899 Posts

Posted - Mar 24 2025 :  19:28:21  Show Profile  Reply
Yes, you should just need to enable AllowDrop:

https://www.imageen.com/help/TImageEnView.AllowDrop.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

959 Posts

Posted - Mar 26 2025 :  15:24:27  Show Profile  Reply
Unfortunately, it does not work. Drag-and-dropping a local file works, but an image from a website displayed in the browser is a totally different protocol.
Go to Top of Page

xequte

38899 Posts

Posted - Mar 26 2025 :  23:48:57  Show Profile  Reply
Sorry, you're right. It works in Firefox, but Chrome only returns an internet URL. We'll need to add special handling for that.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38899 Posts

Posted - Mar 27 2025 :  01:14:53  Show Profile  Reply
Hi Peter

You can email me for the new beta that supports this.

Note: It only works when the image is a link to a true image, not when it returns an HTML link (that would need to be parsed)

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

959 Posts

Posted - Mar 28 2025 :  07:43:02  Show Profile  Reply
Hi Nigel,

Thank you for the information.

How about Edge?

Edge and Chrome share many underlying technologies and have similar performance characteristics. However, despite being based on Chromium, Edge maintains its own unique features, user interface, and some proprietary technologies that differentiate it from Google Chrome.

Have you explicitly tested it with Edge?
Go to Top of Page

PeterPanino

959 Posts

Posted - Mar 28 2025 :  07:50:18  Show Profile  Reply
> Note: It only works when the image is a link to a true image, not when it returns an HTML link (that would need to be parsed)

I hope the Drop event implicitly returns an HTML link, so the software can parse it (if ImageEn does not automatically parse it itself).
Go to Top of Page

xequte

38899 Posts

Posted - Mar 28 2025 :  19:00:23  Show Profile  Reply
Hi Peter

It will return an HTML link. You should test the latest beta.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: