Sitefinity / SitefinityImageOptimization

6 stars 2 forks source link

In Sitefinity 14.4 Kraken not working. #18

Open kezoneitor opened 1 year ago

kezoneitor commented 1 year ago

Hello Guys @yasen-yankov @ivandimitrov @nikydobrev,

We used its implementation for our project with Sitefinity in version 14.4.

Thanks to you it is very easy to implement it in a new project, but when executing the optimization process with Kraken it is not being saved correctly.

How to Replicate It:

  1. Create a Sitefinity with version 14.4.8100 or higher, using a SQL Server database.
  2. Add the "Progress.Sitefinity.ImageOptimization" project to references.
  3. From the added project, uninstall Telerik.Sitefinity.Core and install this package again, but with version 14.4.8100. This is with the help of the NuGet Package Manager.
  4. Then compile and run the project.
  5. Configure the ApiKey and ApiSecret.
  6. Finally, try to add an image so that the Kraken optimization process can run.

The result in the database will be broken data and in the image editor, neither the image nor the size will be displayed. You can more info in this POST (https://community.progress.com/s/question/0D54Q0000AKRdJHSQ1/kraken-doesnt-work-in-sitefinity-144) also, attach a video (https://app.screencast.com/azlHGBnCyDw8u).

We would greatly appreciate a response to this problem we are having, I hope you can help us.

Thank you

kezoneitor commented 1 year ago

Trying to find a solution to the case, we discovered that passing the stream to a MemoryStream object solves it. image

tslazarov commented 1 year ago

Hi @kezoneitor, thank you for your feedback. We will work on a fix for the issue.

PrabhdeepSingh commented 8 months ago

Hi, Is there a timeline to fix this issue? Experiencing the same issue in v15.

sumacasu2021 commented 1 month ago

Hello @kezoneitor, so are you able to process the file? I'm having a situation where Kraken seems to read it because I see the quota changing in the Kraken portal, but no image is processed, it seems like it times out, but I'm not sure.