Code

Discussion on Justified Image Grid - Premium WordPress Gallery

Discussion on Justified Image Grid - Premium WordPress Gallery

By
Cart 23,154 sales

Firsh supports this item

Supported

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

8472 comments found.

I love your plugin, but I think it might be causing issues with a site that I built. There are issues uploading pictures and sometimes the images don’t even show up in the grid. I don’t know if there is any way you can check this out. For instance, http://meghanhemstra.com/learn/ has 18 images uploaded to it, but it’s only showing 12… Do you know if there are any plugins that are wanting to cause a fight with yours ;).

If you switch JIG back to the regular WP gallery, will all 18 photos show up?

Hi, first off thanks for the great plugin I love it and it was well worth the cost. Just having a problem at the moment with my permalinks, if you check out my gallery (fed from facebook) http://doublefrisson.com/gallery/

I’ve got a custom permalink structure set up at the moment to post name, when you click the albums the following page gives a 404, however if I set the permalinks back to default it works fine (e.g. http://doublefrisson.com/gallery/?facebook-album=515191235234302)

It’s frustrating because I want to keep my custom permalink structure for SEO/cleanliness, I’m sure it’s not a fault of your product and I probably have something conflicting somewhere but can’t for the life of me figure it out and .htaccess stuff confuses the hell out of me, any help greatly appreciated!

Great news, has started working now. I’m wondering if there’s perhaps a delay with the .htaccess updates from GoDaddy, just needed time

Thanks for all your help

You needed to flush rewrite rules once by saving on the permalinks page or in the plugin settings (Facebook overview slug). I’m glad it works now :) Please rate the plugin!

Just had a few days of NextGen induced hell, but that is finally resolved. The question I have is if there is a guide that is focused on best practices to reduce server load. This is the email I got after NextGen’s appetite for server (2.0.23) was resolved..

“Thank you for contacting us. I apologize for the inconvenience this may have caused. I have removed the restrictions from your account since the load appears to have reduced. There still are some issues which your plugin Justified Image Grid which is opening a lot of processes for timthumb. This may cause future issues on your site if the traffic increases.

A good solution to resolve the issue with plugin Justified Image Grid will be to try using an alternative plugin or using static images as the thumbnails, you can also reduce the amount of images on your pages”

In the short term I enabled Photon, but I’d rather have a “JetPack-Free” site. Plus for the sake of simplicity, was considering letting Flickr host all my image galleries going forward.

Frankly I no longer trust the guys at NextGen, although 2.0.27 appears to be working, I can’t afford to have my site taken down again because of gross errors in coding.

NextGEN 2+ was indeed hell, but if you don’t use their native way of adding galleries, just everything through JIG, you should be fine, as I’m using my own code to get NG data from the database and it’s very highly optimized.

The TimThumb is indeed there, but it’s caching your images so it’s as good as static images. It only causes a higher load for the first time you encounter the images. Without TimTumb, all images would be loaded at higher resolution (then resized by the browser, looking ugly sharply pixelated in some cases), resulting easily in 10x+ file sizes. The number of connections to the server would be the same and the data transferred would be vastly more. Due to the dynamic nature of JIG the WP image resizing and WP image sizes are not applicable unless you’d want to end up with lots of uninstallable unnecessary resized images in the \wp-content\uploads\. TimThumb is the best all-round solution for thumbs. The bashing it got was some older version with a security problem but it’s been fixed since.

You can use CloudFlare to ease the load on the server, it can store and serve the TimThumb created images easily. http://justifiedgrid.com/cdn-ready/

HI. Thank you for the fantastic plug in! On 1 page I am just featuring 1 image from a post category and would like to make its width 300px. For some reason I have put in custom_width=300 width_mode=fixed but the image is still just 150px wide? What am I doing wrong?

The width is for the grid, and its available space. In order to make the image big as well you need to apply a larger row height with a generous height deviation. Say, your image is a rectangle then you need 300 row height an 0 deviation. If it’s some other shape then just set 300 height and about 100 deviation.

Is the 300px the total width in the area you wish to add JIG?

Would you like to center it?

Is it possible to add a large images one after another as there http://www.kalina-bez-studia.com/

With some great row height and generous height deviation it’s possible. But in some cases 2 portrait ones will appear next to each other. I’m planning to add a specific feature for this that ensures one image for each row, with any size.

