Code

Discussion on Justified Image Grid - Premium WordPress Gallery

Discussion on Justified Image Grid - Premium WordPress Gallery

By
Cart 23,148 sales

Firsh supports this item

Supported

This author's response time can be up to 1 business day.

8471 comments found.

Is there a demo admin backend together with the WP Real Media Library for testing?

Sorry currently there is no demo available. I’m communicating about this with the RML developer, I wouldn’t mind having my plugin installed on his demo. For now, you are welcome to check this https://justifiedgrid.com/sources/wp-real-media-library/ and its 3 child pages to see how the compatibility works.

Hello,

Hope you’re well,

I’m having some issues with the gallery. The white theme Lightbox on Photoswipe is not behaving as it should. I’ve been using it for ages so not sure why it’s stopped working now.

The top and bottom bars are now grey rather than white and the left and right arrow images are not loading. If you head to my site and click on an image you’ll see what I mean.

https://squaremountain.co.uk/

I may have updated the plugin the other day, I had a few plugins to update, so maybe that’s when the issue started.

Thanks,

Max

It worked, at least they are not combined. They are minified by the theme developer. The conflicting CSS comes from this file: https://square-mountain-k4mtppdooh60xvgnp1.netdna-ssl.com/wp-content/themes/dt-the7/css/main.min.css if I put it into my adblocker’s blacklist, your JIG PS4 comes up exactly as on my site.

On my video you can see me load it like that. Then I reload without adblock, now I start getting these squares all around the place. You can see me disabling the theme’s rules on the fly so the skin starts to behave again: https://www.screencast.com/t/713yO0j0WfqN

Thanks Firsh. I’m just contacting my Theme designers to see how to resolve this. Thanks a lot for your help!

If they are of no help, circle back to me I might be able to come up with a set of counter CSS rules.

Hi, understand you’re already aware of the YouTube “rss feed is empty” issue. Using this feature in a site design because it’s fantastic, just wondering if you wouldn’t mind chucking me an alert or reply when you get that possible solution up and running.

Cheers for the great support!

I’m working on it, I see a possible solution, and will let you know. Contact me from my profile if you need the solution ASAP.

I brought the feature back, you can grab v3.7 in the autoupdate system right now or wait till it gets approved on CodeCanyon. See it working again live at: https://justifiedgrid.com/sources/rss-feeds/youtube-gallery/ Only limitation is that playlists are down from 100 a piece to 50. In the future I’ll likely add a dedicated YouTube source instead of the legacy from RSS.

Hi, thanks for the amazing plugin! It’s been very easy to use and works great. I was wondering if there is a way to exclude images in a gallery by selecting the tags to exclude? I would like to be able to, as an example, exclude all pictures tagged “dog” from the gallery of animals. Would be great if this worked in conjunction with the current way of filtering. Thanks.

Sorry that level of mimicking the WP query is not possible as of yet. What you can do if you need advanced querying like this, is to write a custom WP Query and feed its result as comma separated image IDs to a JIG PHP template tag, using the “ids” shortcode attribute. Therefore you remove the logic from JIG, and only keep it for displaying your handcrafted advanced query.

If you mean this should be applied to Filtering (visitor should be able to click exclude tag), then unfortunately no. Currently it’s only “include what you select” and not “exclude”.

I see, oh well it’s not a big deal. I appreciate the possible solution to go about implementing this.

No problem. If you’d rather have someone help you out with some custom code, I can recommend them: http://justifiedgrid.com/out/kraken

It looks like YouTube just made a change that broke the JIG YouTube feeds. All my JIG YouTube feeds return “The requested RSS feed is empty.” and I see that it is broken on the JIG site as well: http://justifiedgrid.com/sources/rss-feeds/youtube-gallery/

I brought the feature back, you can grab v3.7 in the autoupdate system right now or wait till it gets approved on CodeCanyon. See it working again live at: https://justifiedgrid.com/sources/rss-feeds/youtube-gallery/ Only limitation is that playlists are down from 100 a piece to 50. In the future I’ll likely add a dedicated YouTube source instead of the legacy from RSS.

Excellent. Works for me. Thanks for the quick turn around!!

No problem! Thanks for circling back confirming it worked for you.

I recently purchased this amazing plugin. Everything was great until I realized that the thumbnails are watermarked. This is preventing me from using it, and I have to stick with Nextgen for displaying the galleries. Are there any plans allow JIG to generate the thumbs from other images than the full size? For example, the backed up image version that NextGen creates is not watermarked. This is the image that is used to create the thumbnails for some thumbnail layouts (not all) in NextGen, and it works great. If you are just using JIG with WP Real Media Library, the watermark plugin can be set to mark thumbs above a specific size. You can have a smaller thumb that is not watermarked but still plenty big enough to be used for JIG to create the thumbnails. For example you can use the not watermarked medium or large thumbnail sizes to be used instead of the full size.

I have seen in previous posts that you mention the watermarks are barely visible on the thumbnails. This would be the case if the watermarks have high transparency where the purpose is mostly to deter illegal usage. In my case the watermark is also used as a signature for the artwork. It is 100% white and clearly visible. This is a very important part of the photo – clearly showing the signature. In the thumbnails this looks very ugly because the signature shows in different sizes on the thumbs (depending on scaling) and in some photos only half or nothing of the watermark/signature shows (when thumbs are cropped from the sides).

I would very much like an option to select NextGen backup images to be used for generating the JIG thumbnails. In my case the backup is the same size as the full sized image – the only difference is the full sized image is watermarked and the backup is not. This might be an easy enhancement. In the meantime, I will put JIG aside and use NextGen. But please let me know if there is a chance to have this enhancement implemented. Thanks!!

I feel you about the watermark. Well, the “Maximum size for lightbox” setting directly influences what size JIG works with (unwatermarked). You can still point the JIG Link to the version of the image that is watermarked (for the lightbox). If you contact me from my profile I can help you look for a way to automate this so you will not need to target a different image file manually on each thumbnail. It’s probably just a single function, loosely based on this: https://justifiedgrid.com/support/faq/can-use-text-captions/ I’d hijack JIG Link value and set it to the max size image (watermarked).

Thanks for the info Firsh. I might look into automate this when time allows. If so I might contact you. Thanks!

All right, let me know.

Hello, I put your plugin in my basket yesterday, it was at $14 (it’s still the price written on your website). And today, it’s at $33. Is there an issue?

No, there was a discount for Envato Birthday which lasted and I kept the discount on for a little extra while.

“So we’ll now be promoting your file at 50% off on our landing page from 12 pm on the 22nd Aug, and concluding the campaign at 12 pm on the 29th of August (AEST). “

My site cached the data.

