WordPress.org

Ready to get started?Download WordPress

Forums

Fullscreen Galleria
Eazyest Gallery - Suggestion (3 posts)

  1. papof
    Member
    Posted 1 year ago #

    Hi, first of all congrats for the great plugin, secondly i hope you don't mind me peeking at your code but i was trying to find a way to integrate Fullscreen Galleria with NextGen, and was getting a bit desperate, anyway, i found that Eazyest can do the organization part for me and is far easier to integrate.

    Since each folder in Eazyest Gallery is actually a post i changed you code in photobox_shortcode by adding an extra shortcode attribute (eazy) and rewriting the if cycle like this:

    if (!empty($eazy)) {
    		  $photos = &get_children(array('post_parent' => $eazy, 'post_status' => 'inherit',
    			  'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC',
    			  'orderby' => 'menu_order ID'));
    	} else {
    		if (!empty($include)) {
    		  $photos = &get_posts(array('post_type' => 'attachment',
    			  'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID',
    			  'include' => $include));
    		} else {
    		  $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    			  'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC',
    			  'orderby' => 'menu_order ID'));
    		}
    	}

    Everything else is untouched, and in this way i just put in the Eazyest folder (post) ID in it and it shows all pictures from that folder. Of course it will also work with any other post and could be a starting point for growing the interface.

    Cheers

    http://wordpress.org/extend/plugins/fullscreen-galleria/

  2. pdamsten
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the patch. I'll check this at some point but I don't do much coding in summer time :-)

  3. pdamsten
    Member
    Plugin Author

    Posted 9 months ago #

    link and photobox now have postid parameter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.