osCmax v2.5 User Manual
Results 1 to 10 of 10

click to enlarge product photo

This is a discussion on click to enlarge product photo within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi - I've searched the forums and haven't found a clear answer to my problem, but I've found where other ...

      
  1. #1
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default click to enlarge product photo

    Hi -

    I've searched the forums and haven't found a clear answer to my problem, but I've found where other people have had a similar problem. Hopefully someone can help.

    I'd like to have the "click to enlarge" option under the product images on the product_info.php page. I've uploaded the images via the categories/products area under admin. There is only one image per product.

    Small image width is set o 150. Small image height is set to blank. Big images directory is set to blank. Main Thumbnail In "Thumbnail Images Directory" is set to false.

    Here is the site -- osCMax v2.0 : Welcome to AABox.com's osCMax v2.0 - change this in /english/index.php

    Thanks for the advice.

    Barb

  2. #2
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: click to enlarge product photo

    All you need to do is upload in the correct files:

    Lets say you image name is apple.jpg

    /images/apple.jpg
    /images/images_big/apple.jpg

    You can resize the images so it will load faster also fit in the screen for large images then have the larger picture in images_big

    Thats it your done

    Adam

  3. #3
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    Hi Adam,

    Thanks for the response, but what I'm looking for is more like the original oscommerce 2.2 behavior.

    Upload 1 image. The image is resized via the small image width & height settings. You then click on the thumbnail and see the full sized version of the image you uploaded.

    Does that make sense?

    Barb

  4. #4
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: click to enlarge product photo

    Sounds like you will need to install a mod to do that for you its not a standard option in OSCMAX but you can almost add any Contribution from oscommerce.com with a little code changing.

    osCommerce Community Add-Ons

    I just upload the images and resize them ourself its easy to upload via ftp and faster

    Adam

  5. #5
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    In catalog\templates\fallback\content\product_info.tp l.php I found the following references to TEXT_CLICK_TO_ENLARGE


    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="javascriptopupImage(\'<?php echo tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . '&type=' . $lg_image_ext); ?>\',\'<?php echo ((int)$image_size[1] + 30); ?>\',\'<?php echo ((int)$image_size[0] + 5); ?>\');"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a>');
    //--></script>
    <noscript>
    <a href="<?php echo tep_href_link($image_lg . '.' . $lg_image_ext); ?>" target="_blank"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], stripslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a>
    </noscript>


    I don't know the logic behind php to know what the trigger point is for the "Click to Enlarge" text to appear. Can someone tell me the trigger point for this to happen?

    Thanks,
    Barb

  6. #6
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    On this page - I don't see the click to enlarge option --

    osCMax v2.0 : Product C - $0.00

    I have two images

    http://virt17b.secure-wi.com/~admin2...3601_72dpi.JPG

    http://virt17b.secure-wi.com/~admin2...3601_72dpi.JPG

    Big images directory is set to images_big/

    What am I missing? jpg is entered for big image types.

    Barb

  7. #7
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    Ok, I figured out the answer to my last question. I need the file extension to be lower case for the large image to be found. It can't be uppercase letters.

  8. #8
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    I've gone on to follow these instructions so that I only have to upload 1 image instead of 2, but I doesn't work for me:

    How to disable Dynamic MoPics altogether

    The dog photo was uploaded after I changed the settings and it still is not working for me.

    test : osCMax v2.0

    Thanks,
    Barb

  9. #9
    Active Member
    Join Date
    Aug 2004
    Posts
    117
    Rep Power
    0


    Default Re: click to enlarge product photo

    Ok, what I've found is that it is working for any category, but my "test" category. How strange?

  10. #10
    pdr
    pdr is offline
    osCMax Testing Team
    Join Date
    Nov 2007
    Location
    Lebanon, PA.
    Posts
    29
    Rep Power
    0


    Default Re: click to enlarge product photo

    if you install the oscmax with ultrapicture intergrate all you have to do go the configuration on your osmax and change the aabox to fallback them you will be able to see the enlarge picture bottom. the aabox template is not the default template in oscmax. anyother question or step by step let me know here. I will help you i have all working on my site Delgado s Computers : if you like to see what it suppost to look like.

Similar Threads

  1. Click photo or name for more information?
    By mcilpuf in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 02-01-2005, 04:05 PM
  2. click to enlarge
    By crujones in forum osCmax v1.7 Discussion
    Replies: 7
    Last Post: 04-25-2004, 02:37 PM
  3. Add click to enlarge in new product box
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-30-2004, 01:17 PM
  4. Click to Enlarge
    By msmull in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-22-2004, 08:19 AM
  5. Click to Enlarge?
    By sheikyerbouti in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 10-21-2002, 03:18 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
  •