thanks! the first option worked just fine. gani --
On Jul 28, 3:27 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On 7/28/07, gani <[EMAIL PROTECTED]> wrote: > > > I can view a picture file from a web site as per instructions > > previously, but is it possibly to similarly view a file from say /usr/ > > local/sage for example? > > Some options: > > (1) In the notebook you can upload photos to a worksheet. From a worksheet > click on the Data --> "Upload or create file" option. If you select an image > it > is then associated to the worksheet. The image can come either from a local > file on your computer or from the internet. You can then just refer to > the image directly, e.g., > html('<img src="panda.jpg">') > like at > https://sage.math.washington.edu:8103/home/pub/1472/ > > (2) Though not optimal, the following will work fine if you have, e.g., > an image in /home/was/c.png: > > os.system('ln -s /home/was/c.png .') > html('<img src="cell://c.png">') > > This will make the image appear in the current directory (or whatever > html you're doing). Of course if you upload the worksheet elsewhere, > that image will break (whereas with (1) the image will still be there). > > William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---