Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

image resize for existing blobs

Vote:
 

Kindly suggest some tool or plugin for image resizer for existing blobs.

Page with images is taking lot of time to open.

Regards

#209559
Nov 18, 2019 14:07
Vote:
 
#209568
Nov 18, 2019 17:40
Dinesh Yadav - Nov 21, 2019 12:12
Hi Minesh,
Looks like , it is licences and we don't want to go that way ..

Regards
Dinesh
Vote:
 

My Recommedation is for ImageResizer

https://github.com/valdisiljuconoks/ImageResizer.Plugins.EPiServerBlobReader

It's quite easy to setup and use. Very effective to performance.

#209571
Nov 18, 2019 19:23
Minesh Shah (Netcel) - Nov 18, 2019 22:15
The main reason we opted for ImageProcessor over ImageResizer.Net was the recent changes to the licensing model in the latter. We also found more functionality provided with ImageProcessor including WebP support
Praful Jangid - Nov 19, 2019 7:17
Hey Minesh,
I don't see any licensing issue. It's open source licensed and can use for commercial purpose. Do you think the purpose will not satisfy with the opensource license and will need the addition purchases? Also, can you share the license related changes information?
Because we are using this in our project with no issues related to license.
Thanks
Minesh Shah (Netcel) - Nov 19, 2019 9:40
Hey Praful

I’m not 100% sure about this although during development on a project about 8 months ago we found a little red dot appearing on the top corner of our optimised images.

After a bit of digging we found if using V4 of their libraries the free license is only applicable if your application is also open source and conforms to AGPL 3.

Thus we switched to ImageProcessor.

https://imageresizing.net/blog/2015/v4licensing
Dinesh Yadav - Nov 21, 2019 12:11
Hi,

I installed nuget package for ImageResizer.Plugins.EPiServerBlobReader version 1.0.3 , because we have episerver version 8.11.

But when i checked in plugins , its not appearing .. am i missing any configuration ?

Regards
Dinesh
Dinesh Yadav - Nov 21, 2019 12:26
Thanks Praful , but i need to resize existing images in the blobs.

Will this tool work for that purpose.

Regards
Dinesh
Praful Jangid - Nov 21, 2019 12:33
No, rather it will render images with w= and h= param and that will be cached server side. This is only for performance improvement.
Vote:
 

Hi Dinesh,

You can also use great tool from Geta.

https://github.com/Geta/ImageOptimization/blob/master/README.md

#209577
Nov 19, 2019 5:11
Praful Jangid - Nov 19, 2019 6:40
Nice, but this will resize the existing images and probably no one what to resize their images until and unless they are uploaded in very bigger sizes. But yeah this is a good tool to optimize images.
Thanks
Ravindra S. Rathore - Nov 19, 2019 7:55
Hey Praful, I think the original ask for this ticket is "Kindly suggest some tool or plugin for image resizer for existing blobs" so this is a great tool to use.
Dinesh Yadav - Nov 19, 2019 17:47
Hi,
I ran this job , but it says
Job completed after optimizing: 0 images. Before: 0 KB, after: 0 KB.
Ravindra S. Rathore - Nov 19, 2019 18:18
Have you configured it properly?
As I remember we need to add the domain entry into the web.config and URL should be public URL
Dinesh Yadav - Nov 19, 2019 18:22
Ravindra,
It just asked for the siteurl .. i provided the root page url



Am i missing something ?

R
D
Ravindra S. Rathore - Nov 19, 2019 18:24
Are you running this job on local website or on publicly hosted site?
Dinesh Yadav - Nov 19, 2019 18:25
Its local only ravindra ..
Ravindra S. Rathore - Nov 19, 2019 18:28
I think it will not work locally because it uses some Yahoo service and that requires a public URL to optimize the images.
Ravindra S. Rathore - Nov 19, 2019 18:28
So please push your changes to public site and then check
Dinesh Yadav - Nov 19, 2019 18:31
Ok Ravindra,
Is there any way we can test this plugin on local ?
Ravindra S. Rathore - Nov 19, 2019 18:33
No, because as I already mentioned that is uses Yahoo service to do the optimization work. If you have DXC service then you can temporary push this code to integration environment and check there.
Dinesh Yadav - Nov 19, 2019 18:38
Unfortunately no DCX
Ravindra S. Rathore - Nov 19, 2019 18:39
But it only works in public site
Vote:
 

Are you talking about fresh load speed and time? or subsequent load? Have you configured a proper static file caching? Do you have CDN in place? 

Resize Plugin can only fix one of many issues, have a look from configuration and infrastructure side to see if it help with better outcome. 

#209599
Nov 19, 2019 12:57
Vote:
 

Adding comments here (because it is eliminating package information)

That's fine, you should be able to see the packages like this

<package id="ImageResizer" version="4.2.5" targetFramework="net47" />
<package id="ImageResizer.Plugins.EPiServerBlobReader" version="7.2.0" targetFramework="net47" />
<package id="ImageResizer.WebConfig" version="4.2.5" targetFramework="net47" />

You can see the extension methods in
ImageResizer.Plugins.EPiServer.HtmlHelperExtensions

Example:
var src = Html.ResizeImage(imageSrcUrl, (int?) imageWidth, (int?) imageHeight);

#210363
Nov 21, 2019 12:26
Vote:
 

See below link, section What about local images? 

https://www.frederikvig.com/2012/05/faster-episerver-sites-image-optimization/

Link for extension (from above )

https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ImageOptimizer

Or, in VS you can directly download

#210390
Nov 21, 2019 12:56
Vote:
 

Hi Ravindra,

https://github.com/Geta/ImageOptimization/blob/master/README.md

this github url is not working anymore, giving 404, do you have any reference to acheive the same as the original question of this thread

#314551
Dec 22, 2023 3:19
* 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.