Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2016
    Location
    London
    Posts
    258
    Plugin Contributions
    0

    Default Can we use .png for products?

    Having always to make jpg when Gimp gives .png as favoured.

    Any way of changing to accept pngs instead of jpgs

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Can we use .png for products?

    You can choose .png without any changes

  3. #3
    Join Date
    Jul 2016
    Location
    London
    Posts
    258
    Plugin Contributions
    0

    Default Re: Can we use .png for products?

    I am using 1.5.6a and it does not accept pngs when I make a new product only jpgs.

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Can we use .png for products?

    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.

  5. #5
    Join Date
    Jul 2016
    Location
    London
    Posts
    258
    Plugin Contributions
    0

    Default Re: Can we use .png for products?

    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.

  6. #6
    Join Date
    Jul 2016
    Location
    London
    Posts
    258
    Plugin Contributions
    0

    Default Re: Can we use .png for products?

    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 4 Feb 2013, 12:07 AM
  2. v150 How can I use the UPS shipping module only for my electronics products?
    By TheMortician4 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 15 Apr 2012, 07:59 PM
  3. Replies: 12
    Last Post: 18 Jan 2012, 07:33 PM
  4. Image Handler: How to use .GIF instead of .PNG for watermark?
    By pixelwrangler in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 May 2009, 04:24 PM
  5. How can I use a PNG for my logo icon instead of a gif???
    By Sullmoney in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Oct 2006, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg