I have a requirement to output pdf thumbnails as images dynamically, so I've installed ImageResizer. However, this now messes with some of the images on the website are being 'hijacked' by both ImageResizer and ImageProcessor (which Umbraco is using internally to handle the image crops).
What would be the simplest way to rectify this? Can I swap out ImageProcessor easily, or disable imageresizer for all but pdf files?
Do you need ImageProcessor? If not you can remove it by deleting the dll's without worry, Umbraco Core is not tied to it. Of course the Url's generated by GetCropUrl will not work with ImageResizer.
On my backlog is to create a helper method from my v7.0 Image Cropper package that would generate ImageReszier urls from the Core v7.1 cropper.
Yep. I've just removed ImageProcessor as an experiment - most things still working, so obiously not using that method as much as I thought but still issues with a few of the images, which I'll need to look at in more depth as initially I can't see why they're not rendering correctly.
Thanks for your help on this - I think my issue may have now shifted ;)
Using ImageResizer AND ImageProcessor
Hi,
I have a requirement to output pdf thumbnails as images dynamically, so I've installed ImageResizer. However, this now messes with some of the images on the website are being 'hijacked' by both ImageResizer and ImageProcessor (which Umbraco is using internally to handle the image crops).
What would be the simplest way to rectify this? Can I swap out ImageProcessor easily, or disable imageresizer for all but pdf files?
Thanks
Hi Dan,
Do you need ImageProcessor? If not you can remove it by deleting the dll's without worry, Umbraco Core is not tied to it. Of course the Url's generated by GetCropUrl will not work with ImageResizer.
On my backlog is to create a helper method from my v7.0 Image Cropper package that would generate ImageReszier urls from the Core v7.1 cropper.
Jeavon
Thanks Jeavon. I don't need ImageProcessor as such, but my code is riddled with calls to 'GetCropUrl' - so it could be painful to change all of those.
Ah, are you using the core cropper for those urls?
Yep. I've just removed ImageProcessor as an experiment - most things still working, so obiously not using that method as much as I thought but still issues with a few of the images, which I'll need to look at in more depth as initially I can't see why they're not rendering correctly.
Thanks for your help on this - I think my issue may have now shifted ;)
Cool, I have a early repo with the logic needed to generate the crop coordinates for ImageResizer, Skype me if you want access.
Somebody should totally build a pdf extension to ImageProcessor...
is working on a reply...