The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

tr_imgaddsize -- add width and height to <img src=...>

SYNOPSIS

    tr_imgaddsize [-hp] html-files

DESCRIPTION

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.

OPTIONS

-h short help

-p print to stdout and do not modify any files.

EXAMPLE

tr_imgaddsize file.html

AUTHOR

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/