Page 1 of 1

[Demo] Inserting images from Web

Posted: Mon Mar 19, 2012 3:56 pm
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)

Posted: Wed Dec 21, 2016 9:40 am
by Sergey Tkachenko
The discussion about drag and drop of images from browsers is moved to the "Support" forum, https://www.trichview.com/forums/viewtopic.php?t=8091