ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

LightBox, ThickBox, etc.

May 22, 2008 12:23pm

Subscribe [4]
  • #1 / May 22, 2008 12:23pm

    ParisJC

    150 posts

    I’m gathering some ideas for future use, and thought occurred: of the various photo presentation devices such as LightBox and ThickBox, etc., would any be more suited to the jQuery nature of the upcoming EE 2.0?

    I’m thinking of using such a device in a site redesign (utilizing weblogs, not the gallery), and wondered which, if any, might be more suitable?

  • #2 / May 22, 2008 12:33pm

    Ingmar

    29245 posts

  • #3 / May 22, 2008 12:39pm

    ParisJC

    150 posts

    Thanks, Ingmar!

  • #4 / May 22, 2008 3:58pm

    carvingCode

    380 posts

    I am using Lightbox in a project.  Works beautifully.  For this project, I wrote a Javascript snippet to auto-create the pathname used by Lightbox from the thumbnail name that EE generates.

  • #5 / Jul 18, 2008 8:02am

    Rutger

    25 posts

    Just what i was looking for! Thanks!

  • #6 / Jul 18, 2008 3:07pm

    Rutger

    25 posts

    Ok, i had to modify some stuff for this to work with multiple images on my page. This took me some time as a jQuery newbie, but i’m there and thought i’d share some too 😊

    $(function() {
    
    de_thumb();
    
    });
    
    function de_thumb()
    {
        $(".thumb").each(function() {
    
            $('img',this).each(function(){
                //console.log〈$(this〉.parent());
                var src = $(this).attr("src");
                //console.log〈src〉;
                $(this).parent().attr({href : src.replace("_thumb", "")});
    
            })
        });
    }

    HTML

    <a href="http://" class="thickbox thumb">{foto_pasfoto}</a>
  • #7 / Jul 23, 2008 4:44am

    Michael Hahn

    316 posts

    Hi ParisJC,

    Our library of choice is Highslide. Much cleaner then lightbox and has a lot more features. I also like to combine Instant and their other libraries for my photo galleries.

    Good stuff, check it out.

    Mike

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases