GithubHelp home page GithubHelp logo

fooplugins / foogallery Goto Github PK

View Code? Open in Web Editor NEW
110.0 14.0 45.0 18.8 MB

The Most Intuitive and Extensible Gallery Creation and Management Tool Ever Created for WordPress

Home Page: http://fooplugins.com/foogallery

License: GNU General Public License v2.0

JavaScript 25.01% CSS 9.07% PHP 65.85% SCSS 0.07%
wordpress gallery gallery-plugin

foogallery's People

Contributors

alexgstapleton avatar amitpachauri87 avatar asaquzzaman avatar bradvin avatar castles avatar cfoellmann avatar code-beautifulweb avatar dependabot[bot] avatar elvisomondi avatar frenziecodes avatar icetee avatar jdonzallaz avatar mathetos avatar oleg-shumar avatar pratikrm avatar steveush avatar sun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foogallery's Issues

Gallery fields don't show on first load

When creating a new gallery, the default template's associated fields don't show. If you change the template select input to another template, and then change it back, the fields do appear, however they don't when the page first loads. Seems like whatever function is getting triggered by the select change also needs to get triggered when the page loads.

Here's a .gif to illustrate: http://recordit.co/zDFasgpjZs

Need To Hire Foogallery Developer

Hi Guys,

I need to find a developer to create a custom slider for Foogallery. Can you suggest someone who already knows the ins and outs of Foogallery that could assist me?

Cheers
Colin

Foobox Gallery NextGen Tags

Hi Guys,
Is it possible to migrate Nextgen tags to Foo Galley? For people wanting to Migrate from Nextgen having to re-add thousands of tags post migration would be a deciding factor not to use Foo Gallery.

WP 3.8 Issues

In WP 3.8, there are issues:

"the editing content and toolbars disappear within the Dashboard for both Posts and Pages"

Still need to test and repro this

Creating my lightbox extension

Well the problem is, i created a lightbox extension to work with foogallery and i can´t find where and how i can make my extension appear in the lightbox dropdown in foogallery settings.
Your templates work only with the FooBox or it's possible to create on our lightbox extension(kinda like foobox) and make it work it the foogallery?

Display all images, sorted by galleries

Dear Foodevelopers,

Is it possible to list all images on one page, structured by the gallery titles, something like that:

TITLE GALLERY 1
img_1, img_2, img3...

TITLE GALLERY 2
img_1, img_2, img3...

TITLE GALLERY 3
img_1, img_2, img3...

and so on...

I'm grateful for any hint in the right direction. I guess I have to loop through each gallery manual, right?

Thanks!
florian

Language strings in template boilerplate output

Would be nice if in the template that is generated from the boilerplate form, if it would output the language strings with gettext for internationalization. Of course extension authors can/should do that themselves, but seems easy enough to set that up in advance if possible.

PHP Strict

PHP strict warning on gallery edit/add screen + Same error occurs on posts with an embedded FooGallery on the AJAX request (see console)

Strict
Only variables should be passed by reference
1
wp-content/plugins/foogallery/includes/class-foogallery.php:215

FooGallery->find_featured_attachment_id()
FooGallery->featured_attachment()
FooGallery_Default_Templates_Extension->render_thumbnail_preview()
do_action('foogallery_render_gallery_template_field_custom')
FooGallery_Admin_Gallery_MetaBox_Fields->render_gallery_template_field()
do_action('foogallery_render_gallery_template_field')
FooGallery_Admin_Gallery_MetaBoxes->render_gallery_settings_metabox()
do_meta_boxes()

album shortcode not working

In my one page website I have one page with the [foogallery album]. When someone enters for the first time, its almost sure that he only will see the shortcode. Only after refreshing the album is shown.
Is there a way (a function) to make the call?

patch for wpthumb 0.10 - no thumbnails created

line 406 of wpthumb.php

        $editor = wp_get_image_editor( $file_path /*, array( 'methods' => array( 'get_image' ) )*/ );

i had to comment out the "methods" arg to allow the creation of thumbnails.
with the original code a "no image editor" error is thrown and the plugin will always use the original big images instead of the resized ones.

Lightbox or foobox doesn't work - images opening in new window (2 posts)

Hello
Foogallery lighhtbox stop working on some posts - images opening in new window

Working page - http://sunbeamproperty.com/properties/pbtv-0034/
Broken page - http://sunbeamproperty.com/properties/pbtv-0035/

Before I had FooGallery+FooBox Free Image Lightbox
In Gallery setting "Lightbox" select list was only with "none" item.

Now have added pro version - FooBox HTML & Media Lightbox
In Gallery setting "Lightbox" select list "Foobox" item have been added.
Result is the same - bad.

In working page's markup div gallery container has "fbx-instance" class and image link has "fbx-link" class.
In broken page these classes are dropped.
Working gallery:

