Mono Support private file 

Viewed 33708 time(s), 15 post(s), 1/19/2012 1:52:42 PM - by deluxxx
1/31/2012 5:49:28 PM
3016 Reputation 428 Total posts

Hi,

I have just tried with .gif images and it works(PhotoGallery module). Please tell me which module are you referring to?

Regards

11
2/1/2012 6:41:26 AM
214 Reputation 27 Total posts

I will write again what I mean. I want the Photo gallery module to add new file extensions. There you can add jpg jpeg png gif. I want to be able to add more files such as txt, doc. That what I'd wanted to. I'm interested in this here because I want that these files are private.

Regards

12
2/1/2012 7:52:15 AM
15993 Reputation 2214 Total posts

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

13
4/13/2012 7:26:38 PM
282 Reputation 46 Total posts

hi, maybe one more question.. How can I add photo Gallery module. But without flash/silverlight module. I want plaint http uploader.
In web parts I didn't find this. Help in advance thanks.

14
4/17/2012 2:01:27 PM
3016 Reputation 428 Total posts

Hi,

it can be done but it requires some custom coding because photo gallery relies on silverlight upload module and you would like to replace it with other control. We can provide you with steps on how to implement it, but as mentioned it requires custom coding. Can you please open a new topic for this issue if you'd like to continue with implementation?

Regards.

15
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.