Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Sold 1.2


busonero

Recommended Posts

Hi ! Just installed the Product Sold 1.2 Contribution

 

http://www.oscommerce.com/community/contributions,1919

 

and even if the sold.gif image ist resized at p.e. 10x10 pixel , i get in the store a much

bigger image.

 

The mage will be resized but i cannot find the way to fix the size of the displayed image at its own size.

 

Thank you for your help

 

Sincerely

Roberto

Link to comment
Share on other sites

Well, i just found out that the sold.gif recall the image size set in the admin/configuration/images (in my case 99 x 99 pixel):

 

 

To avoid image resize just change the lines of code wherever the sold.gif appear

 

in the files

 

- catalog/product_info.php

 

- catalog/prooduct_new.php

 

- catalog/includes/modules/product_listing.php

 

from

 

    <td class="pageHeading" valign="top"><?php echo tep_image (DIR_WS_LANGUAGES . $language . '/'  . DIR_WS_IMAGES . 'sold.gif', '',  SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align=ABSMIDDLE'); ?></td>

 

to

 

<td class="pageHeading" valign="top"><?php echo tep_image (DIR_WS_LANGUAGES . $language . '/'  . DIR_WS_IMAGES . 'sold.gif', '', 'align=ABSMIDDLE'); ?></td>

 

removing the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT reference.

 

Hope this will help somebody :-)

 

sincerely

 

Roberto

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...