Yes, I probably made this more confusing than it needed to be, since there is no specific reference to images anywhere in the article. However, if you look at the actual rendered calendar, you'll see an image there. In other words, the dtml code (see sample code in the article) discovered the image object, and rendered it, without knowing anything more about it than the fact that it was bound to a day, and that day fell within the scope of the calendar's date range. After you've created a Zope image object, named "image1", in the subdirectory named "subdir" you can render it explicitly like so: <image src="/subdir/image1"> -----Original Message----- From: Daniel G. Rusch [mailto:drusch@globalcrossing.com] Sent: Monday, January 24, 2000 3:01 PM To: Jerry.Spicklemire@IFLYATA.COM Subject: Re: [Zope] Re. Display an Image Please forgive my ignorance, but I went to the link you provided and I found a explanation of the calendar tag, almost nothing to do with images? DR
After you've created a Zope image object, named "image1", in the subdirectory named "subdir" you can render it explicitly like so: <image src="/subdir/image1" I guess I didn't explain the problem I am having very clearly. I have used the Image Product in the past the problem I am having is that when I create an Image Object in Zope the image needs to be on my local machine? My image(s) are on the server? Am I missing something?
I guess I didn't explain the problem I am having very clearly. I have used the Image Product in the past the problem I am having is that when I create an Image Object in Zope the image needs to be on my local machine? My image(s) are on the server?
I'm still not very clear on your question. The image you want to include in your Zope page is on the same machine as the Zope server or a different machine? If it's on the same machine, is it in the ZODB or somewhere in the file system? -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks, maybe this will help. Q> The image you want to include in your Zope page is on the same machine as the Zope server or a different machine? A> Same machine Q> If it's on the same machine, is it in the ZODB or somewhere in the file system? A> Same machine, in the file system /home/caps/test/faxes/received
Q> The image you want to include in your Zope page is on the same machine as the Zope server or a different machine?
A> Same machine
Q> If it's on the same machine, is it in the ZODB or somewhere in the file system?
A> Same machine, in the file system /home/caps/test/faxes/received
If that's the case, the Local File System product will serve files from the local file system on the Zope server. http://www.zope.org/Members/jfarr/LocalFS It's still in development but is fairly stable. Hope this helps, -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
participants (3)
-
Daniel G. Rusch -
Jerry.Spicklemire@IFLYATA.COM -
Jonothan Farr