Code

Discussion on Justified Image Grid - Premium WordPress Gallery

Discussion on Justified Image Grid - Premium WordPress Gallery

By
Cart 23,132 sales
Recently Updated

Firsh supports this item

Supported

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

8469 comments found.

For some reason even though I set no Lightbox on mobile it still pops up on mobile. Any idea why? I have it installed on multiple sites and all set to no Lightbox on mobile but they all pop up.

site is www.paulpetch.com

Litespeed cache. Turning it off does not fix the issue. It’s a pain in the ass! Turning off Lightbox for mobile is OK but as mentioned the ability to click an image on desktop for Lightbox is random.

What we could do is to enable lightbox everywhere, but use CSS to disable clickability on the thumbnails if the screen width is under a certain value. That survives any kind of server caching and does not use server side mobile detection. Would that work for you?

Custom CSS:

@media screen and (max-width: 768px) { a.jig-link{pointer-events: none;} }

Brilliant. That seems to have fixed it!

Unfortunately, this product does not seem to be supported. My questions have gone unanswered for one week.

Yes, but since it’s a long gap, some may have been discontinued (rare). I don’t usually rename settings variables so backward compatibility should be good for those that exist though. Also the use of the plugin has changed significantly since then, so while grids will likely continue to work, you’ll need to relearn how to edit or create them or access the shortcode editor like in old times (that still exists but new users don’t copypaste shortcode anymore).

Very happy to say everything worked on the first try! Thanks for everything. Sorry about being in a bad mood before.

No problem!

Hey Firsch – Having a bit of a problem. I made a grid of images and I have it set up where if the images are clicked the user is taken to the attachment page, in this case a post where the image resides. It works fine – if I’m logged in to the backend. If I’m not logged in, I’m taken back to the main page. As far as I can tell, I have everything set right – the grid is set to access the attachment page, I have the grid set a preset that has this set as well. Any ideas?

Could it be due to caching? Can you please send me a link to where this happens? Are those pages published? If the public has no permission to view them, they won’t work.

hmmmm…. maybe that was it because it seems to be working now. Of course. I guess you fixed it, thanks.

I’m very interested in using this plugin, but I am unsure if it can conflict with my theme. Out of curiosity, here is my website: https://vlanderon.com Does this plugin align with my theme?

I don’t see why it couldn’t align with your theme :) If there is any technical problem let me know. Designise it’s mostly unopinionated by default, but can be tailored to look more seamless via the settings.

Hi, can i create several different galleries in several pages Thanks

Yes of course

Puzzled why the plugin on my home page no longer finds images. It’s working on photos.albj.net but not on the root albj.net – I even tried just slimming down to zero options and just pulling [justified_image_grid flickr_search_user=55455788@N00] which results in a message “There are no photos with those IDs or the post 17 does not have any attached images! Source selection is missing from this grid.”

It’s starting to look like the search function has broken, which explains why photos.albj.net works (I don’t use a search query for my tag there).

Well, rescind the above comments. I can only assume Flickr was having a momentary massage and not processing API search queries. It’s working now.

I see now that in the JIG admin, it’s not clear that you need to give it more inputs to work with than just your ID. It looks like it had missing, for example, a search query to trigger “Flickr mode” for the gallery.

https://i.justifiedgrid.com/s0pla1.png

In this test, unless I specified a text, I also got that message, but it’s normal.

The longer shortcode you posted also has this issue. It has 3 relevant flickr_* attributes but no query:

flickr_search_tags_m=all Sets the tags match mode to any/all but there is still no tag query specified so it doesn’t search by anything.

flickr_search_user=55455788@N00 This narrows the search to your profile.

flickr_description=no This is just a cosmetic, turning off text for a collection or set, probably doesn’t do anything for search either way.

Sorry for the inexcusable “delay”.

Says I need to Update but, also says it isn’t compatible with latest version of WordPress – What am I supposed to do?

Update anyway, it shouldn’t be a problem, it’s being developed on the latest beta. Updating the latest compatibility version number is just a technicality. If anything ever comes up I can send older versions after purchase verification.

Hello, this is a presale question.

I am looking for a grid that can be used in this website (it is a jcomposer built website): https://eyeslicepictures.com.

In the static state, each grid item must shown a picture. When hover, a coloured veil must appear, as well as a title and description and two icons. One of the icon is for a custom link, another one for a youtube video or for a lightbox image.

Does your plugin have this features?

