Done ;) Version 1.1.2 ready for download ;)simply add the option size=X to the opening tag
(X is the size in number, like <ean size=1>). Standard is the smallest size (size=0)
but you can change the standard size by changing the global wgBarWidth variable in
ean.setup.php to you desired standard size. If you set your standard size to 1, you can
still make barcodes with size 0 by adding the option <ean size="-1">, this
would make the barcode smaller by one size. But minus values for the size option are only
working if you change the standard size to something else but zero ;)
Ok, I think we've built something good here together ;)
greetings,
Markus
Date: Sat, 2 Aug 2008 18:21:20 +0200> From:
rolf.lampa(a)rilnet.com> To: mediawiki-l(a)lists.wikimedia.org> Subject: Re:
[Mediawiki-l] EAN-code generator for Mediawiki> > > > M Sz wrote:> > Hi!
No problem, you're welcome.> > > > It already should have been possible to
use only 12 digits too, since the 13th digit is calculated anyway.> > But however, I
have done what you suggested and now the number will be filled up with zeros as far as
needed ;)> > Yes, now it works fine! And now also the parsing of variables and SMW
> ParserFunctions is taking place before the <ean>...</ean> tags. It all
> works like a charm!> > > Additionally I have added the support for EAN-8 and
UPC-A barcodes. <...>> > > > Much fun ;) Hope it's usefull!> >
Very fun. It will probably become very useful !> > Any chance that the size of the
bar-code image could be determined using > a parameter?> > Regards,> > //
Rolf Lampa> > _______________________________________________> MediaWiki-l
mailing list> MediaWiki-l(a)lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________
Es ist höchste Zeit dabei zu sein - Holen Sie sich jetzt die neue Generation der Windows
Live Services!
http://get.live.com/