the plugin worked on my development server but now i receive the message ‘no albums at all.’ it is connecting with the facebook page and yes there are albums. any thoughts? thanks.

still no luck. contacted host with instructions.

cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3

even tried to verify(false) method. any other ideas? thanks

PHP Version 5.2.5

PHP seems old though. Contact me from my profile and I’ll log in and see.

Love the plugin! thank you. but it shows error on mobile. in fact, all images stopped loading (header loge etc…). please help

Can you send me a link where this happens? Thank you!

Hi,

Is it possible to display recent posts by tags on a page, but use a separate thumbnail to display? I mean not the featred image that was used with the post.

With Recent posts (with tags or other) there is no such option. It always uses the featured image. How would you specify another?

But if you pick an image in a gallery you can point that to the post using JIG Link (custom link), so any image can link to any post or webiste URL – but not with Recent posts. It’s rather manual and may not be what you had imagined.

Hi Firsh,

Great plugin!

Is it possible to link an image to a specific post or page?

If so how do I do it? I am trying to use the recent post option but it just displays every single post even when I try and exclude categories.

Cheers

Rob

Rate: http://codecanyon.net/downloads

Yes you can use it in the widget area, just paste the shortcode you like into a text widget and put that in the sidebar/footer. Unfortunately the small text area for text widgets don’t come with a rich editor (in which the shortcode editor is), but if you can keep any post or page open just to access the shortcode editor and copy your generated code.

You need to specify an image source (such as Facebook or Recent posts), or in case of WP images: ids

For widget areas you may want to use small images so set row height to abou 50 or 100 and a very minimal height deviation. Another option to look into is ‘disable cropping’.

Rated – 5 stars of course :-)

Worked like treat Firsh!

Thanks again :-)

Thanks! If you need anything else just let me know.

Hi,

Firstly, thanks for this plugin, it’s fantastic. :)

Second, I am using the plugin to display quite a lot of thumbnails on a site and it seems to be hammering MySQL a bit. I was wondering whether you had any tips for additional indexing that might better support the queries that the plugin runs.

Thanks! Peter.

Hi,

what is your image source? The SQL queries have been optimized for NextGEN. For WP images, the natively available WP methods are used.

You can install the WP plugin called “SQL Monitor” to see exactly what queries are run and where do they come from.

There should be no difference for a regular WP gallery (e.g. preset 1 on the preview site), displaying 25 or 250 images. As you will see there is only 1 SQL originating from JIG, and that is: justified-image-grid\justified-image-grid.php, 5885 (get_posts)

Recent posts is using the SQL a bit more, though.

You can use W3 Total Cache to speed thing up greatly.

Hey, thanks for your in-depth reply and sorry to take a while to get back to you. I am using recent posts. The issue was simply that I was not limiting the number of posts enough. I did have a look at the queries being run and saw that it was retrieving meta data for a looong list of post IDs, so I reduced the total limit of posts to 240 (it was getting about 1,200) and that helped a lot!

Thanks again, it’s an awesome plugin.

No proble, please rate!

It seems to me ‘recent posts’ refer to ‘recent changed posts’. Is there a possibility to show just a number of the latest ‘absolute by date’ posts? I guess you’re using something like get_modified_date() instead of get_the_date(), which I’d like to use.

ok. I’ll check things out…

Adding orderby solved it. [justified_image_grid orderby=date_desc limit=16 recent_posts=yes] does the trick for me.

Perhaps you set a different order in the global plugin settings. The date_desc is the defailt for recent posts.

This is probably a dumb question. how do I adjust the width of the gallery? It’s very narrow in the center of the page and there doesn’t seem to be a place to make it wider.

There is a custom width setting on the general tab, and you may want to set the mode to fixed to guarantee your specified size.

But isn’t the whole point of “responsive” that a website will work on both a browser or a cell-phone?

Yeah it is. But if you want to adjust the width then it implies that you don’t want a fluid width :) I think your theme is limiting the responsive factor here, if your theme defines a fixed width for the content, then anything in it may not be responsive either. Most themes don’t offer a real full width (what you see in my preview site is a few lines of CSS modifications of the avada theme, to allow content from side to side).

Client concerned about the hover effect not working on older versions of Explorer, for example, can review this page in IE 8.0 for example and let me know if you have a solution. http://tandemrecruitinggroup.com/team/

That map is very obvious, should convince them. :)

Yes, thank you, thank you, for sending that… this client is driving me crazy. I love this image grid. Could not get that great look on my own.

Thanks :)

I’m having problems. After adding grid, the page says: “Justified Image Grid error: there are no images to show, the items are empty.”

This is what my code says:

justified_image_grid ids=”544,543,542,541,540,539”

The images are there.

That error appears if there are no widths or some other problems with the images. Image sizes or paths sometimes can’t be determined, it could be that your theme or another plugin is overriding some WP default behaviors. Contact me from my profile so I can inspect it closer.

I believe I asked if this was possible but didn’t recieve a reply. Currently when I disable captions in the shortcode it removes them from my Social Image Gallery plugin pop up as well. I would only want to disable captions on HOVER, but not when you click and the image expands in the light box, is there a work around for this?

The caption is the text on the thumbnails. It has a title and a description.

The lightbox text is image alt and link title because every lightbox uses them differently.

The 4 fields in WP are title, description, caption, and alt.

I tested it on my test site with caption=off and either link_title_field=description or link_title_field=title and I was able to switch the text between these 2 fields that appear in SG, without having anything on the thumbs.

I understand, I’m just saying the verbiage is confusing. One would assume that since it’s called caption it would pull from the caption field. A more appropriate title would be ‘link description’ or ‘overlay description’.

Then they would assume it pulls from the description field :):) I think’s it’s most logical this way, as you can see you can select the acutal four fields for all of these in the dropdown.

Is there a way to save frequently used snippets so I don’t have to generate the same one i typically use over and over again?

Are the global settings the exact same as what is in the generator? I thought about doing this but it didn’t look like the settings were the same in the global area.

Yes they are the same, but SCE has more options in regards to what images you wish to display exactly. E.g. You can’t select a Facebook album in the global settings, it would make no sense to display the same album in each gallery instance, so you can only do that in the SCE.

Thanks!

Hello, i have a problem, when i go to my site i have this message, “All of the images have failed to load” but i checked my permissions and evrything is ok i don’t know what to do now :-( if you can help me. Thanks, regards.

It’s just one setting, I don’t think it could be enabled and still make timthumb work.

Yep, that should be done by the developer of BS to make a whitelist or something like that to choose the one we want to authorize. Regards

They wrote it somewhere that they don’t intend to whitelist timthumb :S

Hi there, I’m using the following code on a page, which works great but I’d like it to show all the tag buttons at the top of the page, instead of just the tags of the chosen images?

[justified_image_grid link_rel=gallery(modal) thumbs_spacing=10 row_height=130 disable_cropping=yes height_deviation=0 last_row=match ng_tags_gallery=shelving]

Great! What do you mean by ‘captions/titles’? The ETA is by the end of this month for the next big update.

I just meant I’m looking forward to the ability to show the titles and/or descriptions underneath the photos (and not just in the lightbox) =)

Aaah ok :) That’s already done, hope you’ll like it!

I’m enjoying the gallerry so far but I’m wondering if there is any way to set 4 columns that force cropping. The width of the website is 1152px and the preset height at the moment is 300.

Thanks for your help. Rob

You can set a fixed aspect ratio that’ll essentially mean columns (technically just rows, but it’ll look like columns) in your site. Enter 1 to the aspect ratio setting.

Perfect- worked a treat!

Cool! Please don’t forget to rate, thanks! Also stay tuned for updates!

Hy Firsh, I know that it is impossible to prevent people from copying imges to their desktop , but I wanna do all I can to deter as much as I can. So I have enabled the no-right-click in the setting ( which works fine btw ) but the thing which bothers me the most is that when anyone hovers over the images in the gallery it displays the direct url of the images in the corner of the browser. So it makes it easy for “people” to just type the url and get the image.

Is there a possibility this display of url on hover can be avoided ?

Cheers.

No, that’s a browser thing (standard behavior), there is nothing you can do about it. :S Anything that appears in the web can be stolen, unfortunately. You should watermark your pictures if you are a photographer and don’t show too high resolution versions of your pictures.

If you are using prettyPhoto lightbox, you can disable advanced deeplinking of prettyPhoto, to not include the path to the image in the URL bar, once the image is opened, but then the Facebook likes won’t be that good.

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