Having always to make jpg when Gimp gives .png as favoured.
Any way of changing to accept pngs instead of jpgs
Having always to make jpg when Gimp gives .png as favoured.
Any way of changing to accept pngs instead of jpgs
You can choose .png without any changes
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
I am using 1.5.6a and it does not accept pngs when I make a new product only jpgs.
Zen Cart has been accepting jpg, gif, webp, png, and swf for as long as I can remember. I suggest you check the .htacces file in your images folder against a fresh Zen Cart file set. And check your hosting for allowed files on the server.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Thanks for that I'll try it out.
I see this in the present one
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresByType https://www.google-analytics.com/ " access 1 month"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
ErrorDocument 404 https://www.webhouses.co.uk/404page.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.webhouses.co.uk/$1 [R,L]
</IfModule>
Last edited by bscho; 29 Jan 2019 at 08:11 AM.
I have tried an image test of a png and it worked. I'll have to go back and try the orginal failed jpgs again to see what is happening.
First the pngs did not work I made jpgs and they worked. I'll get to the bottom of this I hope.
Anyway thanks for your help. Much appreciated.