Maximum number of characters in an image filename??
Hello Everyone,
Does Zen Cart have a maximum number of characters allowed in a product image file name??
We're having some issues replacing product images and the only noticeable difference is the length of the filename.
Any help is appreciated.
Thanks.
Re: Maximum number of characters in an image filename??
Quote:
Originally Posted by
kcb410
Hello Everyone,
Does Zen Cart have a maximum number of characters allowed in a product image file name??
We're having some issues replacing product images and the only noticeable difference is the length of the filename.
Any help is appreciated.
Thanks.
Yes... the field is limited to (I think) 32 characters in the database.
You can increase this by editing the VARCHAR field for images in the products table, via PHPMYADMIN.
I usually increase mine to 64 characters. You don't want it too big... 64 characters is usually enough.
As with all edits to a database - BACKUP first.
Re: Maximum number of characters in an image filename??
BUT if you're trying to increase it so you can replace the filenames with URLs then be aware that it's not designed to use URLs for image filenames. It's expecting files on *your* server, not someone else's.
Re: Maximum number of characters in an image filename??
Thanks Schoolboy & Dr Byte.
We're just uploading new product images with descriptive file names like... product-id-model-number-actual-product-description.jpg
Re: Maximum number of characters in an image filename??