PNG Alpha Transparency on thumbnail/medium image generation

Forum rules
Support ended: 31.12.2011

PNG Alpha Transparency on thumbnail/medium image generation

Postby MeTaL_oRgY » Mon Oct 24, 2011 8:12 pm

Gallery Version: 1.1.4
phpBB Version: 3.0.9
Gallery-Link: http://ingosranch.com/foros/gallery/

PHP Version: 5.2.17
Database Version: MySQL 5.1.53


Error description and message
When uploading a png image with alpha transparency, the generated thumbnails and medium sized images have a black background on them instead. Now, I'm almost sure this is something I have to edit on my php.ini configuration (or somewhere around here) but am not really sure what exactly is that I am looking for, so any help would be appreciated.

Here's an example in case you got lost somewhere:
http://ingosranch.com/foros/gallery/ima ... &sd=d&st=0

The generated image has a black background on it. If you click on the image to load the original file, a shadowbox will appear with a custom background. I'd like that transparency to remain even on the generated images.

EDIT: After some research, I think this may be a thing to be updated on phpBB Gallery itself. Found this link that might point in the right direction: http://stackoverflow.com/questions/2792 ... ncy-in-php
MeTaL_oRgY
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Oct 24, 2011 8:02 pm
phpBB.com: MeTaL_oRgY

Re: PNG Alpha Transparency on thumbnail/medium image generat

Postby nickvergessen » Tue Oct 25, 2011 2:05 am

Thank you, seems like we finally have a fix for this old and odd bug:
tracker.php?p=6&t=792
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: PNG Alpha Transparency on thumbnail/medium image generat

Postby MeTaL_oRgY » Tue Oct 25, 2011 2:14 am

Thank you very much! Will try it now. :)
MeTaL_oRgY
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Oct 24, 2011 8:02 pm
phpBB.com: MeTaL_oRgY

Re: PNG Alpha Transparency on thumbnail/medium image generat

Postby MeTaL_oRgY » Tue Oct 25, 2011 2:22 am

Ok, just applied the change and it works like a charm. Thank you for a wonderful plugin! :)
MeTaL_oRgY
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Oct 24, 2011 8:02 pm
phpBB.com: MeTaL_oRgY


Return to Support & Administration

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest