Images do not upload

Solved2.39K viewsIssuesimages
0

Hi.

I am looking for a Q&A plugin for my upcoming site and I really like Anspress. However, the image upload is not working and I have to idea why. Can you help.

Question is closed for new answers.
selected answer
1

Hello Kambur,

 

AnsPress 4.1.4 can not add any image with a filename that contains a whitespace.

 

Workaround:

On /anspress-question-answer/assets/js/tinymce-plugin.js, replace:

 

[S+]

 

with:

 

.

 

On /anspress-question-answer/includes/hooks.php, replace:

 

$plugin_array[ ‘anspress’ ] = ANSPRESS_URL . ‘assets/js/min/tinymce-plugin.min.js’;

 

with:

 

$plugin_array[ ‘anspress’ ] = ANSPRESS_URL . ‘assets/js/tinymce-plugin.js’;

 

Hopefully this addresses your problem. Please let me know if you have any question.

 

Thanks,

 

Adrian

commented on answer

Hello Adrian,
Oh, I was not aware of this issue. Thanks for letting me know about it. I will make a fix.

Happy to help!

I confirm that this is fixed in 4.1.5

You are viewing 1 out of 1 answers, click here to view all answers.