Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    red flag change image types to either png or jpg

    Dear Zen Cart,

    I am trying to change the file logo.gif to logo.png or logo.jpg for the \includes\templates\classic\images template and was wondering how I do this?

    Respectfully,

    tds_employee

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

  3. #3
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    unfortunatly this fix did not work. I changed: includes\languages\english\header.php logo.gif file to logo.png and it wont accept the logo.png file on the zen store.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    it wont accept the logo.png file on the zen store.
    Please explain "won't accept" ?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    What I mean is when I change the php page to look for the logo.png file, it does not show the logo that I uploaded. It then pulls the logo.gif file from includes/templates/template_default/images/logo.gif

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    The correct path is this:
    includes/templates/classic/images/logo.gif

  7. #7
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    yes i know, it goes to the correct path when I have the logo.gif file loaded.

    This doesnt solve the problem in which I am trying to have the logo.gif file changed to a logo.png file

  8. #8
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    since you are still using the classic contemporary green template instead of the override system..

    Have you edited this file:
    includes/ languages/ english/ classic/ header.php

  9. #9
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    yes, I have.

  10. #10
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: change image types to either png or jpg

    Ok,
    On a test site of 139h

    includes/ languages/ english/ classic/ header.php
    define('HEADER_LOGO_IMAGE', 'logo.gif');

    Change to:

    define('HEADER_LOGO_IMAGE', 'logo.png');
    Now create your new image in photoshop and upload this new logo.png photo to:
    includes/ templates/ classic/ images

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Looking for MYSQL Query to change image extension from .JPG to .jpg
    By JDMEngineLand in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 20 Dec 2011, 02:11 PM
  2. Problems with images when converting from png to jpg
    By iddy in forum General Questions
    Replies: 1
    Last Post: 30 Mar 2010, 01:26 AM
  3. JPG to PNG
    By neighbornick in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Mar 2009, 05:56 AM
  4. change background on either side from a colour to an image?
    By highlander in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Jun 2007, 12:58 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