What you see now is the new price. Unfortunately you missed the offer :(

OK thank you. It’s a pity. I’ll try another plugin.

same for me

Sorry please elaborate what does “same for you” mean, which comment were you corresponding to?

I’m trying to use Magnific Popup for both gallery images (using Justified Image Grid) and single images, by adding Magnific to my theme.

This works OK with one exception – when I add Magnific to my theme, I do not get the navigation arrows on my JIG gallery items. It doesn’t matter whether I specify Magnific as my lightbox in JIG settings, or if I say “custom: I already use a lightbox plugin.”

Example post with single and gallery images is here: https://planetzhanna.com/adventures/2017/08/05/blueberries-hiking-and-spiedies/

Can you offer some help for getting the two to work together?

How your theme defines on what to activate magnific popup on, hijacks how JIG defines it. Does you theme support adding your own selectors as to what to apply the lightbox on? If not, you’ll need to set up JIG in a way that it mimics what classes your theme targets.

This is how your theme activates it:

https://planetzhanna.com/adventures/wp-content/themes/toolset-starter-child/magnific-popup/jquery.magnific-popup-init.js?ver=4.8.1

It seems to me that since JIG lacks the “gallery” class, it just reaches its contents as they were single images:

$('a[href*=".jpg"], a[href*=".jpeg"], a[href*=".png"], a[href*=".gif"]').each(function(){...

Try adding the word: gallery to Lightboxes tab > Link class(es) or if that fails, wrap JIG in a container that has the class as gallery defined on it. If that fails change the linked JS appropriate line to:

    // initialize magnific popup galleries with titles and descriptions
    $('.gallery, .justified-image-grid').magnificPopup({

Thank you! I tried each suggestion and didn’t have any luck with the first or third ideas. But wrapping JIG in a container with a class of gallery works, so I’ll add the wrapper using JS (so I don’t have to modify old posts). Thank you so much!

Sounds good!

Dear Firsh:

I bought your plugin today. What a piece of art. It has changed the look in my galleries dramatically. Great work!

I’ve got three questions though, hopefully you can answer them:

1- How do I limit the amount of pictures initially load by a number of rows, regardless of how many each row takes in? If I define Max Rows as 5 for example, but I select a Load More limit of 30, the latter will override the former…

2- When you create an album in NextGen and you add galleries to it, when showing the album using the dreadful NextGen album thumbnails they appear in the reverse order you added them, regarless of the gallery ID. When showing them with JIG, they appear ordered by Gallery ID. Any way to get the adding order of the NextGen album instead?

3- I need to add a BUY button to the Photoswipe 4 lightbox (Not to the thumbnail, that’s pointless as no one would buy a picture without seeing it maximized). I know that’s not a native feature, but I badly need this. Any way you can point me in the right direction about what to do, what plugin to buy or whom to hire?

Thanks in advance for your time!

Joel

Hi Joel,

Thanks for the nice words!

1. The initially load and load more configurations don’t support limiting base on a nr of rows, unfortunately. This is something I’ll consider for a future release. Yes those 2 settings contradict each other, so when both of them is used, one is discarded. I assume you would be ok by guessing how many rows you would end up with given x images (initially limited), on a specific device. But the grid appears incomplete. In that case, just use General settings > Incomplete last row setting and choose Flexible (it was created for this scenario).

2. JIG should honor the order you added your galleries to albums. Change the JIG General tab > Order by setting (you can do so in the shortcode editor as well). It’ll influence the order of galleries in the album, and hopefully the “menu order” or default order will show your custom order. Perhaps it’s currently not on the default and it’s re-ordering galleries as well as images. Could that be?

3. While I’m not available for that, these guys are: http://justifiedgrid.com/out/kraken

Regards, Firsh

I recently started to ge a PHP Fatal Error on a page where I use the Justified Image Grid Shortcode and wanted to know if you are aware of the issue. Here is what I keep getting in the PHP logs

[28-Aug-2017 21:48:05 UTC] PHP Fatal error: Uncaught Error: Call to a member function subscribe_url() on null in E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-content\plugins\justified-image-grid\justified-image-grid-core.php:13589 Stack trace: #0 E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-includes\shortcodes.php(345): JustifiedImageGrid->jig_init_shortcode(Array, ’’, ‘justified_image…’) #1 [internal function]: do_shortcode_tag(Array) #2 E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-includes\shortcodes.php(223): preg_replace_callback(’/\\[(\\[?)(justif…’, ‘do_shortcode_ta…’, ‘[justified_imag…’) #3 E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-content\themes\Divi\includes\builder\class-et-builder-element.php(689): do_shortcode(‘[justified_imag…’) #4 E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-includes\shortcodes.php(345): ET_Builder_Element->_shortcode_callback(Array, ‘[justified_imag…’, ‘et_pb_code’) #5 [internal function]: do_shortcode_tag(Array) #6 E:\Inetpub\vhosts\clarainesphotography.co in E:\Inetpub\vhosts\clarainesphotography.com\httpdocs\wp-content\plugins\justified-image-grid\justified-image-grid-core.php on line 13589

Please advice and thank you in advanced.

Ok I’ll take a look at it on my side as well. But in order to give you the solution quickly I might need to change your JIG. Please contact me from my profile, I’ll need to log in with temporary wp-admin access and check it out.

Hi Firsh, sent you the credentials on Wednesday 08/30. Let me know if you need anything else to help me fix the issue. Thank you!

Unfortunately not yet, as I can’t reach the login screen, possibly due to an IP block. Sent you a mail. Sorry for the delay. Could it be that you have older than v3.6 and it’s still trying the old Youtube layout? Please update to v3.7 as there were major changes regarding Youtube RSS.

I want to use the plugin together with WP Real Media Library and take over the RML shortcodes. Unfortunately, I get a fatal error when I configure this option: Too few arguments to function JustifiedImageGrid::jig_take_over_rml_shortcode(), 2 passed in C:\Apache24\htdocs\wp-includes\class-wp-hook.php on line 298 and exactly 3 expected in C:\Apache24\htdocs\wp-content\plugins\justified-image-grid\justified-image-grid-core.php:8351

Stack trace: #0 C:\Apache24\htdocs\wp-includes\class-wp-hook.php(298): JustifiedImageGrid->jig_take_over_rml_shortcode(’’, Array) #1 C:\Apache24\htdocs\wp-includes\plugin.php(203): WP_Hook->apply_filters(’’, Array) #2 C:\Apache24\htdocs\wp-content\themes\Buntington\inc\custom_functions.php(336): apply_filters(‘post_gallery’, ’’, Array) #3 C:\Apache24\htdocs\wp-includes\shortcodes.php(345): k_gallery_shortcode(Array, ’’, ‘folder-gallery’) #4 [internal function]: do_shortcode_tag(Array) #5 C:\Apache24\htdocs\wp-includes\shortcodes.php(223): preg_replace_callback(’/\\[(\\[?)(folder…’, ‘do_shortcode_ta…’, ‘

Hola a todos…’) #6 C:\Apache24\htdocs\wp-includes\class-wp-hook.php(298): do_shortcode(‘

Hola a todo in C:\Apache24\htdocs\wp-content\plugins\justified-image-grid\justified-image-grid-core.php on line 8351

Hi,

can you please let me know your WP version, RML version and JIG version? Please contact me from my profile, I’ll need to log in with temporary wp-admin access and check it out. I was not able to reproduce the issue on my own site.

Thanks for fixing this issue!

Hi,

I’m using the Photoswipe 4 lightbox and I can’t get my caption to show in the lightbox. Will you assist?

http://25d.a17.myftpupload.com/test-tertiary/

Thanks! Sam

Go to Lightboxes tab of JIG and for the “What to show” section’s settings, choose the fields you have data in. “Img Alt” will appear as top line in FooBox. “Link Title” will appear as the second line text in FooBox. If you choose or currently have chosen a field that has no value on that image, the lightbox will not show anything in that slot. It really just controls this: https://i.snag.gy/jbr1AQ.jpg

Hi, I’m using Photoswipe 4 (not FooBox) and I already have the correct ‘what to show’ settings selected. It’s simply not showing the field for image alt which is selected as ‘caption’. Can I send you a screenshot by email, or even let you login to my dashboard?

Sure, just contact me from my profile and I’ll check it out.

never mind for now – I think I fixed it – I turned off conditional loading.

Ok thanks!

I have multiple gallery pages where JIG works fine. However, the JIG shortcode that is on the landing page for these sub-pages works once, then never again. The landing-page is: https://www.polarisproductions.org/previous-shows

This is the shortcode:

[justified_image_grid mobile_preset=13 ids=7395,6612,6054,5771,5767,5766,5764,5768,5770,5765,5772,5769 caption=fixed mobile_caption=below]

What is wrong?

I see you solved it. Sorry I just got back from vacation.

Awesome stuff. My favorite gallery plugin! Great work dev! FYI, for those of you using ithemes plugin for security, you might have to turn off Disable PHP in Plugins, located in System Tweaks -> Configure Settings. Also, although support file here http://justifiedgrid.com/support/fix/all-of-the-images-have-failed-to-load/ from author says to disable Filter Suspicious Query Strings, also located in System Tweaks -> Configure Settings, I left this option enabled and gallery still works. Thanks.

Thank you I’m updating my troubleshooting entry with your findings!

JIG works great, unless I am using FooBox :(. In that case, it loses responsiveness. I can set to any other lightbox and it works fine. What am I missing?

I fixed it from my side, you can grab v3.7 in the autoupdate system right now or wait till it gets approved on CodeCanyon.

Works perfect. Thank you!

No problem.

I purchased Foobox Prop to use with Justified Image Grid and it works perfectly except one small thing. I need a link in the description that slides up at bottom of images. It is not working correctly. This link: gallery-orange.com is not working. This link: http://ateliernewport.com/ is working. There is no recognition of the ”-” within the link, it strips it out and replaces with a %. I have no idea how to fix this issue. Your help would be appreciated.

http://carlos.webwerxdrafts.com – bottom of home page is the images with links.

Where should the link be and how should it look like? I can’t seem to find any page on those sites where FooBox wouldn’t work. You can generally place links there. As seen here: http://justifiedgrid.com/lightboxes/foobox/#foobox-2/0/167527802.jpg Maybe you are using a longer dash than normal dash and it gets treated as a special character? https://i.snag.gy/xdrNCT.jpg On this image I don’t see anything out of the ordinary, perhaps I wouldn’t include the space after the word orange in the link.

Sorry I just got back from vacation.

I’m looking to add an additional button to the lightbox that shows up. And for my own JS/PHP script to fire when clicking it.

I made something by editing the plugin directly, but want to avoid doing that if possible.

So, in short, is there a way I can make a second link (like the existing ‘download’ link appear on all lightboxes and ensure is has a data attribute matching the title of the image? Any tips re filters/hooks to use would be great. Thanks

Sorry currently I do not offer hooks and filters. I know there is something to improve upon in that area. Unfortunately you won’t be able to do this without editing the plugin. Do you use a JIG lightbox? Perhaps it’s better to only change the lightbox and make it create or request the data you want to add to the link. If it’s like an add to cart button, the image ID is readily available on every thumbnail, for example. When people requested similar, I only ever changed the Lightbox JS (that gets changed less often anyway).

I tried to use the Recent Posts feature and I’m showing pages with IDs in a grid with featured images. Is there a way when you click on one of the images from the grid and go to the exact page to NOT display the featured image but only the content? Thank you!

Only if you show your content on those pages with JIG. There you can exclude the featured image automatically. That works for images from the media library: https://i.snag.gy/92v5oC.jpg or for other JIGs that show recent posts: https://i.snag.gy/Pj3Fa9.jpg

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey