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.
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, ...
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.
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> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </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!
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
???
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!
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
Don't think so - try 925px × 1209px !!!
Hosting plans with installation, configuration, contributions, support and maintenance.
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.
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.
I had put it in the catalog/templates/fallback/images directory with the store_logo file.
Thank you for showing me the right place.
Bookmarks