Code

Discussion on Justified Image Grid - Premium WordPress Gallery

Discussion on Justified Image Grid - Premium WordPress Gallery

By
Cart 23,135 sales
Recently Updated

Firsh supports this item

Supported

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

8469 comments found.

I’ve always known (and have not had issue) with the amount of time it used to take to load my site using JIG. More recently, though, it feels like it takes much longer. https://photos.albj.net/ All the main page does is pull a list of my 25-ish Collection thumbnails. Loading a page of the albums in one collection or the images in one album has very acceptable speed, just not the home page with the collections. Any advice?

They use different API endpoints, but as long as Flickr cache in JIG is used, they should be equal. What is your cache time setting at? Also, you might want to use a caching plugin on top of it, as putting together a list of covers from a collection can be an expensive operation behind the scenes. Flickr used to generate a small but usable grid/mosaic for all collections, they switched that to a gray grid. Now JIG has to find the first image from a set. The full story of that: https://justifiedgrid.com/support/faq/where-are-my-flickr-collection-mosaic-thumbnails/ Afaik this resulted in more API hits.

webP and timthumb problems Hi Firsh,

WP offers now native webP handling. So I transformed (reimported) the pictures displayed by JIG from PNG to webP. The images are saved in the same upload_dir as the originals, same name, different extension. To do so, I call wp_insert_attachment in update mode.

Unfortunately, JIG stopped displaying images. If I disable timthumb, they show up again. I was wondering if regenerating the timthumbs would solve the issue. So I went to the cache folder and moved the timthumb.txt files into another dir to see if they would be regenerated. I have left the empty index.html file there. I see now a .touch file and one .txt file, but nothing else.

This is the link where the anomaly happens https://dev.syrian-heritage.de/gallery/

Here is what it looks like with timthumb off https://pasteboard.co/KizxbSs.png Here it is with timthumb on https://pasteboard.co/KizxRTe.png

I’ll leave the timthumb functionality on so that you can have a look…. thanks for any advice (including the correct and best way to re-import images in a JIG-friendly way)

Hey Firsh, a little weekend gift for your perusal. I have patched the timthumb file to process webP. It was more complicated than expected because of a lot of minor nuances mostly due to webp being 4 chars while timthumb relies on the assumption that all img file types are 3 letters long. Anyway, now I can use it without seeing broken images. Here it is for you, it has some debug statements thrown in and now it uses a dedicated debug file. https://gist.github.com/mbariola/7e10d400a04e9d1394666857707faf2b

It might benefit from some polishing, but atm it does the job. In general, timthumb has aa big problem – it is synchronous. This is no longer a good choice, especially with big big galleries. some cron or deferred / batch processing & stale cache handling is needed especially when a big chunk of cache is invalidated.

I have one last bug to hunt and I think I need your help as now timthumb is working but JIG complains about one specific image with “all images failed to load” but the image does exist and the timthumb called by jig does return a 200, and if you open up the timthumb.php which is called, the image is there. but I need to share a password to see a protected page. are you up for a check?

Yes and thank you! Let’s continue via email.

Did I ever thank you?

Hi Firsh,

1. How do we disable FULLSCREEN option for Photoswipe Lightbox? Previously, we could add shortcodes. But, new version seems to be working differently.

2. is there any way we can SPOTLIGHT/BIG 1st image and then the remaining images will be like thumbnails/smaller.

Thank You, Sha

Hi,

1. There was no change regarding that. https://i.justifiedgrid.com/2oupn8fo.png Set this to false in JIG plugin settings, Lightboxes tab.

2. Nope, unless you “glue” 2 JIGs together, one set up to show 1 image at max width, and show the rest in the second JIG at small size.

Hi, I have pre-sale question.

I really like your plugin but my concern is how efficiently it’s coded in regards to storing data in a database? I’m currently using NexGen Gallery Pro but it started to show signs of slow behavior. So when there are many images to handle (around 45,000) how good is your plugin? Do you have all the required indexes added?

Thank you.

If you use NextGEN as a source in JIG, it uses its own functions to access the tables of NextGEN directly, which are faster than NextGEN’s (less queries). JIG itself doesn’t store anything in the database about the pictures (besides caching measured image dimensions of external sources like RSS), as it isn’t a source in itself.

Thank you for explaining. So does it mean that NextGen Gallery should remain installed for JIG to use it’s albums/galleries as source, or it only needs to be done once? If NextGen remains installed it defeats the purpose of me trying to switch from it to an alternative solution.

It’s just an option, it’s created this way so you can modernize its looks. It will still be responsible for managing album/galleries. But if it’s fast on the backend but slow on the frontend, JIG can help. For a complete alternative solution try Real Media Library. JIG needs a source, but it doesn’t have to be NextGEN.

Bonjour, Justified Image Grid est-il compatible avec DIVI ? Merci

Yes, but its dedicated compatibility (divi block) is under construction.

My photo’s are taking forever to download when you try and Edit gallery – what can be the problem ?

If you create a similarly sized standard wordpress gallery without JIG in a post/page, does the same thing happen? JIG just uses the media dialog as normal. The only thing I could think of is missing standard wordpress-generated 300 pixel thumbnails so it might load larger versions.

