Template talk:Crop

From ErfWiki

Jump to: navigation, search

I am not sure how well this will work with various browsers.

I tried it on Firefox 3.0.10 and Explorer 7.0.6001 and it seemed to work.

One issue with Firefox is that even though the image is clipped, it still existed as and prevented buttons 'under' it from being hit.

I have changed it so that it forces it to a layer of -1, this means that it is under everything else. However, this means that you can't click on it.

--Raphfrk 22:51, 6 May 2009 (UTC)

Ok, think I have it working well with both browsers and linking works too. --Raphfrk 23:28, 6 May 2009 (UTC)

[edit] 6th parameter, for image scaling

I added an optional 6th parameter, that ends put into the Image tag, to allow the cropped image to be scaled. --GRuban 18:45, 27 April 2011 (UTC)

Go To:
Personal tools