<div class="foogallery-container foogallery-default foogallery-link-image foogallery-lightbox-foobox-free spacing-width-10 hover-effect-zoom border-style-square-white alignment-center fbx-instance">
    <a href="http://sunbeamproperty.com/wp-content/uploads/2014/10/PBTV-0034-1.jpg"><img src="http://sunbeamproperty.com/wp-content/uploads/cache/2014/10/PBTV-0034-1/3151725418.jpg"></a>
...

Broken gallery:

<div class="foogallery-container foogallery-default foogallery-link-image foogallery-lightbox-foobox spacing-width-10 hover-effect-zoom border-style-square-white alignment-center">
    <a href="http://sunbeamproperty.com/wp-content/uploads/2014/10/PBTV-0035-1.jpg"><img src="http://sunbeamproperty.com/wp-content/uploads/cache/2014/10/PBTV-0035-1/1410984020.jpg"></a>
...

In working gallery setting "Lightbox" select list set to "FooBox"
In broken gallery setting "Lightbox" select list set to "None"
But changing "None" to "FooBox" doesn't solve the problem
Аnd vice versa as soon as I change anything in working gallery, even name and save it that gallery became broken too.

Does anybody know where to look for the problem place?

can't add media

wp 3.9.2, foogallery version 1.1.8, all plugins except foo deactivated, theme: Weaver II Pro 2.1.12

It can create a gallery, but it is not possible to add any media. Selecting a single media and klicking the insert button fails.
Selecting more then one media fails too. Selecting a second media deselect the first one...

cannot add images

installed foo gallery on a default install 3.9.1 with no plugins besides foo gallery, and using the 2014 theme, when trying to select images, a javascript error stops it from adding to the gallery, with TypeError: Cannot read property 'width' of undefined, on line 128 of admin-foogallery.js.

using chrome v35.x on an imac, if that helps

Loop of Gallery 'Attachments'

Hi, I am attempting to display 3 images from a foogallery outside of the standard foogallery shortcode.

I am able to display all images 'attached' to a foogallery with this:

'attachment', 'posts_per_page' => 3, 'post_parent' => $atts['id'], /// the id of the foogallery post 'exclude' => get_post_thumbnail_id() ); ?>

However this only works for images directly uploaded (and therefore attached) to a particular foogallery post. This won't work for images 'selected in the media library' to be added to a foogallery as they do not have the required 'post_parent'.

Gallery shortcode only

Is it possible to have just a shortcode without creating a gallery?

Natively Wordpress can do something like this:

[gallery link="file" _orderbyfield="menu_order ID" columns="4" _orderByField="menu_order ID" orderby="rand" ids="11,12,13,14,15,16"]

Can foogallery do something similar, ie:

[foogallery ids="11,12,13,14,15,16" template="responsive" value1="data1" value2="data2"]

Rather than have to use the new gallery editor in the dashboard?

My Foogallery has no default template

Hi there,
it's a few days I'm trying to set FooGallery plugin which I find amazing from the demo.
My problem is that after installing it I don't have any extension, any template. At these links you can see the screenshots from the admin panel view I get (also creating a gallery I don't have any template in the options), and what appears in the page where I set the gallery.

I tried to uninstall it, download the plugin and upload it manually, but the thing is still the same.
Hope you can help me, I truly would like to use FooGallery.

http://img.photobucket.com/albums/v110/GranchiolinaRock/gallery01_zpswh2ontmp.jpg

http://img.photobucket.com/albums/v110/GranchiolinaRock/gallery02_zpsi9ef5dro.jpg

http://img.photobucket.com/albums/v110/GranchiolinaRock/gallery03_zpstwcdywom.jpg

https://wordpress.org/plugins/foogallery/

Border styles not possible if images are not linked

Because the border styles depend on the images being linked, they do not work at all if the user chooses "Not linked". Not sure what a workaround would be, perhaps just pulling the href out of the anchor tag and giving them a cusor: pointer style rather than removing the anchor completely.

impossible to upload more than 200 images into 1 gallery