Hi – Noticing ithemes plugin is getting in the way of the images. All options uncheck in System Tweaks

Hi, could you please describe how the ithemes is getting in the way of the images or how it interacts with JIG?

Having an issue when trying to edit a Wordpress media by ID gallery. Many calls to admin-ajax.php, a bunch fail with 503, CPU and Memory usage spikes to 100%. On a decent server, too. Works fine on small galleries (15-20 or so images), front end is perfect. So, unable to make galleries with a decent amount of images. Any help would be greatly appreciated. Thank you

Actually managed to get the same error on the local server today. Albeit once out of many tries.

I’ll need to take a look at your theme and its wpbakery builder customization as it’s not working as intended. Sent you a mail with a google drive folder link.

does your plugin support “webp” images format, like the new wordpress? thanks

It does not create thumbnails in that format yet but can work with it yes. You can disable thumbnail creation so the WordPress-generated or your custom format images get used everywhere.

how to handle gallery when using ads like popunder to avoid getting full image link but not JIG gallery lightbox…

regards

Sorry I don’t understand your question.

On the WP Dashboard: Justified Image Grid: Facebook authorization for * has EXPIRED. You have to re-authorize!

FB-Settings of JIG .. LOG: [16:11:32] The authentication of current user: * is valid. You can choose from 64 albums. It will expire in expired which is on 15.6.2021 (22:29:20).

Just in case re-add yourself, it’s a much faster process this time than initially. The validity hold for 2 months but it’s subject to change. I’ll aim to make it so that you can still work with expired auth if you prefer.

Okay. Thanks for the answer. Any news about the “EXIF-Wish” ??

No problem. No news on the exif front.

Hi! I would like to know if I can avoid loading all my image grid images at full size. I have 2000px long-edge images and it takes a long time to load the grid. Is it possible to have reduced-detail images in the grid. Many thanks

Hi, it doesn’t load those large versions as thumbnails by default. If you disabled TimThumb you can still choose a WordPress-generated thumbnail size. I could take a look at your usage to check what’s it doing.

prettyPhoto facebook sharing icon no longer works – just shows a sad face icon – even on your own site https://justifiedgrid.com/lightboxes/prettyphoto/#!

It only works if you’re currently signed in to FB. Seems crazy.

This is what I see at the top of the JIG “Lightboxes” settings panel – https://bit.ly/3xy2JVQ

Yes I have a FB like button there, but its embedding method is nothing fancy, pretty standard. Not sure why the sad face vs emptiness in other places, there is nothing Firsh-specific in the way I add these buttons as far as I know.

How do I turn off automatic update?

It doesn’t update automatically, just checks. To update you need to click manually in the dashboard (unless some 3rd party solution does it for you). The checking cannot be disabled.

I was trying this shortcode

[justified_image_grid image_taxonomy=shap_time image_tax_term=year_1999_en max_rows=1 height_deviation=0]

on this page

https://dev.syrian-heritage.org/afamiya-columns-in-the-ruins/

trying to achieve a “banner” visualization. however, it seems that the max_rows and/or height_deviation have no effect. Any thoughts? Version of plugin is current

It’s probably the load more feature coming from the global settings that is overriding your max rows. That’s incompatible with rowcount-based limiting.

Hi, that was it. adding load_more=off made it appear like a “strip”. thanks.

Hi, i need to remove my licience from a staging site

Done

I’m a bit confused about the distinction between functionality and support. Does purchasing this license make it usable for a lifetime, with support being what’s only available for 6 months? Or do I need to renew the license every 6 months in order to keep its functionality on my website?

Use and get updates forever, only support is limited. I don’t make a clear distinction between presales and customer support though ;)

I have a problem with Photoswipe, I’m using it as my desktop and mobile lightbox. Basically when I open it from link like say from a facebook share, and the user closes the lightbox, there’s like a ghost element that remains and the UI is unclickable. Basically I found them talking about it here but I don’t understand the solution. What should I do? I’m using the photoswipe because I can right click on image to save and also I like the menu. Please help :) thanks!

https://github.com/dimsemenov/PhotoSwipe/issues/867

Still waiting for your response. It seems like Photoswipe is indeed being loaded twice. See here: https://stackoverflow.com/questions/31127896/photoswipe-pswp-class-not-clearing-after-closing-image

But I still don’t know how to fix it exactly.

Holy shit I fixed it myself again.

Could it be that there is/was a second photoswipe on your site loaded by another plugin? Last time I checked your link, the issue wasn’t happening. Did you customize the lightbox with that Download button?

Hi, may I ask if your plugin supports horizontal scroll ? Thank you very much!

What do you mean by horizontal? It supports only what you can see on the site. https://justifiedgrid.com/support/faq/is-pinterest-style-available-what-is-masonry/

Hi, may I ask if your plugin supports horizontal or not? Thank you very much!

What do you mean by horizontal? It supports only what you can see on the site. https://justifiedgrid.com/support/faq/is-pinterest-style-available-what-is-masonry/
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