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


WebService-Images-Nofrag documentation  | view source Contained in the WebService-Images-Nofrag distribution.

Index


NAME

Top

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

VERSION

Top

Version 0.06

SYNOPSIS

Top

	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

Top

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

BUGS

Top

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

Top

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

	perldoc WebService::Images::Nofrag

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/WebService-Images-Nofrag

* CPAN Ratings

http://cpanratings.perl.org/d/WebService-Images-Nofrag

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-Images-Nofrag

* Search CPAN

http://search.cpan.org/dist/WebService-Images-Nofrag

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


WebService-Images-Nofrag documentation  | view source Contained in the WebService-Images-Nofrag distribution.