How to use ImageGen with media hosted on S3 bucket
Hi,
Thanks for this awesome package.
My website's media is hosted on S3 bucket, I am using a Virtual Path Provider in order to use the original path, so I could retrieve images with original URL's like /media/fklh3sdf/206426.jpg.
but when it comes to return images that are wrapped with ImageGen properties like /umbraco/imagegen.ashx?&image=/media/fklh3sdf/206426.jpg&width=150 it didn't return, I got a message:
File not found: File not found: /media/fklh3sdf/206426.jpg
I don't know the reason, but it seems that ImageGen is searching in /media not in S3 Bucket
is there a specific configuration for this or is it even possible?
Unfortunately ImageGen works with images that are local to the web server, available via UNC share, or available as the result of an http request. Unfortunately ImageGen doesn't support virtual path providers.
Have a look at the built-in cropping capabilities in Umbraco with the Image Cropper property editor and gain inspiration from this wonderful article using GetCropUrl for more control within your code.
How to use ImageGen with media hosted on S3 bucket
Hi,
Thanks for this awesome package.
My website's media is hosted on S3 bucket, I am using a Virtual Path Provider in order to use the original path, so I could retrieve images with original URL's like
/media/fklh3sdf/206426.jpg
.but when it comes to return images that are wrapped with ImageGen properties like
/umbraco/imagegen.ashx?&image=/media/fklh3sdf/206426.jpg&width=150
it didn't return, I got a message:I don't know the reason, but it seems that ImageGen is searching in
/media
not in S3 Bucketis there a specific configuration for this or is it even possible?
Thanks.
Hi, Saif,
Unfortunately ImageGen works with images that are local to the web server, available via UNC share, or available as the result of an http request. Unfortunately ImageGen doesn't support virtual path providers.
Have a look at the built-in cropping capabilities in Umbraco with the Image Cropper property editor and gain inspiration from this wonderful article using GetCropUrl for more control within your code.
cheers,
doug.
is working on a reply...