Profile Photo in GIF only?

Hi,

I tried to upload a profile photo in JPEG but it turned out "blanked".

However, when I convert the picture to .gif and do the same thing, it appears.

I'm using Dolphin 6.1.6. Anyone know how to resolve this? Thanks in advance.

Quote · 9 Nov 2009

Hello willtan!

Possible it can be error of ur graphic library. Try to change it for Dolphin in admin panel->settings->advanced settings section. Choose opposite of ur current (GD or Imagemagick).

Regard

Quote · 9 Nov 2009

Hi LeonidS,

Tried check/uncheck on "Use GD library for image processing" under Advance Settings but to no avail.

When log in as admin to see member's Photos, those uploaded in .jpg are there but blank (no picture). Those uploaded in .gif and .png, the pictures are viewable.

Would appreciate if you can advise further how I can resolve this issue.

P.S. Those big header pics are in .jpg but are viewable in the homepage though.

Regards, William

Quote · 9 Nov 2009

 

Hi LeonidS,

 

Tried check/uncheck on "Use GD library for image processing" under Advance Settings but to no avail.

 

When log in as admin to see member's Photos, those uploaded in .jpg are there but blank (no picture). Those uploaded in .gif and .png, the pictures are viewable.

 

Would appreciate if you can advise further how I can resolve this issue.

 

P.S. Those big header pics are in .jpg but are viewable in the homepage though.

 

Regards, William

 You have the same problem as me!!!!

 

Good to see that I am not going crazy - please please please let me know if you fix this

Quote · 9 Nov 2009

Okay, these are what I've done in effort to resolve this issue :

- Tried upload Photos in JPEG (not just Profile Photos). Same error. GIF/PNG photos okay. So it's site-wide issue.

- Tried on my another Dolphin 6.1.6 installation on commercial hosting, uploads in JPEG okay! That means it's server issue? But why GIF/PNG okay and JPG is not.

- Back to current server with issue, checked with phpinfo() and confirmed GD lib enabled.

- Realized that during submitting profile photos in GIF/PNG, the page loads (seems to process something) and picture appears. But when submitting JPG, page load very much and picture doesn't appear (blank). It seems server refuses JPG uploads?

- Search over the forum here (with keyword : profile photos). Seems like this issue has been existing for a very long time. Any resolution?

Hope the Boonex experts here are able to provide some insights how we can fix this issue. Meanwhile, I'll meddle on my server settings to hunt for a solution.

Quote · 10 Nov 2009

Possible this code of Dolphin doesn't work properly in ur server:

if ( ($scan['mime'] == 'image/jpeg' && $ext = '.jpg' ) ||
( $scan['mime'] == 'image/gif' && $ext = '.gif' ) ||
( $scan['mime'] == 'image/png' && $ext = '.png' ) )

maybe JPG there has another (not 'image/jpeg') mime type?

Need to check directly there. But seems problem in sever (possible filters on JPG).

Regard

Quote · 10 Nov 2009

Possible this code of Dolphin doesn't work properly in ur server:

if ( ($scan['mime'] == 'image/jpeg' && $ext = '.jpg' ) ||
( $scan['mime'] == 'image/gif' && $ext = '.gif' ) ||
( $scan['mime'] == 'image/png' && $ext = '.png' ) )

maybe JPG there has another (not 'image/jpeg') mime type?

Need to check directly there. But seems problem in sever (possible filters on JPG).

Regard

Hi LeonidS,

Where are these codes in Dolphin?

How can we tune the server configuration to resolve this?

With Regards, William

Quote · 10 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.