lightbox displayer & meta-tags

thomas's Avatar

thomas

21 Apr, 2012 05:20 PM

Hi everyone,

I've just moved my plugins to github.

Lightbox Displayer Plugin

Meta-Tags Plugin

Greets
Thomas

  1. 1 Posted by Kasper Friis on 22 Apr, 2012 06:32 PM

    Kasper Friis's Avatar

    Hi thomas,

    thanks for the plugin - unfortunatly I can't get it to work as it should.
    Followed the exact instructions but it just opens the clicked thumbnail in the active window in full size.

    Im on the secretary cms v 2.3 - do you know why it's not working?
    It seams like no javafunction or whatever made up by is not being "called".

    Here is a link where you can "see" it...

    http://kasperfriis.dk/projects/take-me-home

    Hope somebody can help...

    /kasper

  2. 2 Posted by thomas on 22 Apr, 2012 07:27 PM

    thomas's Avatar

    hi kasper,

    I guess there is something wrong with some code above the slimbox script in the <head> section. Maybe there are some hidden characters in the code above. Sometimes you get that from copy/paste.

    Could you try to remove the google analytics script and see, if the lightbox is working?

    thomas

  3. 3 Posted by Kasper Friis on 22 Apr, 2012 07:49 PM

    Kasper Friis's Avatar

    Hi again,

    think i worked it out - when inspecting the head code I could see the link for the plugin was wrong.

    (i just downloaded the folder from github and put it into the right directory - not renaming it to "lightbox")

    Now it seams to work - thanks a million for pointing me in the right direction!

    /kasper

  4. 4 Posted by thomas on 22 Apr, 2012 08:33 PM

    thomas's Avatar

    oh, my mistake... I've just forgot the folder thing when I moved to github. I will update the installation instructions.

    thanks

  5. 5 Posted by Kasper Friis on 22 Apr, 2012 08:39 PM

    Kasper Friis's Avatar

    No problem - now it works.

    Just have a basic question:

    Im trying to make some sort of 5 x ? (horizontal, vertical) grid of the thumbs - messed a bit with the .img style and the "inline" property but could not get more than 3 x rows...

    Do you have any suggestions on how or where I style the little thumbnails so they appear in some sort of grid (that matches the page width) ??

    /kasper

  6. 6 Posted by Kasper Friis on 22 Apr, 2012 08:41 PM

    Kasper Friis's Avatar

    ...also im seeing some bugs if there are more than 4-5 images... Cleared the cache - not helping...

    Link:

    http://kasperfriis.dk/magazine/ballettens-venner

  7. 7 Posted by thomas on 23 Apr, 2012 04:01 PM

    thomas's Avatar

    ...ok, this shows that I've never used my own plugin in production :-)

    I've added a wrapper div around each img-file with class="file". So this is more inline with the other displayers and better for css-styling. Just download it again from github.

    To make a grid, try something like

    .file{
        float:left;
    }
    

    The bug you've mentioned is because of the filename of your image. Just remove the space in the filename and upload & add the image again to your group.

  8. 8 Posted by Kasper Friis on 23 Apr, 2012 06:48 PM

    Kasper Friis's Avatar

    Thomas,

    i love you! - now it works flawlessly.
    Thanks a million times - this was exactly what I needed!

    /kasper

  9. 9 Posted by Steve on 03 Feb, 2013 05:57 PM

    Steve's Avatar

    Thomas,

    I am having an issue with this plugin where the full size images are HUGE and not following the settings in the "settings - project" page.

    http://www.zfsphotography.com/weddings/alexander-and-kylie-nieves-

    Check out one of the pictures there, see how big it is? I have it set to width: 500 in the settings page.

    What can be done about that?

  10. 10 Posted by thomas on 10 Feb, 2013 02:20 PM

    thomas's Avatar

    Hi Steve,

    I simply forgot to implement the automatic resizing of the fullsize image. :-)

    I fixed that. Please download the new version of the plugin. You only need to replace the lightbox.plugin.php file in the plugin folder. After that, everthing should work as expected... Please let me know, if you encounter any problems. (I just tested it locally)

    Thomas

  11. 11 Posted by Niklas on 22 Feb, 2013 05:11 PM

    Niklas's Avatar

    The resizing function is still not working on my site. I have the latest plugin.

    I can't figure out what to do to fix this.

    http://www.niklaspedersen.fi/?page=projects&amp;id=animals

    -Niklas

  12. 12 Posted by thomas on 22 Feb, 2013 07:35 PM

    thomas's Avatar

    Did you set the "Resize Images" option for "Full-size Image"? (at the bottom under Settings->Projects)

  13. 13 Posted by Niklas on 22 Feb, 2013 07:46 PM

    Niklas's Avatar

    Yes

    But when I do that, it just shows me the loading icon...

    Intelligent scaling option does nothing...

  14. 14 Posted by Steve on 01 Mar, 2013 04:48 PM

    Steve's Avatar

    Thanks thomas! I have made the change and it works perfect for me.

    One question regarding formatting:

    http://www.zfsphotography.com/weddings/alexander-and-kylie-nieves-

    I have put in

    .file{ float:left; }

    as you recommended. However it does not seem very even. Is there a way we can improve this? Maybe ensuring the same # of photos are listed per row?

    Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac