WebsiteBaker Support (2.8.x) > Bakery Shop

PNG (transparent) thumbnails?

(1/2) > >>

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!

freeSbee:
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

freeSbee:
Hi

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

Regards Christoph

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.

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?

Navigation

[0] Message Index

[#] Next page

Go to full version