Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

This file is not a supported image - please only upload JPG,PNG,GIF or SVG type

  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171025 by jcosta
Hi,

I have a instalation in a windows 2012 R" with IIS, everthing is working fine, but the upload of a image in survey themes its giving this an error:

"This file is not a supported image - please only upload JPG,PNG,GIF or SVG type "

I'm uploanding a JPG.

If I upload with kcfinder the upload works.

Can you help, please?

Thank you
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171066 by LouisGac
could you please attach here the image you're trying to upload?
The topic has been locked.
  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171068 by jcosta
Hi,

One of the files. Thank you
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171070 by LouisGac
Here, I can import your picture without problem.
So, it's rather a server configuration problem.
We're using the php "FILEINFO_MIME_TYPE".
It's available for PHP > 5.3, so check your PHP version.
stackoverflow.com/questions/5108758/usin...in-windows-php-5-3-5


Here some links that could help you:
www.youtube.com/watch?v=ElZaRucG1us
stackoverflow.com/questions/7906292/file...me-type-is-undefined
stackoverflow.com/questions/5108758/usin...s-php-5-3-5/21342748
code.i-harness.com/en/q/4df416
The topic has been locked.
  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171072 by jcosta
Hi,

Thank you, one problem solved :-)

I can upload the image, but editing the theme i can't preview the image, please view attachement.

Thank you.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171075 by LouisGac
this bug has been fixed a while ago, just update to the latest version.
The topic has been locked.
  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171078 by jcosta
My Version is 3.13.2+180709, is there a new one?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171081 by LouisGac
no you're up to date and I can reproduce here.
Sorry, I thought this bug was fixed.
The topic has been locked.
  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171085 by jcosta
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171086 by LouisGac
wait for the fix in next release.
The topic has been locked.
  • jcosta
  • jcosta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago #171088 by jcosta
thank you.
can you indicate a date of release?
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 8 months ago #171089 by LouisGac
most probably next week.
but it's just the preview which is broken: nothing critical.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose