Hi,
we are trying to explain how to add new file extension to
PhotoGallery via the
ImageUtility.ImageExtensions list. To use the information we have posted you will need to have basic
ASP.NET knowledge as we don't provide
.NET / ASP.NET support (there are plenty forums on that subject that can help you). When we talk about the
HttpApplication in the
Global.asax you will need to know where to place your code etc. In the end our previous posts contain all the information needed to implement this functionality.
Let me quote my self
Hi,
you can check the supported image types by looking into a MonoSoftware.Core.Drawing.ImageUtility.ImageExtensions, and if you want to enable more types then you need to add new types into that list in the same format as other extensions added to ImageExtensions.
You should add them in the early stage of the application cycle e.g. Global.asax.cs Application_Start event.
Regards
In this post mentioned format is ".ExtensionName" e.g. ".txt"
protected
override
void
Application_Start(
object
sender, System.EventArgs e)
{
base
.Application_Start(sender, e);
ImageUtility.ImageExtensions.Add(
".txt"
);
}
let us know if you need anything else.
Regards