Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / change image types to either png or jpg

change image types to either png or jpg

Started by tds_employee on 26 May 2011, 12:39 AM · Views: 2,341

Results 1 to 12 of 12
26 May 2011, 12:39 AM
#1
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

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

26 May 2011, 1:39 AM
#3
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

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.

26 May 2011, 1:51 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

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.

26 May 2011, 2:05 AM
#5
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

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

26 May 2011, 2:14 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: change image types to either png or jpg

The correct path is this:

includes/templates/classic/images/logo.gif

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

26 May 2011, 3:04 AM
#7
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

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

26 May 2011, 3:15 AM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

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

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

26 May 2011, 3:37 AM
#9
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: change image types to either png or jpg

yes, I have.

26 May 2011, 4:11 AM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

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

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

26 May 2011, 4:52 AM
#11
tds_employee avatar

tds_employee

New Zenner

Join Date:
May 2011
Posts:
6
Plugin Contributions:
0

Re: change image types to either png or jpg

I did this already still doesnt work.

26 May 2011, 5:03 AM
#12
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: change image types to either png or jpg

What is your URL?

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.