how to use ImageGen package for thumnail image creation in template
I have installed package and try to generate the thumb image from media gallery image but getting problem server responded with a status of 404 (Not Found) ImageGen.asxh, where as when i am trying with http://localhost:50471/ImageGen.ashx i am getting some result hello defualt page . let me know where i am going wrong. any help appreciated.
Thanks, using umbraco 7.6 , so should i need to installed that package ImageGen or automatically it will generate the thumb with image tag with given height and width?
You don't have to install anything - Umbraco comes with ImageProcessor and passes all request for image media through it. You can either add width and height parameters to the media URL or use the GetCropUrl() extension function which, contrary to its name, can also be used to just resize an image (but you can do other very interesting things too). Start here: https://our.umbraco.org/Documentation/Getting-Started/Design/Rendering-Media/
how to use ImageGen package for thumnail image creation in template
I have installed package and try to generate the thumb image from media gallery image but getting problem server responded with a status of 404 (Not Found) ImageGen.asxh, where as when i am trying with http://localhost:50471/ImageGen.ashx i am getting some result hello defualt page . let me know where i am going wrong. any help appreciated.
Hi Himasnhu
You have just to add ?width=100&height=100 to media item Url, you don't need to use ImageGen.asxh
What version of Umbraco are you using?
Alex
Thanks, using umbraco 7.6 , so should i need to installed that package ImageGen or automatically it will generate the thumb with image tag with given height and width?
You don't have to install anything - Umbraco comes with ImageProcessor and passes all request for image media through it. You can either add width and height parameters to the media URL or use the GetCropUrl() extension function which, contrary to its name, can also be used to just resize an image (but you can do other very interesting things too). Start here: https://our.umbraco.org/Documentation/Getting-Started/Design/Rendering-Media/
Himasnhu, use ImageProcessor as Sotiris said
is working on a reply...