Extension talk:ImageSizeInfoFunctions/Archive

Improved usage and stability
I suggest to modify the code so that

$title = Title::makeTitle(NS_IMAGE,$image);

(which assumes that the image name is a safe database key), becomes:

$title = Title::newFromText($image,NS_IMAGE);

(which supports non-normalized image names and image names already with a "File:" namespace prefix)

Based on this change, a new template can be created which largely mirrors the normal way of embedding images, mirroring all (or most?) functionality. See Extension talk:ImageSizeInfoFunctions/Template:Image for example code. --G.Hagedorn 00:03, 16 December 2008 (UTC)


 * It sounds right. Thanks for your suggestions, I'll test them as soon as possible on my wiki. --GB 20:44, 4 January 2009 (UTC)

Advise?
This extension seems to be very close to what I need, but the design is a bit over my head.

Can such thing be done with this extension: have a css frame (div) of 30% width, with internal margins measured in pixels/points, and inside the frame, an image "using all the width available to it". Alternatively, only an image with 100% width of the containing frame (div)? Ditto with the table containing an image?

Or ought it be developed further to do this? Thanks. Yury Tarasievich 13:38, 4 March 2009 (UTC)