Upload larger jpg not succeeding in design mode

Asked by pascal

I have a problem whenever I try to upload a jpg file in designer mode when editing layouts. Whenever I use small jpg files , no problem. Big files in format png NO PROBLEM at all.

After uploading the jpg file of ie 3 MB it looks like it succeed in uploading but I get a question mark as tumbnail.

php size variables are set in php.ini correct to 40 MB as showed in printout below:
display_errors = register_globals = post_max_size = 40M post_max_size+1 = 41 post_max_size in bytes = 41943040

If I upload the big jpg files (2-5 MB) in the media library it is succeeding. After this it is possible to use them in the layouts.

I definetely would like to upload bigger jpg files in design mode when editing the layouts.

Workaround at the moment is using png files.

I use Xibo 1.4.2 as cms.

Could you please help.

BR/Pascal van Dooren

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Try increasing your max_execution_time or alternatively the next major
upgraded version of Xibo has an improved file upload mechanism which will
hopefully solve these kind of problems.

Best wishes

Alex

Revision history for this message
pascal (pascal-5) said :
#2

Hi Alex,

Thanks for your quick response.

Why is the upload working correctly working in the media library and not working correct in the layout mode? Does the layout mode consume extra execution time?

What major release? 1.5 is not set as a stable version yet..
Is the 1.5 release compatible with the python 1.4.1 client?

BR/
Pascal van Dooren

Op 14 jun. 2013 om 22:56 heeft Alex Harrington <email address hidden> het volgende geschreven:

> Your question #230771 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/230771
>
> Status: Open => Answered
>
> Alex Harrington proposed the following answer:
> Try increasing your max_execution_time or alternatively the next major
> upgraded version of Xibo has an improved file upload mechanism which will
> hopefully solve these kind of problems.
>
> Best wishes
>
> Alex
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/xibo/+question/230771/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/xibo/+question/230771
>
> You received this question notification because you asked the question.
>

Revision history for this message
Alex Harrington (alexharrington) said :
#3

They use the same code path for the actual upload, but it takes longer from
the designer because we're also swapping the file in the layout.

Try increasing that time as I suggested.

1.6.0 will be the first stable release with the new upload system.

Alex

Can you help with this problem?

Provide an answer of your own, or ask pascal for more information if necessary.

To post a message you must log in.