November Happy Hour will be moved to Thursday December 5th.

Focal Point image crop on EPiServer image

Vote:
 

Hi champs,

I just have a question about image coping.  We r currently using EpiServer image thumbnail mechanism but have a requirement for specific pages I need to crop the image with based on focal point out of the box or any experience you guys have. So having such as this:

class ImageFile : ImageData

{

[ImageDescriptor(FocalPoint, DesireSize)]

public virtual Blob Cropped { get;set; }

}

So if this is not available I will build the mechanism of cropping but my question is how should I inject my function into EpiServer image fetch mechanism (I assume EpiServer do the image process whenever people ask for it!)

Would you please help me on this.

Thanks,

Aria

#131905
Aug 10, 2015 6:37
Vote:
 

I found this:

https://github.com/valdisiljuconoks/ImageResizer.Plugins.EPiServerBlobReader/blob/master/EPiServerBlobReaderPlugin.cs

Which seems can solve a problem but let me know your idea please?

#131906
Aug 10, 2015 6:40
Vote:
 

Anyone has any experiecne?

#131994
Aug 12, 2015 0:04
Vote:
 

We are looking for the same thing.  Did you ever come up with a solution Aria.  Thanks in advance.

#146820
Mar 27, 2016 18:43
Vote:
 

Found one fellow built really good tool:

http://nuget.episerver.com/en/OtherPages/Package/?packageId=ImageResizer.Plugins.EPiFocalPoint

#191715
Apr 27, 2018 1:26
Vote:
 

This plugin: https://github.com/Creuna-Oslo/Creuna.FluidImages

#191735
Edited, Apr 27, 2018 8:13
Vote:
 

Hi Aria,

We've been using imageresizer (http://imageresizing.net) for a number of years and we've been augmenting that with the EPiFocalPoint plugin you mentioned pretty much since it was released. Like you, we did contemplate writing our own but through researching the approach we found EPiFocalPoint which did all we needed. We did initially hit an issue with the cropping where cropped images would effectively be crops of the first cropped version of a given image rather than the original (possibly a clash with the caching plugin we were using) though we opted to write around the issue as the UI for choosing the focal point in the CMS is great and we didn't want to lose that. I'd say EPiFocalPoint is worth using, even if it's just for the focal point editor UI.

#191747
Apr 27, 2018 10:53
Vote:
 

+1

#191805
Apr 29, 2018 9:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.