Thread: Zen Colorbox

Page 14 of 34 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 337
  1. #131
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Zen Colorbox

    Quote Originally Posted by DivaVocals View Post
    Winchester Black has Zen Lightbox not Zen Colorbox.. You will need to post your issue on the template authors support thread..
    No, this is incorrect. Winchester Black has zen colorbox installed.

    Thanks,

    Anne

  2. #132
    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
    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;}
    Again.. NOTHING in the Colorbox CSS or Jasvascript or code RE-SIZES images.. Including the box-sizing. content-box simply tells the browser what to to with the width and height properties.. It does NOT define them..

    http://www.w3schools.com/cssref/css3_pr_box-sizing.asp
    Code:
    CSS Syntax  box-sizing: content-box|border-box|initial|inherit;
    
     Property Values 
    Value Description
    content-box Default. The width and height properties (and min/max properties) includes only the content. Border, padding, or margin are not included
    border-box The width and height properties (and min/max properties) includes content, padding and border, but not the margin
    initial Sets this property to its default value. Read about initial
    inherit Inherits this property from its parent element. Read about inherit

    Image sizing is managed through Zen Cart admin settings..

    Now you can continue to try and insist that Colorbox is doing something it's really NOT doing or you can post some information to help us help you figure out what the actual cause of your issue is.. Post your Admin Configuration image setting are and post a link to your site.. Can't help you any other way at this point..
    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. #133
    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 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.
    and if you want this feature, there's no reason why you can't add it to your own shop

    or

    submit a contribution to the Zen Colorbox Github repo to add this optional feature..
    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.

  4. #134
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Zen Colorbox

    Quote Originally Posted by pricediscrimination View Post
    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;}
    CSS is to resize the box container to match the image....not to resize the image! Like I said before... the responsive design is keeping the lightbox with in the screen size of the device.

    The responsive design feather was added to the bottom of the script jquery.colorbox-min.js in the template JavaScript folder... you can change from 95% to 100% or delete the code...

    Code:
    // Begin Make ColorBox responsive
    jQuery.colorbox.settings.maxWidth  = '95%';
    jQuery.colorbox.settings.maxHeight = '95%';
    
    // ColorBox resize function
    var resizeTimer;
    function resizeColorBox() {
      if (resizeTimer) clearTimeout(resizeTimer);
      resizeTimer = setTimeout(function() {
        if (jQuery('#cboxOverlay').is(':visible')) {
          jQuery.colorbox.resize({width:'90%', height:'90%'});
        }
      }, 300);
    }
    Keep in mind, where not the coders for colorbox, but work to integrate it into our stores... clicking on the image advances to the next image which is one of the 5 sample layouts you could use.. we would have to work on making a switch so to use image click to close and not advance, something like below... but not high on my list of to do's.

    Code:
    $('a.example').colorbox({onComplete:function(){     $('.cboxPhoto').unbind().click($.colorbox.close); }})
    I tested the code with an image of 800xp x 600px and it came out the same in colorbox, also tested with an image 120x120 and it was enlarged to meet the 95% of my screen... so for me, it's working as expected on Linux Ub-10.14, firefox36, php5.5, ZC1.5.4... I can't recreate the size problem your getting I have some other things I need to work on, the size is responsive which is what I need..

    To help us to help you, we need more info.. OS, explorer, php version, zen cart version, link to the site if it's up, so on... if we can't create the error, we can't fix it! I'm trying to get my site up and running, hoping by the end of this week I should have something up in display mode at least and you can see how I use it.
    Dave
    Always forward thinking... Lost my mind!

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

    Default Re: Zen Colorbox

    Quote Originally Posted by davewest View Post
    The responsive design feather was added to the bottom of the script jquery.colorbox-min.js in the template JavaScript folder... you can change from 95% to 100% or delete the code...

    Code:
    // Begin Make ColorBox responsive
    jQuery.colorbox.settings.maxWidth  = '95%';
    jQuery.colorbox.settings.maxHeight = '95%';
    
    // ColorBox resize function
    var resizeTimer;
    function resizeColorBox() {
      if (resizeTimer) clearTimeout(resizeTimer);
      resizeTimer = setTimeout(function() {
        if (jQuery('#cboxOverlay').is(':visible')) {
          jQuery.colorbox.resize({width:'90%', height:'90%'});
        }
      }, 300);
    }
    I need to jump in here lest your comment be misunderstood by the OP as some kind of solution.. this code snippet is for responsive design.. Changing it only impacts the resizing of the image CONTAINER not the image.. The OPs issue will NOT be resolved by changing this to 100%..

    Quote Originally Posted by davewest View Post
    To help us to help you, we need more info.. OS, explorer, php version, zen cart version, link to the site if it's up, so on... if we can't create the error, we can't fix it! I'm trying to get my site up and running, hoping by the end of this week I should have something up in display mode at least and you can see how I use it.
    Precisely what I said in my last post.. Not gonna GUESS at an issue that I cannot recreate.. The OPs assumption as to the root of his problem is simply not support by the code or usage.. He is in fact gonna have to post something tangible to see to help troubleshot.. otherwise we are all just spitting in the wind here..
    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. #136
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Hi,
    I have color box installed in both my sites www.acq uatua.it and www.m.acq uatua.it
    It works nicely and it is responsive, but google says that my mobile site shows images that are too big. see this link https://developers.google.com/speed/...psi&tab=mobile
    I have images that are actually as big as this www.m.acq uatua.it/images/large/spillatore_cobra_gold_LRG.png
    These images are shown correctly on a smartphone, but once again google complains that the width of the image is too big equal to 611.
    I understand that colorbox manages to show the images in a container that adapts itself to the size of the device without resizing them, but how can we tell google that the image is corectly shown even if the size is 600 * 800?
    Thanks for your help.
    Ciao from Italy.
    enzo

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

    Default Re: Zen Colorbox

    Quote Originally Posted by enzo-ita View Post
    Hi,
    I have color box installed in both my sites www.acq uatua.it and www.m.acq uatua.it
    It works nicely and it is responsive, but google says that my mobile site shows images that are too big. see this link https://developers.google.com/speed/...psi&tab=mobile
    I have images that are actually as big as this www.m.acq uatua.it/images/large/spillatore_cobra_gold_LRG.png
    These images are shown correctly on a smartphone, but once again google complains that the width of the image is too big equal to 611.
    I understand that colorbox manages to show the images in a container that adapts itself to the size of the device without resizing them, but how can we tell google that the image is corectly shown even if the size is 600 * 800?
    Thanks for your help.
    Ciao from Italy.
    enzo
    That is more of a general Zen Cart question, not a Colobox support question.. You will need to start a separate post to ask this question.. As stated on the other posts on this page just above yours, this mod does NOTHING to manage, change or otherwise impact image sizes..
    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. #138
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Zen Colorbox

    I'm working on upgrading a site to ZC 1.5.4. It was using Lightbox and I've replaced it with Color Box. The problem is the additional images. The main image works great. The additional images appear in a pop-up instead of the light box.

    http://154 DOT ccui DOT net/Brands/VillagerStoves/VillagerPuffin4kwWoodBurningStove?cPath=180_263_254&

    This should work for additional images, right? What might I have missed?

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

    Default Re: Zen Colorbox

    Quote Originally Posted by jeking View Post
    I'm working on upgrading a site to ZC 1.5.4. It was using Lightbox and I've replaced it with Color Box. The problem is the additional images. The main image works great. The additional images appear in a pop-up instead of the light box.

    http://154 DOT ccui DOT net/Brands/VillagerStoves/VillagerPuffin4kwWoodBurningStove?cPath=180_263_254&

    This should work for additional images, right? What might I have missed?
    yes it will.. you should re-check your installation.. Make sure you have removed ALL remnants of Zen Lightbox..
    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. #140
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Zen Colorbox

    Quote Originally Posted by DivaVocals View Post
    yes it will.. you should re-check your installation.. Make sure you have removed ALL remnants of Zen Lightbox..
    Finally had time to get back to this. I missed the included \includes\modules\YOUR_TEMPLATE\additional_images.php Image Handler is also installed and I had that version of this file.

 

 
Page 14 of 34 FirstFirst ... 4121314151624 ... 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