| 10 Dec 2011, 12:18 | ||||||||||
|
Joined: 9 Aug 2011
Posts: 16 Switzerland |
Hi there...
i want to display a transparent PNG file in my gallery.. the problem is, that the thumbnail is coverted as jpeg ... then my pic is white... see attach.. is there a possibility to use png as tumbs? regards
|
|||||||||
| 12 Dec 2011, 00:25 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7280 |
Your PNG is not in fact converted to PNG ... but the white frame you have in your gallery is still displaying behind the PNG file. You would need to disable the frame effect ...
PNG is not possible for thumbnails, because Imagevue creates jpg preview files for all images, regardless of their original format. _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
|||||||||
| 13 Jan 2012, 12:24 | Re: Transparent PNG is going to white? | |||||||||
|
Joined: 1 Mar 2011
Posts: 3 |
I have a similar problem. I'm fine with a jpg as thumbnail for my png but can i change the automatic black color background for the jpg thumbnail for something like gray or white???
Thanks! |
|||||||||
| 14 Jan 2012, 22:14 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7280 |
The thing is, the PNG does stay transparent, but there is still a frame behind your image as defined in your theme. You would need to disalbe the frame, either globally, or for that folder, to prevent anything displaying behind your PNG.
_________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
|||||||||
| 16 Jan 2012, 09:02 | Re: Transparent PNG is going to white? | |||||||||
|
Joined: 1 Mar 2011
Posts: 3 |
Thanks for the fast reply but what i want is to change the background of the thumbnail. My .png show's properly but as you can see, the frame of my thumbnails is white but the background of the .jpg thumbnail is black.
Screen shot.png [ 104.03 KiB | Viewed 1859 times ] Is it possible to change de default black background for all transparent PNG thumbnails? THANKS! |
|||||||||
| 16 Jan 2012, 09:43 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue PowerPack Joined: 20 May 2011Posts: 441 Denmark / Poland |
Is it possible to change de default black background for all transparent PNG thumbnails? PNG is not possible for thumbnails, because Imagevue creates jpg preview files for all images, regardless of their original format. THANKS! You're welcome _________________ Gallery PowerPack™ Demo PowerPack™ Download Help improve PowerPack - Test and report bugs. Regards, Artur. |
|||||||||
| 16 Jan 2012, 22:09 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7280 |
Is it possible to change de default black background for all transparent PNG thumbnails? It is a PHP library that converts and resizes images, so I will need to check this if the PHP module can be edited to set a white background instead of black when removing PNG transparency ... _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
|||||||||
| 17 Jan 2012, 08:48 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Hitman Joined: 2 May 2006Posts: 2857 |
Here is the fix. Replace iv-includes/include/ivImage.class.php with the file attached.
_________________ Nick // Imagevue ![]() ![]() ![]() ![]() dear-apple.com jaconda.im indexr gridpapr |
|||||||||
| 28 Mar 2012, 04:21 | Re: Transparent PNG is going to white? | |||||||||
|
Experienced Joined: 18 Dec 2008Posts: 39 |
I wasted four hours yesterday trying to figure out why all my png backgrounds were now turning to white (which don't match my gallery) - Nick, this is not a "fix", this is a change, and a serious one at that - HOW do I get the black thumbnail backgrounds back that match the rest of my gallery? I hope you've have added a setting somewhere that let's the user decide background color, and that one persons desires hasn't become the forced choice for the masses. HELP!
|
|||||||||
| 29 Mar 2012, 01:06 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Hitman Joined: 2 May 2006Posts: 2857 |
Sorry about that, looks like we will have to add an option for background color. Right now you can patch it up by removing
Code imagefill ($newImage, 0, 0, imagecolorallocate ( $newImage, 255, 255, 255 )); from iv-includes/include/ivImage.class.php _________________ Nick // Imagevue ![]() ![]() ![]() ![]() dear-apple.com jaconda.im indexr gridpapr |
|||||||||
| 29 Mar 2012, 04:43 | Re: Transparent PNG is going to white? | |||||||||
|
Experienced Joined: 18 Dec 2008Posts: 39 |
Thanks Nick
|
|||||||||
| 10 May 2012, 10:16 | Re: Transparent PNG is going to white? | |||||||||
|
Imagevue Hitman Joined: 2 May 2006Posts: 2857 |
By the way, background color for transparent png is now an option in Imagevue X2.8.
_________________ Nick // Imagevue ![]() ![]() ![]() ![]() dear-apple.com jaconda.im indexr gridpapr |
|||||||||
| 10 May 2012, 10:20 | Re: Transparent PNG is going to white? | |||||||||
|
Experienced Joined: 18 Dec 2008Posts: 39 |
Much Appreciated
|
|||||||||




