[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: 13203
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] Inserting images from Web

Post by Sergey Tkachenko » Mon Mar 19, 2012 3:56 pm

http://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

(this demo was created in Delphi XE, and can be used without changes in Delphi 2009...XE2; for other versions of Delphi, you will need to change gif and png classes)

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

Post by Sergey Tkachenko » Wed Dec 21, 2016 9:40 am

The discussion about drag and drop of images from browsers is moved to the "Support" forum, http://www.trichview.com/forums/viewtopic.php?t=8091

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests