Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

proeis

Archived
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Real Name
    proeis david

proeis's Achievements

  1. Hi, try this: In product_info.php: --------------------------------------------------------- Find: echo '<a rel="image_group" title="'.$title.'" href="' . ($m_source ? $m_source : DIR_WS_IMAGES . $product_info['products_image']) . '" alt="' . $product_info['products_name'] . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 5) . '</a><br />'; And replace with: echo '<a rel="image_group" title="'.$title.'" href="' . ($m_source ? $m_source : DIR_WS_IMAGES . $product_info['products_image']) . '" alt="' . $product_info['products_name'] . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 4) . '</a><br />'; --------------------------------------------------------- It just changed the last parameter(thumbnail_type) in function tep_image() to the value I think it must be. I don't know why u set it to 5 there, let me know if I went wrong. In additions, I think the constants [sMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT] should be changed to [PRODUCT_INFO_IMAGE_WIDTH, PRODUCT_INFO_IMAGE_HEIGHT] for independent setting (this constants was newly added by oscthumb installation, and it can be set in admin>Images). Have fun!
  2. Thnks for this nice contribution. With oscThumb installed, like another member I found that It does not works If "Encrypt Image Filenames" is set to "true" in admin. (It did not popup in products_info page when clicked thumbnail images). After I have tried to do following hacks in file [jquery.fancybox.js], it works. ---------------------------------------------------- ==>Find , imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; and replace it with: , imageRegExp = /(jpg|gif|png|bmp|jpeg)(.*)?$/i; ---------------------------------------------------- Hope it helps!
  3. Thnks for this nice contribution. With oscThumb installed, I found that It does not works If "Encrypt Image Filenames" is set to "true" in admin. (It did not popup in products_info page when clicked thumbnail images). After I have tried to do following hacks in [jquery.fancybox.js], it works. ---------------------------------------------------- ==>Find , imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; and replace it with: , imageRegExp = /(jpg|gif|png|bmp|jpeg)(.*)?$/i; ---------------------------------------------------- Hope it helps!
×
×
  • Create New...