How to install gd stash

broken image
broken image

The generated thumbnails will always be produced in the same format (PNG, JPG, etc) as the source image.Ĭatalyst::View::GD::Thumbnail uses the Image::Resize module to crop and resize images, so it accept any image format supported by Image::Resize: bmp, gif, jpeg, png, xbm, xpm. This is optional, but at least one of the x or y parameters must be set. The view is controlled by setting the following values in the stash: imageĬontains the file path for the full-size source image. Uses the GD image library for those who are already using something more advanced than Imager. $c->stash-> = $image_file_path Ĭatalyst::View::GD::Thumbnail resizes images to produce thumbnails, with options to set the desired x or y dimensions. Script/myapp_create view Thumbnail Thumbnail Catalyst::View::GD::Thumbnail - Catalyst view to resize images for thumbnails SYNOPSIS Create a thumbnail view: