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.

Odd behavior on “Tweet” button when viewing images in Microsoft Edge (Win 10 testing platform).

Most likely an odd issue with the useless Edge web-browser itself, as it doesn’t appear to be any issue on others tested (IE11, FireFox, and Chrome, etc).

However, has anyone else noticed, when displaying the gallery image popup, with the social bar below the description, the “Tweet” button is actually flickering. As it cycles over and over calling it repeatedly? It’s actually repeating calls to Twitter every 200ms or less.

Unless I install Win 10 I’m not going to be able to play with it: http://www.quora.com/Can-I-download-Microsoft-Edge-for-my-Windows-8-1-laptop

I’m not yet ready to upgrade. So I’m not sure what do to. :(

Just coming back to this to confirm it’s fixed in Version: 2.8.2, no longer any issues! :)

Yeah I played around with it a little bit, thanks for confirming.

hi there i am using your plugin image grid on one of my sites and i have noticed the plugin is quite demanding on the hosting server. I had to change to siteground because hostgater was limiting my site. i get a few hundreds visits per day so i wanted to reach out and ask you if this is normal and how i can reduce server load? i am using on a few pages on the site.

here is one page link to my site:

http://crossdressersociety.com/crossdresser-shop/high-heels-men-size-11

thank you.

Mark

Hostgator is not recommended anyway. Well I have about 500 visits per day and the server is just fine, barely using the resources it says. I use CloudFlare (free CDN), you could start with that it’s very good. Also, decrease thumbnail quality in JIG from 90 to about 70. Use Load More feature to split galleries into batches of ~50.

hello it would be very nice of you that you helped us make a presentation, a horizontal grid wall carousel with arrows on the sides where you can go moving pictures, without expanding. automatically call the shots while moving fence, and so one saves space by not calling the albumnes vertically. :) It would be good to take these suggestions for an update.

Yeah I know what you mean. It’s planned.

What is “mism time”? Same time? Do you mean putting images from 2 social network into one JIG gallery such as Facebook + Instagram? The answer is currently no not yet.

mmmmmm okay :) thanks for the reply, God willing I hope you remember my suggestions for the next upgrade. I’m super happy for your application is the best.

It likely won’t be included in the next update but I do remember. Just the list is too long.

Hello Firsh

I installed your plugin, but somehow I can’t get it work.

I insert the code below to make a deviantART grid. [justified_image_grid rss_url=http://backend.deviantart.com/rss.xml?q=gallery%3Ayukorabbit&type=deviation rss_links_to=image rss_description=none rss_link=yes]

However, it generates a error message like this. “Justified Image Grid error: there are no images to show, the items are empty. (Edit)”

I’m developing my site on a test server. Please check the issue if its necessary. https://yuko-wordpress-yukorabbit.c9.io/sample-page/

Could you give me some tips? Thank you very much for your support!

What did you have before that? Was it php4? If so, that seems ancient. Glad it’s solved now :)

I’m not sure, it worked soon after I installed php5. So it’s possible that Cloud9 uses php4 for their Wordpress workspace. Lastly, I love your plugin. It was exactly what i want for my online portfolio????

I’m glad you are happy with it :)

hi firsh, too much comments to find the answer, sorry if this was asked before. Is there a way to avoid instagram tags being displayed in top of pulled galleries? thanks.

Great!

and with social gallery too!! ;)

Next step would be a way to allow to open each post’s gallery right there on the index page, just straight in the lightbox. While it’s available for Facebook, Flickr, NextGEN, it’s not yet possible for Recent posts – but it’s on the todo.

Pre-purchase question: How easy is it to utilize custom field data for each image?

I have two custom field son a custom post type that I utilize to display metadata – I just need to be sure I can either template (in PHP) a layout with this plugin that will account for them, or that they’re easy enough to use on the back end that it’s not a problem.

Thanks in advance!

You can show up to 4 custom fields (2 on the captions, 2 in the lightbox). It’s in the admin, in the dropdowns of “what text to show” as captions on the thumbnails and in the lightbox. You need to specify the custom field ID manually. No coding required though.

Dear Firsh, I would you thank you about your incredibile plug-in. I am Omar Bozzini (envato user name: omarbozzini) I’ve bought a regular license:7 Jul 2015, I need to reset it because I changed the original domain (it was installed on a temporary domain) and now I am using it on shake.com domani. Could you please reset the license so I could insure code and use for automatic updates? Thank you, Omar

Done!

If JIG falls apart on the latest Firefox, just update to v2.8.1

Hi Firsh, I am using the recent products with woocommerce, works great … I have about 500 categories, is there a way to display the recent products of the current category ? – instead of manually typing in the term for every category in the recents_filter_term.

Sure but you need to edit your theme’s php files and place a template tag that gets the category automatically from the page and passes it to JIG.

okay, is there a howto somewhere ?

No but if you contact me from my profile I can help you out.

Hi, are you still using tim thumb? I’ve all together stopped using this plugin because of the EXTREME security risk associated with tim thumb, as written by the author of tim thumb himself who no longer even works on it anymore. Thanks.

Hi, let’s not exaggerate there is no extreme risk, it’s all good.

Thumbnail creation is necessary for the various needs of the plugin and here you can read a full technological explanation that should cover all your concerns. Please note that you are free to disable it any time, however there would be a performance hit as the large or original images would be used as thumbnails, letting the browser resize them.

No alternative for this kind of use

After looking at plenty of other solutions, it seems that there is no proper alternative besides Jetpack Photon. Thumbnail creation for JIG needs to fulfill this needs:
  • Works with external images from various sources, such as Facebook, Flickr, Instagram, RSS feeds (YouTube, Vimeo, 500px, DeviantArt and so on).
  • The retina ready feature needs thumbnails to be created on demand at an optimal size for different pixel densities.
  • Any change in row height settings (or presets) requires a thumbnail with a new size.
  • Works on past galleries, for which the thumbnails haven’t been built.
  • Does not upscale.
  • Caching with a way to easily clean up.

Problems with the built-in WordPress thumbnail creation

Articles often bash TimThumb and cite the the availability of tools and functions that rely on the built-in image handling of WordPress. Yes, it’s suitable for themes where the developer knows what thumbnail sizes they will require across the various layouts. However, there are several problems with it when used for a plugin like JIG:
  • Does not work with external images.
  • Thumbnails would need to be pre-built, but the row height you may desire in the future is not known in the present.
  • Normally, thumbnails are generated on image upload only. Hence the many “thumbnail rebuild” plugins.
  • It clutters your /wp-content/uploads/ folder, wasting space with no way to easily clean up. Without intervention, the different and often unnecessary sizes are saved at a high quality too high, often causing the thumbnail to be larger (or at least disproportionate) in filesize than the original, hopefully optimized, originally uploaded version. Take a look at /wp-content/uploads/ directory, isn’t there 10 copies of every picture, just because your theme defined various thumbnail sizes carelessly? Often this is the case.

Security and discontinuation

One could argue that TimThumb is allegedly not secure and is discontinued by its developer.
  • It wasn’t actively developed since 2012 anyway, as it has reached maturity. Since then, very few updates have been released that only consist of little fixes. So in that sense, it doesn’t make much difference that it’s discontinued.
  • It is customized for JIG and the developer keeps a close eye on the script regarding its security. The last exploit found (webshots) wasn’t even enabled or used by JIG, however since then it’s been fixed either way. In general, whenever a security exploit is found in any script, it’s done via ethical hacking where a possible solution is also proposed. It’s expected that JIG will include community fixes should any security issue would occur.

What about the future, how do you make thumbnail creation sustainable?

As part of planned development, JIG will come up with diversified ways to create or access thumbnails:
  • It would depend less on TimThumb and offer options to use thumbnails sizes already available. Sources often create thumbnails at pre-defined sizes JIG could make use of. These would be a close enough match to your row height settings (which directly influence thumbnail size).
  • The possibility of better caching that would not cause any PHP script to run, just to access a cached thumbnail.
  • Nicer thumbnail URLs without visible query string parameters.
  • Superfluous blocks of code will eventually get removed from TimThumb, making it smaller, more compact, less prone to security issues.

Ok thanks for the info buddy, unfortunately I just can’t use any plugins that use tim thumb because the head of security of the company I work for has it on their list of banned plugins. Anywho, thanks for your detailed post and I understand.

No problem :)

Just downloaded and “updated” and the plgin reflects the same version 2.8

Try again please. I can confirm the autoupdate system has v2.8.1 but CodeCanyon doesn’t yet have it (it’s in the review queue).

Wow, this looks great. Just a quick, clarifying pre-sales question please. With this plugin, can I set a random grid of pictures for my front page in whatever dimensions I want, pulled from featured images from recent posts, and the only info showing on the grid images is the post title, with the destination when a grid image is clicked being the corresponding blog posts (and not a lightbox gallery)? Thanks!

Yes you can. By whatever dimensions you need to know what JIG uses aspect ratio first and foremost, let it be the image’s original or your custom value. Other than that dimensions are secondary and are derived from row height automatically.

Hey,

Is it possible to add a different style of overlay to a specific thumbnail?

Example: my entire gallery has overlay fade in caption. But only one image will have the magnifying glass ?

I thought it was possible using the settings for each post but those settings will modify the behavior of the entire gallery, overwriting default ones.

Only with Custom CSS. Every image in the grid has a unique ID derived from the source of the image (except for RSS feeds). Thus you can target each image with Custom CSS. If you send me a link where you are using JIG, with all thumbnails having the magnifying glass, I could come up with a short custom CSS to only have that on one specific thumbnail.

No problem, Firsh

I know how to do that. However, I wanted to know if I needed to create a custom solution or it was part of the plugin already.

Also. Is there any way to guarantee the grid stacks images one on top of each other on mobile?

I want to create a specific look for my grid and I was able to do it cropping the images in the right aspect ratio and inserting them in the correct order (desktop). However, when they get to mobile resolution. The grid still have some columns and it looks odd.

Any thoughts ?

Thanks,

The Custom CSS setting is in the plugin already, also the individual IDs in classes are added to each thumbnail However your custom rules are of course not in the plugin so you’ll need to come up with them. If you send me a link I can write you an example to change the design of 1 specific thumbnail.

Just use a larger mobile row height of 320 to 640, depending on which orientation you target. JIG will limit the height of the thumbnail to not exceed the screen (since the latest update). That way pretty much only 1 will fit in each row. Do not enter a very high value because it’ll be the resolution of the thumbnail already. And it’s all retina so you should count 2x-3x the resolution anyway.

Hi, I purchased JIG to use with the NextGen Gallery Pro Lightbox and I rely on its comments and e-commerce integration. Now, I followed the instruction on the codecanyon support page to activate the NextGen lightbox (under the question “How to use NextGEN pro lightbox with Justified Image Grid?”), but neither the comments nor the e-commerce panel are available. I really depend on this, so I hope there is a fix. Many thanks!

A customer has requested this and I have a possible solution for you although it’s in beta. I’d love if you could test it – contact me from my profile please. Not sure I can release it as an update because it’s rather tricky. NG Pro lightbox expects the gallery to be NextGEN but it can be faked.

Hey! I entered the license / purchase code in the plugin, but auto updates are not happening still. Am I doing something wrong?

Thanks, Vincent

Try now, v2.8.1 is in the system. Click “check again” on the updates tab of WP dashboard. You are in the database already with a .nl domain hope that’s correct.

Odd error – out of the blue. I didn’t even edit the page, and it doesn’t show up on all pages with grids..

Notice: Trying to get property of non-object in /home/mmageeph/public_html/wp-content/plugins/justified-image-grid/justified-image-grid.php on line 9139

http://181.224.137.142/~mmageeph/weddings/

Thanks

I’m not getting that error there. Please update to v2.8.1 as it could be already fixed. If not, let me know again. Did it happen with a Recent posts source?

I turned errors to false in wp-config, but yes it was a recent posts source.

On v2.8.1 if you turn wp debug, what does it say? The line number is changed most likely, what is it?

Hello,

I see there is an update available. But my WP can not update it. Everytime I try it says it was updated, but the second later there is a notification that there is an update for plugin.

Any idea?

Regards, Domen P

The file is not yet distributed as I’m still working on it and it’s pending. I removed v2.8.1 from the system for now but it’ll soon be released.

Hi

i get a update notification that i need to update to 2.8.1 but when i do the issue remains.

the version number is still 2.8

please resolve. Thnx

It’s still coming soon, had to pull it back as I want to add other things to it. I hope to be able to push it really live today.

Hi Firsh,

Can you tell me which PHP code controls the options to disable nextgen styles and javascript. I know you have an option in the JIG settings but I need to need keep just one file “nextgen_basic_thumbnails.min.css” and remove all the other files from loading.

Thanks many

It automatically disables everything coming from NextGEN, not each file individually. You could add an exception, however.

Line 7949-7965, function remove_nextgen_resources()

Thanks Firsh. sorry to ask but are you able to tell me the exception expression syntax.

Contact me from my profile I can do this as a small customization for you.

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