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 )

34006 put(a) pogledan, 15 odgovor(a) 19.1.2012. 13:52:42Kreirao(la) deluxxx
imarusic

imarusic

31.1.2012. 17:49:28
Hi,

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

Regards
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
deluxxx

deluxxx

1.2.2012. 6:41:26
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
Ovaj sadržaj još nije ocijenjen. 
214 Reputacija 27 Ukupno objava
khorvat

khorvat

1.2.2012. 7:52:15
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
in4man

in4man

13.4.2012. 19:26:38
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.
Ovaj sadržaj još nije ocijenjen. 
282 Reputacija 46 Ukupno objava
imarusic

imarusic

17.4.2012. 14:01:27
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.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
1 2