×
Kunena 5.1 Beta 1 Released (05 Oct 2017)

The Kunena team is pleased to announce Kunena 5.1.0 Beta 1 [K 5.1 Beta 1].
Please read the blog post for information: www.kunena.org/blog/188-kunena-5-1-beta-released

Question Corrupt/Grey(Gray) images

More
2 weeks 20 hours ago - 2 weeks 20 hours ago #21 by Don
Don replied the 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: 2 weeks 20 hours ago by Don.

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

More
2 weeks 19 hours ago #22 by smhoeks
smhoeks replied the 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
2 weeks 18 hours ago - 2 weeks 18 hours ago #23 by Don
Don replied the 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!

Attachments:
Last Edit: 2 weeks 18 hours ago by Don.

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

More
2 weeks 16 hours ago #24 by smhoeks
smhoeks replied the 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.

More
2 weeks 11 hours ago #25 by Luchen6
Luchen6 replied the topic: Corrupt/Grey(Gray) images
I tested this issue with php 7.
On my life site I only upgraded from php 5.? to 7 recently.
Maybe this issue was raised since then.
I did not check how the block size used during the copy is determined. This can be different by using an other PHP version.

It comes down that in my opinion there is no need to check the image orientation while copying the file. This is only useful after the file is completely copied.
The following user(s) said Thank You: rich

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

More
1 week 6 days ago #26 by rich
rich replied the topic: Corrupt/Grey(Gray) images
Many thanks. It is fixed in the next version.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.273 seconds