We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

png images is not shwing on chat[Solved] | Forum

Akash
Akash Dec 2 '14
I was able to upload the png images but it is not showing on chat dialog box.
The Forum post is edited by ross Dec 15 '14
ross Team
ross Dec 2 '14
Thanks we have passed it to our developers. It will be fixed asap. 
The Forum post is edited by ross Dec 2 '14
Akash
Akash Dec 2 '14
:)
ross Team
ross Dec 10 '14
Here's the fix
In ow_libraries/wideimage/Mapper/PNG.php

find these lines:
function save($handle, $uri = null, $compression = 9, $filters = PNG_ALL_FILTERS)
        {
            return imagepng($handle, $uri, $compression, $filters);

and replace them with these:

function save($handle, $uri = null, $compression = 9, $filters = PNG_ALL_FILTERS)
     {
  if ( $compression > 9 )
   {
        $compression *= 9 / 100;
    }
         return imagepng($handle, $uri, $compression, $filters);
Akash
Akash Dec 10 '14
thanks Ross solved. :)
Marius
Marius Jan 10 '15
Ross ... thanks man, you are BIG ONE, now my .png is working, coooooool man :*
ross Team
ross Jan 11 '15
You're welcome
Jronny
Jronny Mar 26 '15
I updated the codes but for some reason it just gives me a loading image and nothing is shown on the chat box. :-(

http://screencast.com/t/zeLFjWHuxZn

I am using oxwall 1.7.2.
If it would be of any help, here's the list of currently installed plugins:

Activity notifications

Blogs
Events
Facebook Connect
ForumGroups
Messages
Social media sharing

Thanks in advance.

The Forum post is edited by Jronny Mar 26 '15
ross Team
ross Mar 26 '15
Enable dev mode and refresh the website. see if the issue persists. Keep us updated. 
Jronny
Jronny Mar 27 '15
I was on dev mode the whole time by the way.
Jronny
Jronny Mar 27 '15
Turns out it was a missing closing bracket. It's all working now.
ross Team
ross Mar 29 '15
Great. Thanks for letting us know.