1
srisree
mxdirectory logo upload problom
  • 2008/9/2 4:57

  • srisree

  • Just popping in

  • Posts: 11

  • Since: 2003/2/7 9


hello

mxdirectory is giving problom when logo uploading.

I submit my listings and try to upload pics for logo, the "logo.gif" is uploading file but "logo.jpg" and "logo.png" is error out with the following message:
Quote:

Only png, gif, or jpg !!!


And I was making sure that the logo size is within limit and the folder permission is right. Any suggestion?


help needed

2
zyspec
Re: mxdirectory logo upload problom
  • 2008/9/2 14:38

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I would guess that they mime type being returned is not "image/gif" or "image/png". These (along with "image/jpeg") are the only allowed mime types that are required by mxdirectory v3.0RC1. You can either modify the mime type in the graphic file (depending on your graphics editor) or allow "other" mime types by modifying ./submit.php line 145 for frontside and ./admin/admin.php lines 1220, 1548 & 1632 for the backend.

The file uploader has been modified in the upcoming release - but no commitments yet on when that will be made available.

Login

Who's Online

132 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 132


more...

Donat-O-Meter

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

Latest GitHub Commits