Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by gmodesign

  1. gmodesign

    CCGV or Discount Coupon Codes?

    Is it just me or does it seem that this contrib has an excessive amount of problems?
  2. It seems like you have More Pics 6 and something else (Ultra Pics Addon) maybe?? If so, I had problems using both and had to remove Ultra Pics Contrib. Make sure you try the MOPICS ZOOM MOD. Good luck
  3. I've installed more_pics_6_v1.3b I appreciate the ability to view the additional images and popup windows in the product_info page. Now, what I would like to do is to 1. Have the 'small' picture on the product list (index.php) page be the thumbnail (image_s.jpg) image rather than a sized down large (image.jpg) image. 2. Have the main Product Image (image.jpg) appear full size in the product_info.php page; in addition to, or rather than, the thumbnail (image_s.jpg) while keeping the remaining images 2 - 5 thumbnails. -- I've recently & succesfully used Different Image Size - Product_info & frontpage http://www.oscommerce.com/community/contributions,4554 and love how that works Is there any way of combing these two contribs so that on the product list (index.php) page I have image_s.jpg as the thumbnail which opens product_info.php with the large image.jpg and the other 5 image_s.jpg thumbnails? Here are the relative lines of code from the original product_info.php file, the More Pics 6 code, and the Different Image Size - Product_info & frontpage code. 1. Original product_info.php (line 111 - 116) <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image( DIR_WS_IMAGES.(file_exists(DIR_WS_IMAGES.str_replace( '.','_th.',$product_info['products_image']))?str_replace( '.','_th.',$product_info['products_image']):$product_info['products_image']), addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> 2. More Pics 6 code <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> 3. Different Image Size - Product_info & frontpage --- This code a) Displays ImageB.jpg B) removes the link "click to enlarge" c) Changes the image, so that it doesnt link to the pop up window.
 <script language="javascript"><!-- document.write('<?php $product_substr = $product_info['products_image']; $product_substr = substr($product_substr,0, strlen($product_substr) - 5) . "B.jpg"; echo tep_image(DIR_WS_IMAGES . $product_substr, addslashes($product_info['products_name'])); ?>'); //--></script> Hope this made sense. Thanks in advance for any feedback or help.
  4. I've installed Different Image Size - Product_info & frontpage (http://www.oscommerce.com/community/contributions,4554) Which allows a different image different from the thumbnail to display in the product_info.php pages.<br> Example: In catalog/images you have two images, but one is bigger than the other: 
Image1A.jpg 100x100 pixels big. 
Image1B.jpg 500x500 pixels big. 
What I need is an add-on or external tool that allows the admin user to take any size picture and generate the thumbnail (Image1A.jpg) and the product popup (Image1B.jpg). I understand there are various thumbnail creators, but I don't see anything that will create both at the same time. Thanks all, G
  5. gmodesign

    Attaching Files to Order

    KLarsen, Thanks for assuring me that there is a way to accomplish my next OSC task. I am trying to allow the customer to attach a file (particularly .jpgs) to the Contact Us (/catalog/contact_us.php) email feature. I.E. When a customer wants to send a photo to be transferred to a t-shirt they would fill out the email and click attach file. It seems your solution might be a simple accomodation. Thanks in advance, Gerard
  6. gmodesign

    Super Contact us enhancement 1.0

    Any idea how to add an ATTACHMENT feature to the email form? I need to have users submit .jpgs. Of course, a button would need to be created.
  7. Thanks for going so far out of the way to help.