Thread: Zen Colorbox

Page 13 of 34 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 336
  1. #121
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Zen Colorbox

    Quote Originally Posted by pricediscrimination View Post
    Was using Zen Lightbox before. It stopped working after upgrading to 1.5.4, so installed Zen Colorbox.

    One feature that was nice in Zen Lightbox was the option to "Close on Image Click". It is possible to do this with Zen Colorbox?

    Also, not sure if these are known bugs or just bugs pertaining to my specific installation, but setting "Display Image Counter" to false causes the Colorbox to stop working.
    because colorbox can be used for many different things, such as popup contact us form, it would not make sense to close on box click, thus the close button. It does have the option to close on click outside the popup box!

    Not sure why you would tun off the 1 of total count... but I see there was an code error in the options.php class killing the script.

    in includes/classes/zen_colorbox/options.php file, add "" in the following code

    Code:
    if (ZEN_COLORBOX_COUNTER == 'true') 
    {
        echo '"{current} of {total}"'; 
    }
    else 
    {
        echo '""'; 
    }


    Quote Originally Posted by pricediscrimination View Post
    Almost forgot, the colorbox is resizing images to be smaller than they actually are. The point of a lightbox is to show images that are larger than being displayed on the page. What is the best way to go about making the images display as their actual size?
    Colorbox animation will snap the image then drop to a size percentage of the screen, a responsive design for small screens. if you have ZC setup to use images correctly, then you should see the larger images... good test is to turn off colorbox and see if it works as expected. Colorbox is not designed to manage image size other then for animation which completes to the actual image size.

    So if you have photo.jpg for the thumb, photo_LRG.jpg for the large, then you are on track, if not then you have some work to do.
    Dave
    Always forward thinking... Lost my mind!

  2. #122
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by pricediscrimination View Post
    The point of a lightbox is to show images that are larger than being displayed on the page. What is the best way to go about making the images display as their actual size?
    lightbox does NOTHING more than display your large images inside a lightbox.. It does nothing to manage or manipulate image size settings
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #123
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Quote Originally Posted by davewest View Post
    because colorbox can be used for many different things, such as popup contact us form, it would not make sense to close on box click, thus the close button. It does have the option to close on click outside the popup box!
    The functionality would be nice, not everyone uses everything the same way. It was a great feature in Zen Lightbox and would be a great feature in this plugin as well.

    Quote Originally Posted by davewest View Post
    Not sure why you would tun off the 1 of total count... but I see there was an code error in the options.php class killing the script.



    in includes/classes/zen_colorbox/options.php file, add "" in the following code

    Code:
    if (ZEN_COLORBOX_COUNTER == 'true') 
    {
        echo '"{current} of {total}"'; 
    }
    else 
    {
        echo '""'; 
    }
    Thanks for the code! Not everyone wants to Display Image Counter, I guess that's why it's an option.


    Quote Originally Posted by davewest View Post
    Colorbox animation will snap the image then drop to a size percentage of the screen, a responsive design for small screens. if you have ZC setup to use images correctly, then you should see the larger images... good test is to turn off colorbox and see if it works as expected. Colorbox is not designed to manage image size other then for animation which completes to the actual image size.

    So if you have photo.jpg for the thumb, photo_LRG.jpg for the large, then you are on track, if not then you have some work to do.
    Most lightboxes (in Worpress for example) just link to whatever the image URL is that is being clicked, then display it within a lightbox on the same page for easy viewing. This is also how Zen Lightbox worked perfectly. Is Colorbox unable to do that?

  4. #124
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Quote Originally Posted by DivaVocals View Post
    lightbox does NOTHING more than display your large images inside a lightbox.. It does nothing to manage or manipulate image size settings
    Right, it should display the image exactly as the image is. Meaning if the image being linked to is 750 x 750, when clicking the lightbox you should see the full 750 x 750. Colorbox is not showing the full image as it was intended - it resizes them.

  5. #125
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by pricediscrimination View Post
    Right, it should display the image exactly as the image is. Meaning if the image being linked to is 750 x 750, when clicking the lightbox you should see the full 750 x 750. Colorbox is not showing the full image as it was intended - it resizes them.
    and what Dave and I are saying is that's NOT colorbox doing this.. Image sizing is managed with the images settings which Colorbox does NOT modify or manipulate.. Can show you PLENTY of examples to demonstrate this..

    Quote Originally Posted by davewest View Post
    if you have ZC setup to use images correctly, then you should see the larger images... good test is to turn off colorbox and see if it works as expected. Colorbox is not designed to manage image size other then for animation which completes to the actual image size.
    Last edited by DivaVocals; 7 Mar 2015 at 09:53 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #126
    Join Date
    Mar 2015
    Location
    Lake City, Florida, United States
    Posts
    8
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Did you have to make any modifications? I installed Zen Cart, then IH and the Winchester Black template which has Colorbox built in and it is giving IH some problems.

  7. #127
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by Ben Hewett View Post
    Did you have to make any modifications? I installed Zen Cart, then IH and the Winchester Black template which has Colorbox built in and it is giving IH some problems.
    Winchester Black has Zen Lightbox not Zen Colorbox.. You will need to post your issue on the template authors support thread..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #128
    Join Date
    Mar 2015
    Location
    Lake City, Florida, United States
    Posts
    8
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    According to this search in "developers tool kit" from the Admin panel of Winchester Black Responsive has Color Box.

    /home/gators1993/notashamedts.com/store/ben/includes/installers/winchester_black/1_0.php

    Line #215 : (NULL, '<b>Zen Colorbox</b>', 'ZEN_COLORBOX_STATUS', 'true', '<br />If true, all product images on the following pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />- page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Default: true</b>', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),

    Line #218 : (NULL, 'Initial Width', 'ZEN_COLORBOX_INITIAL_WIDTH', '250', '<br />If Enable Resize Animations is set to true, the lightbox will resize its width from this value to the current image width, when first displayed.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 103, NOW(), NOW(), NULL, NULL),

    Line #219 : (NULL, 'Initial Height', 'ZEN_COLORBOX_INITIAL_HEIGHT', '250', '<br />If Enable Resize Animations is set to true, the lightbox will resize its height from this value to the current image height, when first displayed.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 104, NOW(), NOW(), NULL, NULL),

    Line #220 : (NULL, 'Display Image Counter', 'ZEN_COLORBOX_COUNTER', 'true', '<br />If true, the image counter will be displayed (below the caption of each image) within the lightbox.<br /><br /><b>Default: true</b>', @cgi, 105, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #221 : (NULL, 'Close on Overlay Click', 'ZEN_COLORBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when the overlay is clicked.<br /><br /><b>Default: false</b>', @cgi, 106, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),

    Line #228 : (NULL, '<b>Gallery Mode</b>', 'ZEN_COLORBOX_GALLERY_MODE', 'true', '<br />If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.<br /><br /><b>Default: true</b>', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #229 : (NULL, '&nbsp; Include Main Image in Gallery', 'ZEN_COLORBOX_GALLERY_MAIN_IMAGE', 'true', '<br />If true, the main product image will be included in the lightbox gallery.<br /><br /><b>Default: true</b>', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #230 : (NULL, '<b>EZ-Pages Support</b>', 'ZEN_COLORBOX_EZPAGES', 'true', '<br />If true, the lightbox effect will be used for linked images on all EZ-Pages.<br /><br /><b>Default: true</b>', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #231 : (NULL, '&nbsp; File Types', 'ZEN_COLORBOX_FILE_TYPES', 'jpg,png,gif', '<br />On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.<br /><br /><b>Default: jpg,png,gif</b><br />', @cgi, 401, NOW(), NOW(), NULL, NULL);");

    Also a check of jscript files in the template has a file named jquery.colorbox-min.
    This is a quote from the top of that file

    /*!
    Colorbox v1.4.33 - 2013-10-31
    jQuery lightbox and modal window plugin
    (c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
    license: http://www.opensource.org/licenses/mit-license.php
    */

    It is a ColorBox issue.

  9. #129
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by Ben Hewett View Post
    Did you have to make any modifications? I installed Zen Cart, then IH and the Winchester Black template which has Colorbox built in and it is giving IH some problems.
    Quote Originally Posted by Ben Hewett View Post
    According to this search in "developers tool kit" from the Admin panel of Winchester Black Responsive has Color Box.

    /home/gators1993/notashamedts.com/store/ben/includes/installers/winchester_black/1_0.php

    Line #215 : (NULL, '<b>Zen Colorbox</b>', 'ZEN_COLORBOX_STATUS', 'true', '<br />If true, all product images on the following pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />- page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Default: true</b>', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),

    Line #218 : (NULL, 'Initial Width', 'ZEN_COLORBOX_INITIAL_WIDTH', '250', '<br />If Enable Resize Animations is set to true, the lightbox will resize its width from this value to the current image width, when first displayed.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 103, NOW(), NOW(), NULL, NULL),

    Line #219 : (NULL, 'Initial Height', 'ZEN_COLORBOX_INITIAL_HEIGHT', '250', '<br />If Enable Resize Animations is set to true, the lightbox will resize its height from this value to the current image height, when first displayed.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 104, NOW(), NOW(), NULL, NULL),

    Line #220 : (NULL, 'Display Image Counter', 'ZEN_COLORBOX_COUNTER', 'true', '<br />If true, the image counter will be displayed (below the caption of each image) within the lightbox.<br /><br /><b>Default: true</b>', @cgi, 105, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #221 : (NULL, 'Close on Overlay Click', 'ZEN_COLORBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when the overlay is clicked.<br /><br /><b>Default: false</b>', @cgi, 106, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),

    Line #228 : (NULL, '<b>Gallery Mode</b>', 'ZEN_COLORBOX_GALLERY_MODE', 'true', '<br />If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.<br /><br /><b>Default: true</b>', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #229 : (NULL, '&nbsp; Include Main Image in Gallery', 'ZEN_COLORBOX_GALLERY_MAIN_IMAGE', 'true', '<br />If true, the main product image will be included in the lightbox gallery.<br /><br /><b>Default: true</b>', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #230 : (NULL, '<b>EZ-Pages Support</b>', 'ZEN_COLORBOX_EZPAGES', 'true', '<br />If true, the lightbox effect will be used for linked images on all EZ-Pages.<br /><br /><b>Default: true</b>', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),

    Line #231 : (NULL, '&nbsp; File Types', 'ZEN_COLORBOX_FILE_TYPES', 'jpg,png,gif', '<br />On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.<br /><br /><b>Default: jpg,png,gif</b><br />', @cgi, 401, NOW(), NOW(), NULL, NULL);");

    Also a check of jscript files in the template has a file named jquery.colorbox-min.
    This is a quote from the top of that file

    /*!
    Colorbox v1.4.33 - 2013-10-31
    jQuery lightbox and modal window plugin
    (c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
    license: http://www.opensource.org/licenses/mit-license.php
    */

    It is a ColorBox issue.
    "giving IH some problems" doesn't tell us much, but that said, I would still think that it's an issue with your template since Zen Colorbox OUT THE BOX works just fine.. So I would say that there is something amiss with your template.. If you have better information to provide perhaps the community can provide a better answer..
    Last edited by DivaVocals; 8 Mar 2015 at 04:49 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #130
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Quote Originally Posted by DivaVocals View Post
    and what Dave and I are saying is that's NOT colorbox doing this.. Image sizing is managed with the images settings which Colorbox does NOT modify or manipulate.. Can show you PLENTY of examples to demonstrate this..
    It is definitely resizing images. Nothing in zen cart is saying to make an image 745 x 745, yet Colorbox is doing so. Probably due to this:

    #colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

 

 
Page 13 of 34 FirstFirst ... 3111213141523 ... LastLast

Similar Threads

  1. v155 Attribute image swapped for main image using Colorbox
    By soxophoneplayer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2016, 02:34 PM
  2. Trying to fix inline code with colorbox...
    By toomanyknots in forum General Questions
    Replies: 2
    Last Post: 5 Apr 2015, 04:26 PM
  3. IH and Zen Colorbox vs Zen Lightbox?
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 28 Jan 2015, 02:29 AM
  4. Lightbox OR Colorbox
    By Rizla in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 2 May 2014, 11:55 AM
  5. LightBox, SlimBox, ColorBox, which one is better?
    By waterbender in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2013, 07:32 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