Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default High-Resolution logo.gif?

    I replaced the Zencart logo (admin/images/logo.gif) with my own. The trouble is, this logo is also used on the invoice and packing slips. When I print these out on a laser printer, the logo looks terrible at 72dpi. To print the logo at 600 dpi requires a logo.gif file that is over 1500 pixels wide, far too big for use on a monitor.

    How can I use a high-resolution logo.gif but force it down to the proper sizing to view on a screen? I know how to do this in HTML, but this is obviously more complicated.

    Is this a configuration setting? A stylesheet hack? A code hack?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: High-Resolution logo.gif?

    The files used for emails > invoices etc are different than those used for screen/web presentation.....

    Look in the /email folder for header.jpg and alter this file
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    Quote Originally Posted by kobra View Post
    The files used for emails > invoices etc are different than those used for screen/web presentation.....

    Look in the /email folder for header.jpg and alter this file
    I'm not so sure about this...logo.gif is the Zencart logo. It appears in lots of places, including the page header in the admin console. The same file is used on the packing slips.

  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: High-Resolution logo.gif?

    kobra=3506 posts; absoluteblock=9 ...listen to the advice!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  5. #5
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    Quote Originally Posted by Ryk View Post
    kobra=3506 posts; absoluteblock=9 ...listen to the advice!
    He gave me advice for something that doesn't apply to my situation. I don't blame Kobra for that, I probably didn't explain the problem very well. admin/images/logo.gif is used in headers, invoices, and packing slips. If you don't believe me, do a search and you'll see for yourself.

    How about trying to understand my question instead of casting me off as an idiot?

  6. #6
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    The dpi of a graphic is defined within the graphic when the image is saved. You will need a good graphic program to modify the print dpi settings.

  7. #7
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    Quote Originally Posted by stagebrace View Post
    The dpi of a graphic is defined within the graphic when the image is saved. You will need a good graphic program to modify the print dpi settings.
    I saved the graphic at 600dpi in Photoshop. This made a gif image that was over 1500 pixels wide - obviously too big for a monitor.

    What I am looking for is a way to force the image down to smaller screen dimensions by using code.

  8. #8
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    Here is a link to some info on the use of HTML and image sizing.

    http://www.w3schools.com/html/tryit....tml_images_adj

  9. #9
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    Quote Originally Posted by stagebrace View Post
    Here is a link to some info on the use of HTML and image sizing.

    http://www.w3schools.com/html/tryit....tml_images_adj
    As I mentioned in my first post, I already know how to do this in HTML.

    Zen Cart uses a different method of specifying the dimensions using PHP. That's what is hanging me up.

  10. #10
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: High-Resolution logo.gif?

    I think I may be in the right location.

    admin/includes/languages/english.php has the following:

    Code:
     
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Admin Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    I can change the HEADER_ALT_TEXT successfully, but anything I do to the width and height has no effect. In fact, the current width and height have no effect.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. HELP!!!!!....Need to center My logo hench logo.gif on my main page
    By Robert Cooper in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jul 2013, 01:33 PM
  2. Resized high resolution product images, now have jagged edges
    By strugglingnovice in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 8 Jul 2010, 08:45 PM
  3. Icon.gif and Logo.gif
    By patwithds in forum General Questions
    Replies: 5
    Last Post: 27 Aug 2009, 05:48 PM
  4. I want to print my high resolution local on invoices & packing slips
    By kachinas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Feb 2009, 01:13 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