[Demo] Inserting images from Web

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 15238
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] Inserting images from Web

Post by Sergey Tkachenko »

https://www.trichview.com/support/files ... romweb.zip

This demo uses TIdHttp component (from Indy) to download the specified image, and inserts this image in TRichViewEdit.
Additionally, the demo shows how to save HTML file containing a link to the image from the web (instead of saving images in files together with HTML file)

Image

[+] History of updates
2018-Apr-21: HTTPS support is added. Using TRVGraphicHandler.LoadFromStream (it detects image format by content)

Sergey Tkachenko
Site Admin
Posts: 15238
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The discussion about drag and drop of images from browsers is moved to the "Support" forum, viewtopic.php?t=8091

Post Reply