Re: [Templates] Image plugin

[prev] [thread] [next] [Date index for 2005/02/07]

From: Perrin Harkins
Subject: Re: [Templates] Image plugin
Date: 20:52 on 07 Feb 2005
On Mon, 2005-02-07 at 19:20 +0100, Tosh Cooey wrote:
> I'm not a fan of the server having to determine the size of an image file, but 
> my designer is a bit of a standards fanatic and pefectionfascist and wants 
> height and width tags for the images.

This has changed over time, but it used to be that browsers would not
display your page at all until the images were downloaded if you were
missing any height and width tags.  Now they mostly go ahead and adjust
later.

> But I'll let him have this one if I can be assured that it's not very process 
> intensive.  I'm hoping what's NOT going to happen is that upon every request an 
> image fille will be opened and it's attributes determined.
> 
> Is the info being cached somewhere?

You have the source...  It's short...

There is no caching other than what your OS does for filesystem access.
Most people who use this plugin are probably publishing static sites,
and don't care about the speed.

- Perrin


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Image plugin
Tosh Cooey 18:20 on 07 Feb 2005

Re: [Templates] Image plugin
Perrin Harkins 20:52 on 07 Feb 2005

Re: [Templates] Image plugin
Harry Jackson 10:49 on 08 Feb 2005

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52