[Zope] Resizing Images In Page Templates

2007-03-04 Thread tonylabarbara
Hi;
I saw somewhere someone adding code like this:
img src=myimage.jpg/resize /
that would automatically resize his image according to a predetermined 
standard. Does anyone know how this or something similar is done?
TIA,
Tony

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Andreas Jung



--On 4. März 2007 09:10:13 -0500 [EMAIL PROTECTED] wrote:


Hi;
I saw somewhere someone adding code like this:
img src=myimage.jpg/resize /
that would automatically resize his image according to a predetermined
standard. Does anyone know how this or something similar is done? TIA,



This is nonsense. This code will generate an image with a fixed URL
without any additional functionality - neither on the server nor on
the client side.

-aj

pgpopbg58NVSi.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread tonylabarbara
Hmm. I have it working on the server from which I am moving to another server. 
I didn't build the code. But it sure does work just fine. Sorry. Not nonsense. 
Anyone else have any ideas?
TIA,
Tony 
 
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; zope@zope.org
Sent: Sun, 4 Mar 2007 10:16 AM
Subject: Re: [Zope] Resizing Images In Page Templates


 
--On 4. März 2007 09:10:13 -0500 [EMAIL PROTECTED] wrote: 
 
 Hi; 
 I saw somewhere someone adding code like this: 
 img src=myimage.jpg/resize / 
 that would automatically resize his image according to a predetermined 
 standard. Does anyone know how this or something similar is done? TIA, 
 
 
This is nonsense. This code will generate an image with a fixed URL 
without any additional functionality - neither on the server nor on 
the client side. 
 
-aj 

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Sascha Welter
(Sun, Mar 04, 2007 at 09:20:06AM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse:
 Hmm. I have it working on the server from which I am moving to another
 server. I didn't build the code. But it sure does work just fine.
 Sorry. Not nonsense. Anyone else have any ideas? 

There is a photo resizing product that IIRC works like that. It lets
you specify sizes and even some simple image manipulations in the image
path. It's a bit older and I think it worked with PIL.

It's in the products list on zope.org. You might want to look through
those products. 

Regards,

Sascha

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Maciej Wisniowski

 Hmm. I have it working on the server from which 
 I am moving to another server. I didn't build the code.
 But it sure does work just fine.
 Sorry. Not nonsense. Anyone else have any ideas?
Ehm... but this code is a nonsense or rather, you made
a mistake when you've written previous e-mail

img src=myimage.jpg/resize /

It is plain html.

something like:

img tal:attributes=src myimage.jpg/resize /

may do something 'dynamic'.

-- 
Maciej Wisniowski

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Maciej Wisniowski

 Hmm. I have it working on the server from which 
 I am moving to another server. I didn't build the code.
 But it sure does work just fine.
 Sorry. Not nonsense. Anyone else have any ideas?
 Ehm... but this code is a nonsense or rather, you made
 a mistake when you've written previous e-mail
 
 img src=myimage.jpg/resize /
OK, I thinked again about this. This may work :)
You may have object with id 'myimage.jpg' with resize
method, and it may be referenced this 'hardcoced' way.


-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread tonylabarbara
ImageTag_Hotfix. Got it! Thanks!
Tony 
 
-Original Message-
From: [EMAIL PROTECTED]
To: zope@zope.org
Sent: Sun, 4 Mar 2007 4:41 PM
Subject: Re: [Zope] Resizing Images In Page Templates


(Sun, Mar 04, 2007 at 09:20:06AM -0500) [EMAIL PROTECTED] 
wrote/schrieb/egrapse:
 Hmm. I have it working on the server from which I am moving to another
 server. I didn't build the code. But it sure does work just fine.
 Sorry. Not nonsense. Anyone else have any ideas? 

There is a photo resizing product that IIRC works like that. It lets
you specify sizes and even some simple image manipulations in the image
path. It's a bit older and I think it worked with PIL.

It's in the products list on zope.org. You might want to look through
those products. 

Regards,

Sascha

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )