File is not an image error.

Recently I tried uploading a Background image (.png .jpg) in a Quiz but all I get is a error message "File is not an image". The platform I'm using is Wordpress, and I'm using Chrome. The most recent thing I've had done is upload a new library with the file h5p-math-display-1.0.4.h5p. 

 

BV52's picture

Hi dchau,

Would you mind attaching the file and a sample image here.

-BV52

BV52's picture

Hi dchau,

Sorry for the miscommunication. What I meant was the h5p-math-display-1.0.4.h5p that you uploaded and a sample image file that you are trying to upload into your site. This is so that we can try to reproduce the problem on our side. Also if I may ask what is the version of Wordpress and H5P installed?

-BV52

Thank you for your help, attached is the copy of the file and a sample image of what I tried to upload. The H5P library was downloaded from here https://h5p.org/mathematical-expressions. Now I'm no longer having the image upload issue anymore. Now there is a new problem. When I'm finished creating a interactive it gives me an error message saying "unabletocopy". I attached a image of the error as well. 

The current version H5P I'm running is 1.13.1, Wordpress is running 4.8.2

 

BV52's picture

Hi dchau,

I am unable to reproduce the issue you described. Would you mind checking the following:

  1. Any browser console errors
  2. Any PHP errors

-BV52

Hi dchau,

Could you write me please what was the sollution in the case of "File is not an image" error?

Thank you, Péter