[sword-devel] test image module

Joachim Ansorg sword-devel@crosswire.org
Sat, 26 Apr 2003 15:35:04 +0200


Chris,
thank you for doing the test module!
BibleTime 1.3 will work with modules containing images. 1.2.2 probably works 
because it works with Sword 1.5.5 and later so it can use 1.5.6 which has the 
required fixes for image stuff.

BTW, the download script which makes the ZIP packages for downloads on 
Crosswire doesn't work with subdirs :)
It inserted the images/ directory as file called images. Thus the images are 
missing.


Joachim

> There is a demo module with images(a RawLD4 module named imagesampler) in
> the betaraw directory, which front-end developers can use for testing
> purposes.  Current CVS of Sword is needed.  I would guess that GnomeSword
> will work out of the box and that BibleTime may need a small addition to
> its ThML filter if it wasn't already added.
>
> Support in BibleCS is harder than I had believed, but I'm not ruling it
> out completely yet.
>
> For those interested in adding images to modules, the syntax is simply
> <img src="/(filename).(jpg|jpeg|png|svg)"/> in ThML -- I included my
> source .imp file in the module's directory.  SVG won't be supported in
> BibleCS, however.  In OSIS it will be fairly similar: <figure
> src="/(filename).(jpg|jpeg|png|svg)"/>.  Please note that you can indicate
> subdirectories (e.g. <img src="/images/aaron.jpg"/>) and that the initial
> '/' is mandatory (at least for the moment--I'm not clear why we couldn't
> assume a relative path for any address that omits a protocol).
>
> --Chris
>
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel

-- 
Joachim Ansorg
www.bibletime.info
joachim.ansorgs.de