trichview.com

trichview.support




Re: Image from URL


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/05/2004 21:05:44


If I understand, you need to modify the export to HTML: some images must not

be saved along with HTML, but URLs must be inserted instead.


This can be implemented in two different ways.


1) This method requires the latest version (available for registered users).

In this new version, items have several extra string properties including

image paths.

If you set image path for some image to non-empty string and include

rvsoUseItemImageFileNames in Options for SaveHTML/SaveHTMLEx, this string

will be inserted in <IMG src>, and image will not be saved.


This property can be set:

function SetItemExtraStrProperty(ItemNo, rvespImageFileName,

'http://www.website.com/image.png');


There is a set of ***StrProperty functions - analogs of ***IntProperty

functions.


2) You can store paths in item name (the first parameter of

AddPictureEx/InsertPicture, can be get/set with GetItemText/SetItemText)

Process OnHTMLSaveImage event and return the stored path.





Powered by ABC Amber Outlook Express Converter