stone5150
VP-CART New User
USA
186 Posts |
Posted - May 06 2007 : 20:26:07
|
I want to change what file types that are allowed to be uploaded from cart when Customer Upload Image is set to yes for a product.
In shopa_uploadfilepop.asp lines 66 - 70 there is this script if len(xuploadtypes) > 0 then 'if xuploadtypes is defined in shop$config, use it as the comparison parameters validTypes = split(xuploadtypes, ",") else 'otherwise, use the following "default" image types validTypes = split("jpg,jpeg,gif,png", ",") end if
I tried to change the validTypes variable but it didn't do anything.
Where/How do I change this?
Bob Stone www.kansasstamps.org
|
Edited by - stone5150 on May 07 2007 12:26:14 |
|
support
Administrator
4679 Posts |
Posted - May 07 2007 : 21:38:42
|
Dear Bob,
The list of allowable file types for customer upload is in shopuploadfilepopcart.asp
const xuploadtypes = "jpg,jpeg,gif,png"
These are the default allowable file extensions. You should be extremely cautious about what file types you allow customers to upload on your site.
Regards,
Michael VPASP SUPPORT
|
|
|