Franck Cuny > WebService-Images-Nofrag-0.06 > WebService::Images::Nofrag

Download:
WebService-Images-Nofrag-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

WebService::Images::Nofrag - upload an image to http://pix.nofrag.com

VERSION ^

Version 0.06

SYNOPSIS ^

        my $pix = WebService::Images::Nofrag->new();
        $pix->upload({file => '/path/to/the/file'});
    
        # or
        $pix->upload({file => '/path/to/the/file'}, '800x600');
        
        # or
        $pix->upload({url => 'http://test.com/my/file.jpg', '50%'});
        
        print "URL : " . $pix->url . "\n";    # print the url of the page
        print "image : " . $pix->image . "\n";# print the url of the image
        print "thumb : " . $pix->thumb . "\n";# print the url of the thumb

upload

        upload an image to http://pix.nofrag.com
        
        We need a filemane or an URL to an image.
        
        You can specify a resolution, so the image will be resized before being
        uploaded.
        
        Set 3 accessors, thumb image & url, with the url to the different
        data.

AUTHOR ^

Franck Cuny, <franck.cuny at gmail.com>

BUGS ^

Please report any bugs or feature requests to bug-webservice-images-nofrag at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-Images-Nofrag. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

        perldoc WebService::Images::Nofrag

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2006 Franck Cuny, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: