You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading the above image to better image gallery it gives an aw shucks. Checking the error log I got
System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at mojoPortal.Features.UI.BetterImageGallery.BetterImageGalleryService.CreateThumbnails(FileInfo[] images, String thumbnailCachePath)
at mojoPortal.Features.UI.BetterImageGallery.BetterImageGalleryService.SetupThumbnails()
at mojoPortal.Features.UI.BetterImageGallery.BetterImageGalleryRazor.RenderContents(HtmlTextWriter output)
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
It is definitely an issue with the image but better image gallery should silently fail and not break like that.
The text was updated successfully, but these errors were encountered:
turns out the images in question were webp saved as jpg and that was causing System.Drawing to have issues. We should still catch the error gracefully.
When uploading the above image to better image gallery it gives an aw shucks. Checking the error log I got
It is definitely an issue with the image but better image gallery should silently fail and not break like that.
The text was updated successfully, but these errors were encountered: