Re: image plugin

Lucid Drake <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
> Then I'd have in the config file an entry for the image template:
>
>    py['image_template'] = '<a href="$directory/$file"><img
> src="$directory/$file"></a>'

May want to consider including height and width attributes for img tag. 
I'm fairly certain there's a Python module that will tell you such 
info. Although, is it worth the processing requirements just to include 
the height and width attributes for syntactic strictness?

Just a thought.

--Lucid



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.