8000 Some images break Better Image Gallery · Issue #218 · i7MEDIA/mojoportal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Some images break Better Image Gallery #218
Open
@joeystombaugh

Description

@joeystombaugh

something else
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0