I have a similar situation where I find myself way down in the tree
structure and have to go up to a certain point and down again. Leaving "bad
structuring" aside (actually its well structured in many other respects),
all I could think of to get a hold of these objects was a whole bunch of
nested
Dieter Maurer wrote:
Then Chris Withers wrote: use
dtml-with imagesdtml-var image.gif/dtml-with
I did not believe him and tried it out...
... it works in Zope 2.2.2.
...worked for me all the way back to 2.1.4 ;-)
Anyway, if you're _really_ lazy, write an external method something
the following:
dtml-var "images.getitem('image.gif',1)"
but that didn't work for some reason, and still seems a little complex for
just inserting an image.
Pete
--
Subject: Re: [Zope] images in directories
hi,
Sure they are. If you ftp a jpg to the server i
Pete Prodoehl writes:
I was sort of hoping it would be easier. It would be ideal to have this:
dtml-with imagesdtml-var image.gif/dtml-with
boiled down to one simple tag that works when I store images in a subfolder
*and* use file extensions.
But from what I've read so far,
Pete Prodoehl wrote:
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file
extensions allowed? If so, how are those objects addresses?)
dtml-with IMAGES
dtml-var image.gif
/dtml-with
or
dtml-var "IMAGES.getitem('image.gif',1)"
cheers,
Chris
Pete
hi,
Sure they are. If you ftp a jpg to the server it comes up with an id of
bla.jpg, you can then refrence it in html just like you would on an Apache
server or whaterver img src="../../bla.jpg"
j.
..
. Jason C. Leach
... University College of the Cariboo.
..
On Mon,
Pete Prodoehl writes:
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file
extensions allowed? If so, how are those objects addresses?)
It is.
And it is quite common.
There is a minor problem, if you like to put images in an "image" folder.
But this is not related to
Hi,
I check the archives but could not find an answer. How do you display images that are
burried in directories?
For example,
dtml-var image1 works with the image1 at same level
but
dtml-var /IMAGES/image1 does not. nor does
dtml-var IMAGES/image1
Any help would be apprechiated. Thanks in
When you create your image object set the path correctly then your
dtml-var image1 should work :)
Dan
CURTIS David wrote:
Hi,
I check the archives but could not find an answer. How do you display images that
are burried in directories?
For example,
dtml-var image1 works with the image1
David,
dtml-var "IMAGES.image1"
Where image1 is in the folder IMAGES.
-Aaron
At 07:42 AM 11/2/00 -0800, CURTIS David wrote:
Hi,
I check the archives but could not find an answer. How do you display
images that are burried in directories?
For example,
dtml-var image1 works with the image1
CURTIS David a écrit :
Hi,
I check the archives but could not find an answer. How do you display images that
are burried in directories?
For example,
dtml-var image1 works with the image1 at same level
but
dtml-var /IMAGES/image1 does not. nor does
dtml-var IMAGES/image1
Any help
no money?
-Original Message-
From: CURTIS David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 9:42 AM
To: [EMAIL PROTECTED]
Subject: [Zope] images in directories
Sensitivity: Personal
Hi,
I check the archives but could not find an answer. How do you display
images
"Farrell, Troy" wrote:
dtml-with IMAGES
dtml-var image1
/dtml-with
This also works:
dtml-var "IMAGES.image1"
Petr van Blokland
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No
Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file
extensions allowed? If so, how are those objects addresses?)
Pete
--
"Farrell, Troy" wrote:
dtml-with IMAGES
dtml-var image1
/dtml-with
This also works:
dtml-var "IMAGES.image1"
hi
This is a bit of code I was working on, it may not be what you are after
but:
dtml-in expr="PARENTS[0].objectValues('Image')"
lidtml-var title_or_idbr/li
img src="dtml-var id"brbrbr
/dtml-in
It scans through a Folder and displays all the images it finds. If that's
not what
15 matches
Mail list logo