Zen Cart Logo
Forums / Upgrading to 1.5.x / qr-code.png on invoice broke my store and admin

qr-code.png on invoice broke my store and admin

Views: 757

Results 1 to 3 of 3
10 Apr 2016, 2:43 PM
#1
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

qr-code.png on invoice broke my store and admin

I'm using 1.5.5 zip 03/29/2016 with PHP version 7.0.5, vanilla install/upgrade with zero add-ons.
I added a qr-code.png to my invoices (so my customers can share my website when they receive their package) and broke my store and admin. I changed it to qr-code.jpg and everything works again, but I'm worried about image loss.
Please remind me where to allow *.png to my admin/images.
Thank you.

10 Apr 2016, 6:28 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: qr-code.png on invoice broke my store and admin

Please remind me where to allow *.png to my admin/images
There is no setting to allow using any image format
There is for allowing an upload by a customer

12 Apr 2016, 5:21 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: qr-code.png on invoice broke my store and admin

In v155, the default /admin/.htaccess already allows for serving png files from your (renamed) /admin/ folder.