# Album Plugin: images/no_thumbs
# For info: 'album -plugin_info images/no_thumbs'
# For usage:  'album -plugin_usage images/no_thumbs'
use strict;		# Not required, but recommended

my $DESCRIPTION = << 'DESCRIPTION';
Keep album from generating thumbnails for anything.

DESCRIPTION

sub start_plugin {
	my ($opt) = @_;

	my $ret = {
		author      => 'David Ljung Madison',
		href        => 'http://MarginalHacks.com/',
		version     => '1.0',
		description => $DESCRIPTION,
	};



	# Setup the hooks
 	album::hook($opt, 'is_image', \&is_image);

	# Not much point without:
	$opt->{known_images} = 0;

	return $ret;
}


sub is_image {
	my ($opt, $hook,  $file) = @_;

	return 0;
}


# Plugins always end with:
1;
