Forums / Templates, Stylesheets, Page Layout / Changing button images and types GIF to PNG

Changing button images and types GIF to PNG

Locked

Views: 2,529

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Oct 2009, 9:23 PM
#1
jay_gee avatar

jay_gee

New Zenner

Join Date:
Sep 2009
Posts:
48
Plugin Contributions:
0

Changing button images and types GIF to PNG

I want to install custom color buttons in my Zen Cart and need to know where to change the code (if need be) to use PNG type images instead of GIFs.

I intend to make the buttons I want to change and rename them exactly the way they are presently named, except for the .png extension, e.g., old image: add_to_cart.gif; new image: add_to_cart.png.

Will any changes to the base code or stylesheets be required to do this successfully?

I am running version 1.3.8a.

Thanks,

Jay

4 Oct 2009, 9:26 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,730
Plugin Contributions:
56

Re: Changing button images and types GIF to PNG

It's a template change; copy

includes/languages/english/button_names.php
to
includes/languages/english/YOUR TEMPLATE/button_names.php

and modify the filenames.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.