PNG (transparent) thumbnails?

svsanchez

Hello freeSbee, I uploaded the 4 files that you had attached on the previous post, which must have been for newer versions of Bakery. I upgraded the whole thing and removed the possibility of adding products to the catalog due to the problem I mentioned on my other post about not being able to skip checkout if only 1 payment option is available. Now the transparent PNGs are working.

freeSbee

Hi svsanchez

Strange - Bakery v1.5.9 does not have a config file at all.
Did you mix up two versions of Bakery?

Regards Christoph

svsanchez

Hello again freesbee, I'm again updating the catalog with some transparent "PNG" pictures for each product, and encountered the same problem as last year (black background instead of transparent background) so I replaced the 4 files you suggested on your post but now I get the following error:

Warning: require_once(/home/decorade/public_html/modules/bakery/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/decorade/public_html/modules/bakery/modify.php on line 40

Fatal error: require_once() [function.require]: Failed opening required '/home/decorade/public_html/modules/bakery/config.php' (include_path='.:/usr/lib/php') in /home/decorade/public_html/modules/bakery/modify.php on line 40

I'm guessing it's because I'm using bakery v1.5.9?

svsanchez

Hello freesbee, I just found your reply to my question so I wanted to say thank you.

I'm not sure how I solved the problem last year, but it's great to have this solution on the forum.

freeSbee

Hi

Just found another small bug. Please use the bakery png patch attached below.
Please report if you find any bugs.

Regards Christoph

freeSbee

#2
Hi svsanchez

Replace the 4 original Bakery files resize_img.php, save_item.php, modify_item.php and modify.php by the ones provided in the attached zip.

Please report if you find any bugs.

Regards Christoph

svsanchez

Hello, I just uploaded several products with their corresponding transparent image in PNG, but to my surprise the thumbnails are not transparent PNGs but JPGs with a black background. How can I tell Bakery to create the thumbnails in transparent PNG?

Thank you!