osCmax v2.5 User Manual
Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Image sizes in oscMax

This is a discussion on Image sizes in oscMax within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; If I put 1 in the Height value, I get a . as an image. If I put a space, ...

      
  1. #11
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Image sizes in oscMax

    If I put 1 in the Height value, I get a . as an image. If I put a space, I get the image not resized.

    One more thing, I changed the logo for the main page. My image is too big. Where can I reduce the size.

  2. #12
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Image sizes in oscMax

    That is in your template. For the default template - size is not specified - it displays the file as it. So ether change the HTML to specify size or change the file to the size you want.

    PHP Code:
    <!-- header //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr class="header">
        <td valign="middle"><?php echo '<a href="' tep_href_link(FILENAME_DEFAULT) . '">' tep_image(DIR_WS_IMAGES 'oscmax.gif''osCMax v2.0 - Power E-Commerce') . '</a>'?></td>
        <td align="right" valign="bottom"><?php echo '<a href="' tep_href_link(FILENAME_ACCOUNT'''SSL') . '">' tep_image(DIR_WS_IMAGES 'header_account.gif'HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' tep_href_link(FILENAME_SHOPPING_CART) . '">' tep_image(DIR_WS_IMAGES 'header_cart.gif'HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL') . '">' tep_image(DIR_WS_IMAGES 'header_checkout.gif'HEADER_TITLE_CHECKOUT) . '</a>'?>&nbsp;&nbsp;</td>
      </tr>
    </table>
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #13
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Image sizes in oscMax

    I changed the width to 50% in the code and still did not have any change.

    I changed the size of the file gif and still no change

    ???

  4. #14
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Image sizes in oscMax

    Using HTML to display a pic at 50% then change the file to be different size in pixels = will result in the pic STILL showing in the same dimensions as before (it will be stretched or shrunk to the same size to fit).

    Unless there is a reason to use % size (as in you want to stretch something on purpose - like a background/boarder etc) I would stick with absolute size in pixels and define it in the HTML.

    Maybe posting a PIC of your issue and a PIC of what you want---or if you have a URL to look at.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #15
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Image sizes in oscMax

    I changed the width to 61 and still no change.

    Here is the URL:

    GagneenSante.com : Nouveautés?

    The logo takes the whole page but my image in the file.gif is 61 W X 80 H

  6. #16
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Exclamation Re: Image sizes in oscMax

    Don't think so - try 925px × 1209px !!!
    Hosting plans with installation, configuration, contributions, support and maintenance.

  7. #17
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Image sizes in oscMax

    Yes that was the original size of the file but I resized it with IrfanView to 61 X 80 pixels. Saved it and sent it to the server.

  8. #18
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Image sizes in oscMax

    Nope, that's the current size being dished out from http://gagneensante.com/catalog/images/gagne_logo.gif - saved to the wrong place maybe?
    Hosting plans with installation, configuration, contributions, support and maintenance.

  9. #19
    Member
    Join Date
    May 2009
    Posts
    69
    Rep Power
    4


    Default Re: Image sizes in oscMax

    I had put it in the catalog/templates/fallback/images directory with the store_logo file.

    Thank you for showing me the right place.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Is it possible to have two sizes for the small image? If so, how?
    By aaanativearts in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-17-2009, 08:31 AM
  2. Mutli image sizes
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-05-2008, 02:01 PM
  3. Image sizes
    By cygnus in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 04-01-2005, 08:31 PM
  4. Different Image Sizes for Different Products
    By jhixson in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-08-2004, 08:17 PM
  5. Having 3 image sizes for a product
    By bradeng in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-11-2003, 10:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •