[sword-devel] IMAGES in SWORD
Tue, 5 Mar 2002 19:29:30 +0100
thank you for your answer!
> If we change the filter to strip the basename from the url on lex/dict
> and genbooks, then for these modules, the module authors will have to
> add an extra directory to the url. As it stands now, the extra
> directory is already added for them for these 3 cases. Does this make
> sense? Still hoping to hear what you think. As said before, I think we
> agree in principle, now just have to work out the details.
I don't understand all of your comments, but let's see :)
Let's use the Strongs dict as example:
They have both the same base directory. The content of this dir is:
So there are no subdirectories, which are already created (as you wrote
If StrongsHebrew wants to add an image, <img src="/img_hebrew_1.png"> should
ould refer to rawld/strongs/img_hebrew_1.png, right? If the module author
likes subdirectories, he should create a subdir of strongs/ like hebrew_img/
and then use <img src="/hebrew_img/image1.png">.
This is the way which would (IMHO) not confuse module authors, because /
refers everytime to the same, i.e. the top of the datadirectory.
Is this all reasonable? I hope :)