MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

private file  (Mono Support )

Viewed 24651 time(s), 15 post(s) 1/19/2012 1:52:42 PMby deluxxx
imarusic

imarusic

1/31/2012 5:49:28 PM
Hi,

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

Regards
This content has not been rated yet. 
3016 Reputation 428 Total posts
deluxxx

deluxxx

2/1/2012 6:41:26 AM
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
This content has not been rated yet. 
214 Reputation 27 Total posts
khorvat

khorvat

2/1/2012 7:52:15 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
in4man

in4man

4/13/2012 7:26:38 PM
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.
This content has not been rated yet. 
282 Reputation 46 Total posts
imarusic

imarusic

4/17/2012 2:01:27 PM
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.
This content has not been rated yet. 
3016 Reputation 428 Total posts
1 2