Thread: Image re-size!!

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    14
    Plugin Contributions
    0

    red flag Image re-size!!

    I uploaded a new photo to replace the logo.gif at /includes/templates/template_default/images/logo.gif.

    the new photo apreared fine but i could not control its size even though i changed its at in the header.php

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', '');
    define('HEADER_SALES_TEXT', 'TagLine Here');
    define('HEADER_LOGO_WIDTH', '95px');
    define('HEADER_LOGO_HEIGHT', '30px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');

    can you please advise me how to control the size of that logo?

    Thank you for your assistance.
    Adam

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Image re-size!!

    I believe the size defines in the header php file are no longer relevant.

    Your logo should be created at the exact size you want it in your header. Do not rely on sizing defines in the code.
    20 years a Zencart User

 

 

Similar Threads

  1. v150 matching image size to box size so that image doesn't tile
    By cyberbaffled in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jul 2013, 02:08 PM
  2. Pop up image size.. image right size, window too small
    By grayceworks in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 18 Dec 2011, 06:25 AM
  3. Produc/Category Image - limiting image size and type
    By nigelt74 in forum Customization from the Admin
    Replies: 3
    Last Post: 13 Jul 2009, 03:08 AM
  4. product image size - how do you display the original size?
    By abcdabcd in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Aug 2007, 04:49 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