Thanks in advance.

Alf.

In this plugin, the thumbnails themeselves are already links (to the lightbox or custom link), so to avoid a link in a link scenario, the single icon that can be displayed on the thumbnail is already part of the larger link. So it won’t carry a different link. But from the lightbox it’s possible to link to further pages or videos.

Color veil and title and description: yes.

Do you guys have this kind of photography editing application source code: https://l.linklyhq.com/l/1iaQI

Please if you have let me know

Just received an e-mail from Flickr about updates to the API requiring a User-Agent header on all API calls. Is JIG set up for this or perhaps releasing an update soon to be in compliance?

Well, I guess this is moot. Flickr did a mea culpa and rescinded the API changes.

Flickr integration is an important part of JIG so if they bring changes that can be adapted to on my part you can rest assured I’ll keep up with it. Yup they seemed to roll back, but it wouldn’t have been a problem if they went along with it, it’s not like they pulled what Instagram did.

JIG & Flickr. I can get the photos to show up in either “latest first” or random (orderby=rand). The instructions don’t seem to up-to-date. How can I change the order to “oldest first”?

Hi, only random order option is implemented to re-sort what is received from Flickr. Other than that, the order is set at the source (on Flickr). The previous comment mentions the API way has a problem and it’s known to skip instuctions. So the best bet for now, is to change the order of your content on Flickr itself with the UI.

Any chance you can troubleshoot the Flickr sorting problems?

The Flickr API shows what sort options are possible but they are not working JIG. I am most concerned with date-taken-asc and desc.

sort (Optional) The order in which to sort returned photos. Defaults to date-posted-desc (unless you are doing a radial geo query, in which case the default sorting is by ascending distance from the point specified). The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, and relevance

I’ve just tested this and it works for me. Is it working for you too?

Hi! Recently I´m seeing a bug in my Facebook´s grids: the name of the last file appears at the end of the grid. Is there any bug or missconfiguration about this? Thanks in advance.

Can you please send me a link to where this happens? That’s unusual.

It’s likely the a3-lazy-load plugin’s doing, it’s pulling out images/text from the HTML version of JIG that is there only for Google and people without javascript. Try disabling that plugin or put this into Custom CSS as workaround:

.jig-HTMLdescription{display:none;}

One more problem, maybe firsh or someone else has an idea. I sort my Gallerys inside Album by hand (newest first, oldest last). Inside the gallerys i would like to sort pictures by default to filename (as my filenames are numbered). I can do this by clicking inside every gallery on sort, change that. If i left it to default its sorted by something else. Nextgen Gally support told be to change setting inside nextgen to default sort order “Filename”, but if i do so, also the jig gallery page where all the gallerys are shown is sorted wrong to.

IIRC JIG respects that order if you keep’s JIG’s Order by on the default. You can override that with the General tab’s Order by and chooing something else. It’s also possible to use developer hooks to re-order the image set displayed in JIG, either on the client side with JS or at server side with PHP.

On a side note, a customer used special characters like !! to “pin” certain images at the top when sorted by A-Z, then I wrote custom script to remove such characters from the beginning of the titles.

Hi Firsh

I have setup this up, https://justifiedgrid.com/sources/wp-real-media-library/folders-and-top-level/. Working fine with counters etc. I would like the thumbnail galleries at the end of the sequence, to open in their own windows. Instead of on the same page. Is this possible?

Thanks Snapper

Hi Firsh

I’ve found a solution, I have placed each individual album into Row Layout / Section, on my homepage and used the custom link setting, to connect each Album to a Gallery page

All working fine, now have various Albums with Title, Image Count and Preview Photo, that link individually to my JIG gallery pages

Thanks for your suggestions

But did that require you to create multiple singlle album grids? If you have too many or that ever becomes tedious, let me know and I’ll cook some code for you. Perhaps something that uses a shortcode-like marker from the description field from RML to pass as custom link.

Hi Firsh

Yes, I created multiple single album grids, not too bad as only four. Copy and pasted Shortcode into Grid Editor, only had to change URL, RML ID and add Preview Photo in RML

Thanks for the offer of custom code

Will let you know, if this method becomes a problem

Hello, does it allow bulk image uploads? does it have image grabber? can user share images via social media?

Hi,

There are no uploads (bulk or single) as JIG doesn’t manage a library, it attaches to already-existing solutions (sources). For bulk, NextGEN can be a good choice.

I don’t know what do you mean by image grabber but it probably doesn’t have it.

