Page 195 of 373 FirstFirst ... 95145185193194195196197205245295 ... LastLast
Results 1,941 to 1,950 of 3726
  1. #1941
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by SDImagine View Post
    Woot, finally found this thread.

    I need help. According to the configuration for initial height and width, I'm suppose to have a resize animation option. Where is it?

    I don't want it resizing the frame. I want the frame to be a set px with white space.

    admin/configuration/images

    towrads the bottom of the list are the setting to change for ih2

  2. #1942
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Help needed with install on a custom template

    This is my original file of my template :

    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
    */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<div class="image"><a href="javascriptopupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a></div><a class="name" href="javascriptopupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
    //--></script>
    <noscript>
    <?php
    echo '
    <div class="image">
    <a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '

    </a>
    </div><br />
    <a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank"><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span>';
    ?>
    </noscript>
    </div>



    And when I instal the file from the lightbox pop up won't work

    I tried it with winmerge but it want work for me
    Hopefully somebody can merge thenm for me in the right way

    Below is the lightbox file I have

    <?php
    /**
    * Module Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
    */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent back">
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
    if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
    $rel = 'lightbox-g';
    } else {
    $rel = 'lightbox';
    }
    ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php } else { ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascriptopupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <?php // bof Zen Lightbox 2008-12-15 aclarke ?>
    <?php } ?>
    <?php // eof Zen Lightbox 2008-12-15 aclarke ?>
    <noscript>
    <?php
    echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    </div>

  3. #1943
    Join Date
    Jan 2010
    Location
    Dorset, UK
    Posts
    2
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by BlessIsaacola View Post
    I upgraded to 1.5 and everything was fine except for a minor issue I am currently experiencing.

    SCENARIO 1: If Gallery Mode and Include Main Image in Gallery are both set to true zen light works fine except that the main image is included as an additional image. This means if you have one image (main product image) when you enlarge, you actually get 2 copies of the same image being displayed as 1 of 1 and 1 of 2. This I think should be expected based on the configuration setting.

    SCENARIO 2: If Gallery Mode is set to true and Include Main Image in Gallery is set to false zen light doesn't work right. When you click on large image the main image is enlarged but none of the additional images are displayed and the next and previous buttons are gone. This to me appears to be a bug.

    SCENARIO 3: If Gallery Mode and Include Main Image in Gallery are both set to false zen light does work either. It displays the main image on clicking large image but none of the additional images are displayed.

    I don't mind the configuration setting in 1 except that it's not user friendly displaying duplicate image. It's also not user friendly to display the same image twice when only one image is present.

    It looks like this code may have something to do with it:
    PHP Code:
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
      if (
    ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
        
    $rel 'lightbox-g';
      } else {
        
    $rel 'lightbox';
      }
    ?>
    Any help is appreciated.
    Hello, I have witnessed the same issue and am rather baffled as when I tested lightbox (v1.5) on my local copy of ZenCart (v1.3.8a) (running on a windaz machine), the feature worked quite well (no duplication of the main image, with or without the gallery mode).

    The other issue I faced was with the install script (I have now seen various posts with similar issues so I am not going to repeat that here). It looks to me like a configuration issue than any flawed logic in the PHP code.

    Well, it's an annoyance to see the same image twice but lightbox is still far better than the horrible default pop up window.

  4. #1944
    Join Date
    Jan 2010
    Location
    Dorset, UK
    Posts
    2
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    An update on this. A closer inspection of the live system revealed that an older installation of Slimbox (which had also failed to run on the live system for me) had not been removed cleanly. Re-installing lightbox improved the situation and with the main image excluded from the gallery, I don't see the duplication issue.

  5. #1945
    Join Date
    May 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by Alex Clarke View Post
    Ok, this is my first contribution. It allows the main product images to be displayed in lightboxes.

    Not sure what a lightbox is? Download and test it out for yourself! It's a 3 step installation procedure with no database edits. And yes, a screenshot has been included in the download.

    Any feedback would be great!

    http://www.zen-cart.com/index.php?ma...roducts_id=273

    Thanks,

    Alex
    Where can i see a working version of this lightbox?

  6. #1946
    Join Date
    Jan 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Everything works fine but I cant see Zen Lightbox configuration in admin I used uninstall.sql and install.sql ....
    Please help me

  7. #1947
    Join Date
    Jan 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Demo here ;) version 1.5
    www.koralky-smrzovka.cz/cz/

  8. #1948
    Join Date
    May 2008
    Posts
    452
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I'm having a problem with uninstalling Lightbox. After (successfully) running the uninstall SQL, when someone tries to view a larger image, the new window puts up this text instead of the image:

    // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_POPUP_IMAGES');

    Any idea what's causing this?

  9. #1949
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by mzimmers View Post
    I'm having a problem with uninstalling Lightbox. After (successfully) running the uninstall SQL, when someone tries to view a larger image, the new window puts up this text instead of the image:

    // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_POPUP_IMAGES');

    Any idea what's causing this?
    did you remove the files too? make sure in admin that it is uninstalled by checking for the controls under configuration.

    in your template folder/templates (the one for the template you are using) remember to replace this file : tpl_modules_main_product_image.php with the one from the upgrade (if you upgraded yet), if not then from the 1.3.8 installation.

  10. #1950
    Join Date
    May 2008
    Posts
    452
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    No, I didn't remove the files; I didn't realize that was necessary. I wonder if I could get away with just replacing that one file that's been changed.

    Thanks.

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR