1
aubrey
Mime Types and myAlbum
  • 2004/2/1 23:31

  • aubrey

  • Just popping in

  • Posts: 31

  • Since: 2004/2/1 2


I am using myAlbum-P 2.6 and when I try to upload a .png I get the following error:

Media Upload Errors
MIME type not allowed: image/png

Does this mean that myAlbum does not support .png? If true, is there a workaround?

-aubrey

2
GIJOE
Re: Mime Types and myAlbum
  • 2004/2/2 21:22

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Of course, myAlbum-P supports PNG.
Only I don't know MIME type of image/png.
(Normally, the MIME type of PNG is image/x-png)

All you have to do is add "image/png" into the end of include/read_configs.php like this:

$array_allowed_mimetypes = array("image/gif","image/pjpeg","image/jpeg","image/x-png","image/png") ;


I know it is a weakness of myAlbum-P that MIME type is not editable from control pannel.
It should be improved.

3
aubrey
Re: Mime Types and myAlbum
  • 2004/2/3 1:13

  • aubrey

  • Just popping in

  • Posts: 31

  • Since: 2004/2/1 2


It Works!

I thought it would be something like that but didn't know
where to look for it.

P.S. I don't know if this matters, but I make all my png's with Macromedia Fireworks (which I think is used by a lot of people), so you may want to put image/png in your program.

Thank you,

Aubrey

Login

Who's Online

174 user(s) are online (48 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

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

Latest GitHub Commits