Thread: Zen Colorbox

Results 1 to 10 of 350

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Any chance someone could post the amended 1.5.7 version of core override please?

    1_Installer_Files\includes\templates\YOUR_TEMPLATE\templates\tpl_modules_main_pr oduct_image.php
    I'm not sure if the changes made to the core code between V1.5.6 and V1.5.7 also need to be made in the Colorbox insertions.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Zen Colorbox

    Quote Originally Posted by Brent View Post
    Any chance someone could post the amended 1.5.7 version of core override please?



    I'm not sure if the changes made to the core code between V1.5.6 and V1.5.7 also need to be made in the Colorbox insertions.
    Umm, there is nothing that really changed other than some comment characters were removed more for "consistency" than for functionality.

    E.g. where the pairings of '<!--' and '//-->' were previously used, they have been removed. Otherwise no change in the code since ZC 1.5.5.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Thank you. That is what I was referring to. Obvious if you can code but not if you are trying to upgrade using Beyond Compare

  4. #4
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    454
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    Apologies if this has been asked and answered elsewhere in this thread. I did try to search for it but did not find a relevant result.

    I'm finding that the title div for the light box (#cboxTitle) is covering up the bottom of the images. Is there a way to change this so it appears below the image instead of on top of the bottom part of the image? Maybe there's a CSS hack I can add?

    Thanks for any tips on this!

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Zen Colorbox

    Thanks to @mc12345678 for updating this plugin - works like a champ!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Zen Colorbox

    Hmm... jinxed it.
    The main image looks great but the additional images come out small - original sized. I could have *sworn* this was working - any clues?
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Zen Colorbox

    Quote Originally Posted by swguy View Post
    Hmm... jinxed it.
    The main image looks great but the additional images come out small - original sized. I could have *sworn* this was working - any clues?
    I do recall seeing a similar problem reported in this post (https://www.zen-cart.com/showthread....4#post1378304)

    In that case the issue was with the LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT, although I can't imagine that would be a mistake you would have made.
    Simon

  8. #8
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Zen Colorbox

    Quote Originally Posted by swguy View Post
    Hmm... jinxed it.
    The main image looks great but the additional images come out small - original sized. I could have *sworn* this was working - any clues?
    In:
    includes/classes/observers/auto.zen_color_box_observer.php

    At/around line 80 perhaps add the following that is in blue:
    Code:
                $thumb_slashes = $paramsArray['thumb_slashes'];
                $large_link = isset($paramsArray['large_link']) ? $paramsArray['large_link'] : (isset($GLOBALS['large_link']) ? $GLOBALS['large_link'] : '');
                $i = $paramsArray['index'];
    This was additional information to be carried in the Zen Cart 1.5.7 notifier within includes/modules/additional_image.php file that was not present in Zen Cart 1.5.6 when this section of code was first incorporated and at that time an issue with a missing "large_link" was not evident. It may/may not resolve that issue, but...

    Now, that said, I of course question the concern of why it shows as originally stored as compared to the perhaps reasoning to think it would be other than the original image? Ahem... Is there perhaps some additional image handler installed that is/has resized the image? The colorbox doesn't necessarily make the image "larger", it adds a box around the existing image. Or is the issue that the box is not properly sizing around the image and causing an issue with seeing the image "within"?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

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

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