Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Corrupt/Grey(Gray) images

More
8 years 4 months ago #196622 by 810
Replied by 810 on topic Corrupt/Grey(Gray) images
Could you please upload some images, so we can test it more.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #196623 by Luchen6
Replied by Luchen6 on topic Corrupt/Grey(Gray) images
Here you have some examples.

Original image:

Result image:

Result image after rework upload file:

I see on your forum the problem does not appear.
I see a change in the size of the file image_2017-10-22-5.jpeg ( 223757 bytes) and the file image_2017-11-01-5.jpeg (225749 bytes).
The size of the orignal file is 1695914 bytes.

Testing has been done on a local PC.
After clicking attachments add files and selecting the file a copy is put in the folder c:/xampp/tmp. The file is reduced in size but still correct.

In the while loop the image is uploaded to .. /tmp/uploads in pieces of 8192 (?) bytes. When I remember well, after the third loop the first part of the result file changes. This happens in the imagerotate module.

I also addes a ZIP file with the original images.
Last edit: 8 years 4 months ago by Luchen6.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #196644 by Don
Replied by Don on topic Corrupt/Grey(Gray) images
I have the same problem with images. Dear Kunena developers, you now I am not alone in my trouble. Help us please to solve it. You says it is not Kunena issue, but php. It seems you know PHP programming? )) What should I do about PHP to force my forum work correctly?

PS Sorry my English
Last edit: 8 years 4 months ago by Don.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #196645 by smhoeks
Replied by smhoeks on topic Corrupt/Grey(Gray) images
Don, what PHP are you using for your website?

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #196646 by Don
Replied by Don on topic Corrupt/Grey(Gray) images
PHP Version 5.6.31
System Linux #deleted_by_me# 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64
Build Date Jul 6 2017 08:06:52
Server API Apache 2.0 Handler

By the way, I have just tried solution publicated by Luchen6. It really works! Thanks a lot, comrade!!!!


Luchen6 wrote: Since sometime I also had Mostly grey images on our site. Especially with portrait photo's taken with a phone or tablet.
It took some investigation and finally I made a changed in the file ../libraries/kunena/upload/upload.php.
The part // Get filename from stream and the belonging code on lines350 (about) I places outside the while loop. now it works fine!

Last edit: 8 years 4 months ago by Don.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #196647 by smhoeks
Replied by smhoeks on topic Corrupt/Grey(Gray) images
Great news :)
I had some seriuos issues with it as well earlier. Was using exact same PHP as you do, but after updatering to PHP7, the problem was gone - so that would have been my suggestion for you to try.
But nevermind now - but everybody else - try update your php to 7, if its bugging in 5.

Please Log in or Create an account to join the conversation.

Time to create page: 0.360 seconds