Re: Image Display Size Restriction
Quote:
Originally Posted by
pewe
Raymond.
I am not trying to steal your thunder, but at the same time as I saw your post I had just uploaded a new copy of slimbox.php to my site and it works.
Last nigh before retiring I found the code for a responsive version of slimbox.js on google groups which I copied to replace the code in the zen lightbox .php script.
I haven't fully tested it, but it appears to work - it is attached if you'd like to compare it to yours and for anyone else to test for issues.
That's great, seems to work. One less plugin I have to upload and maintain. :smile:
Re: Image Display Size Restriction
Quote:
Originally Posted by
pewe
Raymond.
I am not trying to steal your thunder, but at the same time as I saw your post I had just uploaded a new copy of slimbox.php to my site and it works.
Last nigh before retiring I found the code for a responsive version of slimbox.js on google groups which I copied to replace the code in the zen lightbox .php script.
I haven't fully tested it, but it appears to work - it is attached if you'd like to compare it to yours and for anyone else to test for issues.
and to be clear for others following this.. you replaced the slimbox.php file in includes/classes/zen_lightbox with the one you attached right???
Re: Image Display Size Restriction
Quote:
Originally Posted by
DivaVocals
and to be clear for others following this.. you replaced the slimbox.php file in includes/classes/zen_lightbox with the one you attached right???
Correct. :yes:
Re: Image Display Size Restriction
pewe,
I merged in your updates and submitted a new version.
I have also created a github repo to make collaboration easier (if anyone else here uses github).
daniel
Re: Image Display Size Restriction
Quote:
Originally Posted by
niestudio
pewe,
I merged in your updates and submitted a new version.
I have also created a
github repo to make collaboration easier (if anyone else here uses github).
daniel
:cheers::thumbsup::bow:
Re: Image Display Size Restriction
Quote:
Originally Posted by
pewe
I haven't fully tested it, but it appears to work - it is attached if you'd like to compare it to yours and for anyone else to test for issues.
Are the following values=100 from includes\classes\zen_lightbox\slimbox.php expressed in percentages?
Code:
initialWidth: 100, //1024
initialHeight: 100, //768
Thanks in advance.
Re: Image Display Size Restriction
Quote:
Originally Posted by
niestudio
pewe,
I merged in your updates and submitted a new version.
I have also created a
github repo to make collaboration easier (if anyone else here uses github).
daniel
:thumbsup: just forked and submitted a small change
Re: Image Display Size Restriction
Quote:
Originally Posted by
Design75
:thumbsup: just forked and submitted a small change
What was the small change - did you find a problem somewhere?
(Github shows all the files as being last changed 2 days ago.)
Re: Image Display Size Restriction
Quote:
Originally Posted by
dw08gm
Are the following values=100 from includes\classes\zen_lightbox\slimbox.php expressed in percentages?
Code:
initialWidth: 100, //1024
initialHeight: 100, //768
Thanks in advance.
I, for one, don't know - but maybe one of the other guys will have the answer.
Re: Image Display Size Restriction
Quote:
Originally Posted by
pewe
What was the small change - did you find a problem somewhere?
(Github shows all the files as being last changed 2 days ago.)
Check the pull requests. Essentially the submitted change removes the echo statement in the includes/classes/zen_light_box/slimbox.php file that loads the jquery script from the template folder.