Guido Socher > HTML-TagReader > tr_imgaddsize

Download:
HTML-TagReader-1.10.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

    tr_imgaddsize [-hpv] 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.

-v verbous messages about html errors.

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/

syntax highlighting: