tr_imgaddsize -- add width and height to E<lt>img src=...E<gt> |
tr_imgaddsize -- add width and height to <img src=...>
tr_imgaddsize [-hpv] html-files
tr_imgaddsize opens all files listed on the command line and edits them if needed. All <img src=...> get width and height added if not already there. This works only for relative links (something like src=../images/cool.png)
File access permissions are preserved.
-h short help
-p print to stdout and do not modify any files.
-v verbous messages about html errors.
tr_imgaddsize file.html
tr_imgaddsize is part of the HTML::TagReader package and was written by Guido Socher [guido(at)linuxfocus.org]
This program needs Image::Size from http://www.cpan.org/authors/id/R/RJ/RJRAY/
tr_imgaddsize -- add width and height to E<lt>img src=...E<gt> |