Discovering image dimensions

Michel Klijmij-van der Laan michel at klijmij.net
Fri Mar 3 09:09:02 EST 2006


Travis Reitter schreef:

>If a large page (like Planet GNOME) has a handful of images in some of
>the top posts, and you scroll down to read another post, what you're
>trying to read can keep getting bumped down if the images do not have
>set <img> dimensions.
>
>Of course, it's "the blogger's fault" for not setting the image
>attributes, but I think it'd be handy if Planet Planet detected (via
>ImageMagick - there are Python bindings) image dimensions, and set them
>within each feed (if they don't already exist)
>  
>
Isn't that something that can also be achieved with CSS?

Related to this, especially for busy planets, I'd like to see a feature 
which allows planets to be split up in X posts per page, creating 
multiple pages. It could probably be done now toying with the new_date 
variable, but it could be easier and it would make a planet much more 
readable. Unfortunately I don't have the time to learn python and hack 
it in myself, but I'm just mentioning it here so people can give it a 
moment's thought.

-- 
Kind regards,               | E-mail: michel at klijmij.net
                            | Web   : http://michel.klijmij.net/
                            | Jabber: michel at jabber.xs4all.nl
Michel Klijmij-van der Laan | GPGkey: 0x8A43CF30



More information about the devel mailing list