I am trying to add a gallery containing 500 images, but that is impossible. Although I have selected all of the images in the uploader (and checked that it's all the 500 images) FooGallery seems to grab a little less than 200 random images and calls it a day.

Is this a bug? Is there another way to add more images?

Increasing thumbnail size leads to ugly pixellated thumbnails

Hi,

First of all i would like to say i love the plugin! What a relief if you are used to work with NextGen.

I'm now trying to increate the thumbnail size from 150 to 200. After that i get ugly pixellated thumbnails. What i already tried is 'clear thumbnail cache' and 'clear css optimization cache'.

I hope we can solve this problem (together). Thanks in advance.

Kind regards,

Boy

Paging as an option?

see https://scrutinizer-ci.com/g/fooplugins/foogallery/inspections/2e5d93b9-dd3d-4721-9668-bcc188c4c070/issues/files/includes/functions.php?status=new&orderField=path&order=asc#inspectioncomment-151209038

Warning is Disabling pagination is prohibited in VIP context, do not set 'nopaging' to 'true' ever. which seems to be not unreasonable.

what do you thing about this start of a solution:

function foogallery_get_all_galleries( $nopaging = true ) {
    $gallery_posts = get_posts(
        array(
            'post_type'     => FOOGALLERY_CPT_GALLERY,
            'post_status'   => 'any',
            'cache_results' => false,
            'nopaging'      => $nopaging,
        )
    );

this is just an idea. It needs to work with false throughout the code, of cause.

admin-template.js throws errors by default

The default from admin-gallery-template-name.js from the boilerplate generator throws errors. I'd suggest commenting out the code on line 12 and 19 by default:
//FOOGALLERY_DEF_TEMPLATE.doSomething();
and
//FOOGALLERY_Name_Template_FooGallery_Extension_TEMPLATE.adminReady();

Make galleries publicly queryable and enable rewrite.

Feature request. It'd be great to have the option to make the galleries publicly queryable (you can just filter the_content most simply for viewing single galleries) and enable URL rewriting for the custom post type.

White label filters

I am excited about this plugin. It does everything that I've wanted which the most popular WordPress gallery plugins don't.

There's just one thing that is bugging me, and that's the instance of "foo" everywhere which would be visible to the client. Obviously this is your brand, but I'm very picky about this kind of stuff being in front of our clients.

I'd like to submit a pull request making all of that stuff filterable (eg, the shortcode name). If I do, would it be welcome? If not, I won't waste anyones time :)

If it is welcome, I can definitely seeing this being my agency's new go to gallery plugin.

FooBox pro is not detected

I have the current version of FooBox Pro installed and activated alongside FooGallery. The "Extension" FooBox PRO is marked Activated on the Extensions page but on the gallery edit page I get:

Lightbox    
You have no lightbox extensions activated!
Download and activate FooBox FREE which works flawlessly with FooGallery.

Gallery Template for a custom post type

I am looking to build a better way for members to build and edit their own gallery. Each member of the site has a user account with a custom role that is assigned to one post of a "member" custom post type using Posts 2 Posts plugin. They have permission to edit all fields of this member CPT to control the display of their own "member" page (like a directory). I'd like to give them the option to build and edit a gallery with an intuitive interface from a button once they are logged in.

Is there a way to do this and associate the gallery (and only one gallery) with their member custom post type page?

Suggestion: upload images into own folder in uploads

I would like to make a suggestion to make it possible to upload the FooGallery images into their own folder in the uploads folder, preferably per gallery.

This has numerous advantages, the most important one being that it is easy to grab all images if needed instead of sorting through all the different date folders in the uploads folder.

Hover effect not working

Hi,

I can't get the hover (icon) working. I tried disabling recently activated extensions but that doesn't seem to help.

Kind regards,

Boy

"foogallery_load_template" action is never fired

The "handle_lightbox_field" function in includes/public/class-shortcodes.php is tied to the "foogallery_load_template" action which in turn is supposed to trigger "foogallery_template_lightbox-{$lightbox}". The lightbox extension generated base code listens for "foogallery_template_lightbox-{$lightbox}" before enqueuing scripts. However, there is no corresponding do_action for "foogallery_load_template" anywhere in the foogallery plugin to get things moving, so that means scripts for lightbox extensions never get enqueued.

Suggested update to Shortcode file

This makes sure the gallery is inserted in the copy wherever it should be rather than the top of the content area.

0, 'gallery' => '', 'template' => 'default' ), $atts, 'foogallery' ); //create new instance of template engine $engine = new FooGallery_Template_Engine( $args ); $engine->render(); $output_string=ob_get_contents(); ob_end_clean(); return $output_string; } } ``` }

Does foogallery accept image paths to create a gallery?

Can you pass an array of image paths, as opposed to media IDs, to create a gallery?

More specifically... I have a custom post type that holds member content. Each member has one post for detailed information. There is a metabox in the admin that allows five images to be uploaded. The image path is stored in each of the five postmeta fields. I have manually created a gallery by pulling each path and displaying a thumbnails for each and enableing a lightbox if one is clicked on. So, it works but am thinking I will have more flixability if I can pass these image paths into a foogallery and add that to the custom post type single post template.

If foogallery accepts an array of image paths, I can use it. Is that possible?

/gallery redirects to hompage after installing/deactivating FooGallery plugin

I'm having a major issue with foogallery.

On my website we have a gallery set up with NextGen Gallery (at website.com/gallery) and because I was not satisfied with NG I decided to give FooGallery a try. I had both Albums and Importer extensions active.

Importing images from the existing NG Gallery was no issue at all, except I noticed when trying to import albums that FooGallery doesn't support nested albums (yet) which effectively makes it useless for me for the time being. So I deactivated to plugin for now.

When I had a look at website.com/gallery later it redirected me to the homepage at website.com. Normally this page should display the NG Gallery page I have set up there. It seems to be an issue with the slug /gallery because I duplicated my gallery page renaming it /galleries and it worked fine displaying my NG Gallery usual.

This is quite an urgent issue and any help/solution would be appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.