I don't see why this argument isn't present already. This argument is also present in theme_image and is sometimes very useful.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imagecache_451106.patch | 1.01 KB | drewish |
| #2 | imagecache_451106.patch | 918 bytes | skilip |
I don't see why this argument isn't present already. This argument is also present in theme_image and is sometimes very useful.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imagecache_451106.patch | 1.01 KB | drewish |
| #2 | imagecache_451106.patch | 918 bytes | skilip |
Comments
Comment #1
drewish commentedNot sure what you mean... I think the concern was adding an extra filestat to each image. You should be able to easily do it in the theme layer...
Comment #2
skilip commentedtheme_imagecache forces the dimensions into the image tag which IMHO should be optional, just like in theme_image.
Comment #3
drewish commentedyeah I can see the benefit of making it optional. i think we should test $getsize first so that we don't bother checking the file info if we're not going to send it.
Comment #4
skilip commentedYup, that's true
Comment #5
drewish commentedthanks, committed this plus a @param to HEAD.