Tom
unread,Jul 18, 2011, 3:36:32 AM7/18/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openastronomylog
Hi all,
thanks for your replies.
@Dirk: I think of downloaded weather satellite images, a panorama of a
new site, a map to find a site, a group picture of happy observers or
a simple astro photo like a wide field Milky Way shot. Probably there
are much more useful options for images to accompany sessions.
From a technical point of view, an images container allows for
rendering the images attached to a session when we transform/export a
list of observations. I just missed this. For targets, we have images
in an export from our XSLTs, but not for the session.
@Phyllis: I remember that we once came to the conclusion that handling
links or images is an application specific task. For XSLT, an image
link must but something relative to the root of the generated
document. Just like a web application gives all path relative to its
*context path*.
In Eye&Telescope, there are root directories for planning documents
and for links. They can be set by the users according to their needs.
When a link/image has been attached and is about to be stored, the
code determines whether the file is somewhere below the root or in a
different directory. In the first case, a relative path is built and
stored. Otherwise, an absolute path (with drive letter) is stored. The
difference is obvious: an absolute path is fragile; on another machine
it probably won't work. The relative path will work, provided the
linked file is also on the other machine, in the same relative
position to a potentially other root directory.
All this logic is already there in E&T for links on targets and links
on single observations. When a broken link is found after an import,
the user is prompted to discard the link(s) or he can relocate the
root to make the links work again.
@Wim: I took a look at this, nice thing!
How to proceed? I suggest that we issue a new 2.1 version, with the
session modified as suggested above. Before we do this, please take
your time and think whether there are further topics we could/should
address. I'm not in a hurry and I suggest that we do not issue updates
too often. What about the end of July for this turn?
Tom