It depends on the lightbox you use, but two of the built-in ones have individual social sharing.

I really like the style/formatting of JIG but have a pre-sale question. I have a need for a WHITE background (vs the typical blacked out or darkened background on most lightboxes) on the lightbox view. Can that be accomplished with JIG and its bundled lightboxes? TIA

Yes look at the wedding-themed (last) example of this lightbox: https://justifiedgrid.com/lightboxes/photoswipe/ the JIG implementation includes a light skin!

PERFECT… !!! Thank you for your excellent support!

With no recent changes, my use of the JIG plugin on my site is suddenly causing “critical error” on my WordPress site.

For now, I moved the plugin off my home page and onto a test page: albj.net/test – the page password is simply “password”

My plugin code is: [justified_image_grid row_height=100 caption=slide mobile_caption=same caption_match_width=no caption_title_size=10px caption_desc_size=10px caption_align=center gradient_caption_bg=no orderby=rand filter_orderby=random max_rows=8 disable_cropping=no flickr_search_tags=-license,-plate,-custom,-vanity,-tag,-MDG flickr_search_tags_m=all flickr_search_user=55455788@N00 flickr_description=no]

The WP version and all plugins are fully up to date. There was a recent JIG update that I just installed a moment ago, and the problem remains.

I use a different codeset of the same plugin at photos.albj.net which is still working fine. But on my main site, it simply started with the critical error. Any advice?

It would be helpful to see the nature of the error, did you receive an email with more verbose explanation or does something appear in the error log? It could have been a memory issue or something else masked by WP’s simplifaction of error messages.

I should’ve screenshot it, but it showed the minimal core of my WP theme (but must not have fully loaded the CSS because the fonts were wrong). Below the usual header, there was a simple DIV container with a message about the site suffering a critical error and a generic link for troubleshooting this sort of problem. That really was pretty much all there was to it. I didn’t get any e-mails. I was just randomly visiting my own site as I do from time to time to make sure all is well, and realized the problem. My quick Google-foo tells me the wp-content folder should have a debug.log file that might have info to share with you, but it’s not there. Only a bunch of 0-byte “temp-write-test” files. I found error-log file in wp-admin folder but nothing helpful in that file. I suppose it’s entirely possible my hosting provider had a momentary problem.

That’s interesting, usually an error like that breaks the entire site (WP white screen of death, with or without an error message). It’s quite oldschool for it to break in the middle. I believe you can use some free monitoring services that check the site for you periodically. If you suspect the load is too high for your site, you can use CloudFlare to at least serve the static assets from their CDN for free. Also, a caching plugin can help preserve a working state of the pages and until something changes in the content, the site is less likely to break.

Hello. Using woocommerce, I’m looking at having a link to the product in the lightbox (photoswipe) displayed as an icon rather than text, and positioned alongside the other buttons. I know I can link to it with recents_link but was wondering if this kind of styling is possible?

Thanks mate, that makes it easier haha. Figured I’d put this here if anyone else was curious, I did manage to get the link to display as an icon using a fontawesome unicode as the content and changing it to a fixed position to sit alongside the other icons. Not perfect but it works! https://imgur.com/iBSDlNP

That’s neat! I guess it doesn’t fade out with the rest of the UI, though.

Yep. I did have it fade away when the mouse hadn’t moved for a couple seconds via javascript, but it never quite synced up with the photoswipe buttons, so I just compromised and made the buttons always visible. Like i said not perfect but still happy with it

Firsh, is it possible for JIG to access images on a Cloud server like AWS or BackBlaze?

No. That forum is a Pro Boards forum – so no image uploads. I set up the image host to provide the forum members a place to upload images that are shared on the forum so, the image host is completely independent of the forum. I was just thinking that since I already have the cloud hosting I might be able to use it for images on my site with JIG.

Ok. As long as you use it for images of your WP site by the way of syncing them there, there are ways to rewrite the image URLs in question. I use a software called syncovery to put files of the wp-content/uploads folder on the cloud then change the URLs on the site in question. Perhaps there are WP plugins that make use of the cloud. JIG out of the box would likely not be aware of your mirror, but PHP (and now JS) filter can change URLs if they are predictably different. https://justifiedgrid.com/support/faq/jig-images/ I can help write a little function that does this once you’ve established images on the cloud that (even manually) mirror your site’s files.

Alright, I’ll get back with you when I get around to trying it out.

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