1
krobi
mime types
  • 2004/4/25 19:05

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


hi all

where can i set the mime types who are allowed to upload?
i have several problems with the uploads so it would be great if someone can tell me where i can set what mime typ/file typ i'am allowed to upload and what mime type/file typ i'am not allowed to upload

2
Mithrandir
Re: mime types

where? In a Module? In image manager?

3
krobi
Re: mime types
  • 2004/4/25 19:24

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


oh okay sorry i though i can set it for the whole xoops

so for the tuturial modul, for the myalbum modul and the imagemananger

4
Mithrandir
Re: mime types

Try the module preferences and see if there isn't a setting for mimetypes there - possibly they are hard-coded in the modules. I'll have to look into the imagemanager to check up on that.

What kind of files are you trying to upload?

5
Mithrandir
Re: mime types

The image manager is hardcoded for the following mimetypes:
image/gif, image/jpeg, image/pjpeg, image/x-png, image/png and image/bmp

this is done in line 196 in modules/system/admin/images/main.php

6
krobi
Re: mime types
  • 2004/4/25 19:51

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


oh thx,

so i found that in the other modul great thx for your help

7
krobi
Re: mime types
  • 2004/4/26 21:12

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


so i took a look into the myphoto modul and into the tutorial modul

and i think i have fixed the error but i always get the message "Bild konnte nicht gespeichert werden!" in english it should be sound something like that "cannot save picture"

but i all forder and files are 777,
and i dont know where the error is, maybe someone of you have time to look at my page indepth because i have also some errors with the e-mailing system

i can send mails, but notification when new user register does not work and the user will not get the activation mail (when i set that user should get that mail) but e-mail settings are alright.

Login

Who's Online

140 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits