makfak

makfak supports this item

Supported

1024 comments found.

haffy

haffy Purchased

Is there a possibilitie to get a navigation menu for the gallery based on category or tag of the pictures in it? Like “All work / Puppies / Cats / Nature” ?

It’s something I’ve considered many times but as the native [gallery] shortcode doesn’t support tagging images I’m reluctant to have PhotoMosaic support all the image-tagging plugins people use.

I am having a problem with the margins around the photomosaic gallery on mobile. Is there a way to change the css so there isn’t any margin above or below?

http://continentalcontractors.com/newsite/our-culture/

I assume you’re referring to the space between the bottom of the mosaic and the “Join Us” header… That has nothing to do with PhotoMosaic.

If you climb the tree from the PhotoMosaic DIV, 6 levels up you’ll find a DIV (selector = ”.be-section.collage.full-screen-section.clearfix”) with a inline height. That height is something your theme is doing and appears to be related to the “full-screen-section” class (the height changes if I resize my browser vertically). That height means that the ”.be-section” DIV will always be that size, regardless of the height of its children (smaller children will leave a gap, larger children will be cut off). You can see this easily by playing with the number of columns in the mosaic (2 columns will be cut off).

The problem is coming from your theme. Try removing the ”.full-screen-section” class.

Hi. Is there a way for to change the number of columns in the gallery at a responsive breakpoint?

If you want PhotoMosaic to pick the number of columns based on the available space set Columns to 0 (auto-columns) or you can set Columns to a range (e.g. 3-5) and PM will still auto-columns but it won’t let that number leave the range.

With auto-columns turned on adjusting Minimum Column Width will effect when the number of columns changes.

PhotoMosaic doesn’t offer a fancy interface for specifying number of columns at an exact breakpoint but it does offer something of an API so you can write your own custom JS and easily interact with your mosaics.

You can loop over every mosaic on the page with the PhotoMosaic.each() method.

PhotoMosaic.each(function($, $node, update, index){
    /*
     * $      - the instance of jQuery that PM is using
     * $node  - the root node in a jQuery wrapper ( $(node) )
     * update - a function used to update this mosaic
     * index  - this mosaic's position in the list of all mosaics on the page
     */
});

To update an existing mosaic, simply pass the update function your new settings (the keys for the settings match those listed in the PhotoMosaic Admin > Inline Attributes). The following will update every mosaic on the page to have 3 columns.

PhotoMosaic.each(function($, $node, update, index){
    update({ columns : 3 });
});

You can use $node to perform jQuery/DOM-related tests should you want to update a specific mosaic or a subset of mosaics.

PhotoMosaic.each(function($, $node, update, index){
    if ( $node.parents('#main').length > 0 ) {
        update({ columns : 3 });
    }
});

Wire that up with some matchMedia logic, or use something like Enquire.js, and you’re all set.

DBastholm

DBastholm Purchased

Hello, I returned to my site using this plugin, and I can’t reach the site or the admin-panel. I get this message, what’s this about? http://puu.sh/p6K6y/6a50ed0ab8.png

If I deactivate the plugin from the FTP, it works again. I got a lightbox bridge installed as well btw.

by
by
by
by
by
by