Jump to content

[solved] Transparent image background


wert790

Recommended Posts

Hi!
I'd like to have a transparent product image background instead of the ordinary white one. I understand i have to make changes to images.inc.php file, but i just can't get it to work.

Do anyone know where i can get a finished, working image.inc.php file which creates png-files with transparent background?

Thanks alot!

Link to comment
Share on other sites

Hi!

I been trying this also but instead i put in the same color as the background witch is perfect for me - in rgb color (use photoshop to convert your values).

Although this won´t help you if you have an image as the shop´s background but anyway - for this i have no solution.

Here are the changes i did made (the 70 numbers) on line 157 in latest stable PS version:

$white = imagecolorallocate($destImage, 70, 70, 70);


//Stefan

Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...