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.

Hi,

Is there a place we manually download 2.8.1 ?

Automatic update does not work for me

It’s pending as I’m working on more last minute fixes.

I have two licenses for JIG I switched domain names. Can you reset the license “cptops”

Done!

. error

. ok

Dear Developer,

I have one presale question for you.

Is it possible to make a gallery which has one image per row ? Something like here on my website: http://alexeiart.fi/

Best Regards.

Great!

Just wanted to say that I am using Visual Composer plugin and I managed to make two rows, one is visible for the desktop and another for the mobile. The mobile version has responsiveness and it keeps the images in one column style=) So basically I got the responsiveness and a one column style gallery !

That sounds good! Stay tuned for dedicated Visual Composer feature as well.

Hi Firsh,

I got the following code in my category.php which fetches featured thumbnails of the posts.

<?php $ids_for_jig = array(); 
     if (have_posts()) : while (have_posts()) : the_post(); ?>
            <?php if ( has_post_thumbnail() ) : ?><?php $ids_for_jig[] = get_the_ID(); ?><?php endif; ?> 
    <?php endwhile; endif; ?>

    <?php   if(!empty($ids_for_jig)){ 
            get_jig(array(  'recent_posts' => 'yes',
                        'aspect_ratio' => '3/4',
                        'custom_width' => '1024', 
                        'max_rows' => '0', 
                        'thumbs_spacing' => '6', 
                        'row_height' => '320', 
                        'height_deviation' => '20', 
                        'mobile_row_height' => '260', 
                        'mobile_height_dev' => '10', 
                        'min_height' => '640', 
                        'loading_background' => '#eaeaea',
                        'limit' => '0', 
                        'last_row' => 'center', 
                        'mouse_disable' => 'yes',
                        'link_target' => '_blank',
                        'post_ids' => implode(',',$ids_for_jig)
                        )); 
                        }
                        ?>

Notice the second last argument 'link_target' => '_blank',. This does not seem to be opening in a new tab. Please help.

Please send me a link where you are trying this.

Here is one of my category page

An how about it when you change the code to this:

jQuery(document).ready(function(){jQuery('.jig-imageContainer a[href$="/"]').attr('target','_blank')});

(without the code blocks)

Hello Sir,

Love this plugin! However, I am having an issue with grabbing the rss feed from my groups feed on Deviantart. The groups favorite feed works fine. But our gallery feeds do not work even though I added the link directly from the RSS link on the page. Also individual artists feeds work great too, but the favorites feed do not work at all either.

Pls Advise.

Hi, try this shortcode:

[justified_image_grid caption=slide caption_opacity=1 caption_bg_color=rgba(0,0,0,0.2) caption_match_width=yes-rounded overlay=off specialfx=captions specialfx_type=blur specialfx_options=amount:1 last_row=flexible load_more=click load_more_limit=20 rss_url=http://backend.deviantart.com/rss.xml?q=favby%3Aundergr0und--x8%2F54403453&type=deviation rss_links_to=image rss_link=yes rss_link_text="Go see this on DeviantArt"]

Also, send me your favorites link and the corresponding Feed URL and I’ll check it. Send me any feed URLs or links that you thing may be relevant too.

Okay thank you I will email you the gallery I would like to get from my deviant group.

Okay!

Hi! I have been using this plug in for a while with no problems, to display a number of flickr albums. A few days ago I added a new album display but when the photos were clicked they did not display in a lightbox like all the other albums. Instead, clicking a photo opened the photo in a new tab with this in the url : https://farm9.staticflickr.com/(...deleted the rest). At first, the existing albums continued to display in the lightbox as they always had, but now today all the photos in ALL the albums are suddenly opening in individual tabs like that. Some of them start in the lightbox then switch to the tab. I haven’t made any changes to the settings for the plug in or the flickr photostream. Can you help? Thanks.

It’s likely because a JS error on the page, preventing the lightbox. Sens me a link where this happens and I’ll let you know. It’s not related to Flickr at all.

What is the proper way to embed a youtube feed? this code was working:

[justified_image_grid preset=16 row_height=160 height_deviation=60 caption_opacity=0.9 caption_bg_color=#262435 caption_text_color=#fc8a3a lightbox=magnific mobile_lightbox=magnific last_row=flexible-match link_target=video rss_url=https://www.youtube.com/user/mainstreampower]

But I now get the error: The requested RSS feed is empty.

Any ideas?

It works for me fine, your shortcode. Make sure the RSS url is not blue in the editor, not converted to an actual link. Also, try clearing the RSS cache of WP. JIG settings > RSS tab > RSS caching time and in the help bubble.

The url is not blue and i tried clearing the cache. I have put the code on to this page so you can check it out, the problem is still there: http://mainstreamrp.com/resources/videos/

Contact me from my profile, I’ll need to log in an check this out.

Hi! I’ve installed this plugin with Avada theme. I am not sure that the changes I am making to the lightbox in the plugins settings are being reflected on the page. I’ve also selected the “disable lightbox” in theme options. Please see this page http://brootarameshwar.com/portfolio-items/early-works-2/ to check if I am missing any steps. Thanks!

Hey…appreciate your promptness! You are right, the changes I had made are showing up now. It’s funny though, for some reason there is a delay in changes being reflected – no matter how much I refresh! I don’t have any caching plugin. I think it’s probably nothing to do with JIG, asking anyway – have you noticed such an issue before? Thanks!

Also, I am trying to use a lightbox (preferably a bundled one) that allows me to zoom an image to its full size. I am trying to setup PhotoSwipe as on the demo site http://justifiedgrid.com/photoswipe/ But the fullscr/een and zoom icons are not appearing on my images. What am I missing to do?

Hi, you need to have a big enough image to show in the lightbox first. Lightboxes tab > Max image size for the lightbox. Large or Full. I do get a zoom albeit very small extent as the image is not much larger than my window.

Slow changes, maybe server side caching controlled by the hosting? Try ctrl+f5 to avoid browser cache.

Hello,

I am using NextGen Gallery Pro and have installed JIG to augment/improve some of the layout. I am very impressed so far, but am running into some trouble with the integration of the NGG Pro lightbox. I have been able to follow other support posts to the point where my images are now opening in the NGG Pro lightbox, but the lightbox is not displaying/working properly (or, as it does in NGG). Specifically, when viewed via JIG, the Pro lightbox does not show the options for the e-commerce, proofing or e-commerce sidebar. Is there something I am overlooking that will trigger this?

Many thanks, Alex

Hi, following this: http://codecanyon.net/item/justified-image-grid-premium-wordpress-gallery/2594251/faqs/19660

it’s not yet possible. NG pro lightbox somehow knows that it’s not NG that opens it but another gallery. While the images are actually from NG, I’m not sure how it could be tricked to treat it as its own gallery thus enable ecommerce and commenting. I could try a few things on your environment, since I don’t have NG Pro, it’s a little bit hard to experiment with this on my own. Since you already use a setup that is just missing this, if you could let me work with you maybe I could fill this gap. It’s been quite some time people have been requesting this.

I would be more than happy to let you have a look at it. Is there a way for me to PM you with login details?

Yes, contact me from my profile please.

Hello i have installed the update but the pretty box, doesn’t work now. The lightbox doesn’t open. Do you have any idea why ? WP 4.2.4

Could you send me a link please where this happens?

I have problem after update to last version. All work fine (as it seems to me), but in error.log many error like
PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/user/data/www/domain.com/wp-content/plugins/justified-image-grid/timthumb.php/http://domain.com/wp-content/gallery/gallery/picture.jpg) is not within the allowed path(s): (/var/www/user/data:.) in /var/www/user/datawww/domain.com/wp-content/plugins/justified-image-grid/timthumb.php on line 981, referer: http://domain.com/page
Im try check option Do not use TimThumb, but no luck

Hi, it’s a known problem for which I’ll provide a fix soon. Would you be able to provide me temporary FTP access to help me work on it?

Hello,

I hope you are doing well.

I am getting a fatal error when i try to display the gallery.

Fatal error: Call to undefined method Mobile_Detect::isMobile() in /home/theocea0/public_html/davidsflooring/wp-content/plugins/justified-image-grid/justified-image-grid.php on line 8671

Can you please help me out.

Thanks,

Can you verify that you have v2.8 of JIG and that mobiledetect.php is in the folder of JIG?

Hi there!

Love this plug-in, but I’m also experiencing the famous “timthumb permissions” error. Up until now I could always solve this by manually making the JIG cache folder writeable (777) after each JIG update.

BUT with version 2.8 this does not seem to work anymore (keep on seeing: “all images failed to load” – I’ve disabled timthumb until solved). My website setup is as follows:

- sample page http://www.20watt.nl/portfolio/bruiloft-bruidsreportage/ (timthumb currently disabled as I absolutely need a working gallery) - Latest Wordpress 4.2.4 - I’m using “wordfence” as a security plug-in with caching enabled - Not using hostgator

Thanks for your support & keep up this great plug-in.

Hi, could you provide proof of purchase please? The issue is being worked on, will release a fix v2.8.1

Thanks for the reply.

Forgive me, but I’m having trouble to link my proof of purchase to my Envato account (envato DID ask me to update my username & password when I wanted to make use of support earlier today, so may there’s something wrong there?)

I do have an e-mail confirmation of my purchase (it’s from 21/08/2014) and also a license number in my JIG wordpress settings.

Ok then please send me the license number from my profile, and also a temporary FTP account if you wish that I worked the issue on your server before making it to a public fxi.

Getting a TimThumb issue with Version 2.8. I’m using W3 Cache and it’s on a HostGator dev server currently. Justified Image Grid v2.6 was working fine on it before and just updated that plugin folder.

All gallery images return Bad Request 400 ERROR.

Possible CHMOD issue with the cache, but tried them via FTP. CHMOD 755 tends to work best, CHMOD 775 or 777 can cause Internal Server 500 Errors. Not sure about if I need to CHOWN?

1) First issue is it’s treating the image as an absolute URL. Therefore not finding it as internal, rather defaulting as an external source.

2) Second it’s create the thumbnail cache files as 0kb.

Log details as follows (for example): Is a request for an internal file: /wp-content/uploads/image-file.jpg Trying file as: /home1/dev/domain.com/http://www.domain.com/wp-content/uploads/image-file.jpg Trying file as: /home1/dev/domain.com/wp-content/http://www.domain.com/wp-content/uploads/image-file.jpg Trying file as: /home1/dev/domain.com/wp-content/plugins/http://www.domain.com/wp-content/uploads/image-file.jpg Trying file as: /home1/dev/domain.com/wp-content/plugins/justified-image-grid/http://www.domain.com/wp-content/uploads/image-file.jpg Trying file as: /home1/dev/domain.com/wp-content/plugins/justified-image-grid/timthumb.php/http://www.domain.com/wp-content/uploads/image-file.jpg Could not find the local image so treating it as an external resource. Cache file is: ./cache/timthumb_int_65f48fc63c18ffe514132d5efb1770c3.timthumb.txt Trying server cache Got request for external image. Starting serveExternalImage. webshot is NOT set so we’re going to try to fetch a regular image. Fetching external image into temporary file /home1/dev/domain.com/wp-content/plugins/justified-image-grid/cache/timthumb6cneuK Scheduling file /home1/dev/domain.com/wp-content/plugins/justified-image-grid/cache/timthumb6cneuK to delete on destruct. Curl is installed so using it to fetch URL. Fetching url with curl: http://www.domain.com/wp-content/uploads/image-file.jpg Remote file has invalid mime type: Adding error message: The remote file is not a valid image. Mimetype = ’’/home1/dev/domain.com/wp-content/plugins/justified-image-grid/cache/timthumb6cneuK Deleting temp file /home1/dev/domain.com/wp-content/plugins/justified-image-grid/cache/timthumb6cneuK

Change my tilde fix to have no else branch.

// Tilde fix if (preg_match('%(?:/~.+?)(/.*)%i', $this->param('src'), $regs)) { $this->src = $regs[1]; } // End of tilde fix

Let me know. This worked for another customer.

Hi Firsh, tested that code and can confirm it’s fixed! Debug logs show it’s working as internal image and getting the thumbnail cache successfully. Many thanks.

Great! It’s included in v2.8.1 but I pulled it from now as I also want to include fix for another thing.

Quote: “Hi, I have a problem with TimThumb. See photo.

http://up.picr.de/22728152vo.jpg What can I do? ”

Same problem here and I think there will be more and more of it. Today on my side Wordpress automatically updated to 4.2.4 and now this problem appeared. Also yesterday updated JIG. So problem is in between two. Couple days ago everything worked normal.

Chmod and etc doesn’t help.

Now I’m switched to the Jetpack/Photon, but I do not like it, so I hope there will be solution for this problem.

If you are working already on the same problem with another buyer, then I will just wait for v2.8.1 or fix. Currently I’m running on v2.6 with no problem.

All right, stay tuned.

Replace the part with “tilde fix” with this (delete the else branch) in timthumb.php:

// Tilde fix if (preg_match('%(?:/~.+?)(/.*)%i', $this->param('src'), $regs)) { $this->src = $regs[1]; } // End of tilde fix

Let me know. This worked for another customer.

hello! Can your plugin make a gallery view like this: http://art-matilda.ru/new/959-2/ (screenshot: https://yadi.sk/i/JCiSy-D5iDwpE )

Thank you! I have two questions.

1) I am using this code: [justified_image_grid ids=981,976,980,979,978,977,955,954,953,952 photoswipe_social=yes title_field=title caption_field=description margin=20px limit=6 hidden_limit=10 overlay_icon=on]

[justified_image_grid ids=981,976,980,979,978,977,955,954,953,952 row_height=890 photoswipe_social=yes title_field=title caption_field=description overlay_icon=on margin=20px limit=6 hidden_limit=10]

in one page

and i see in result this: https://yadi.sk/i/PgvE1hzciK8Vp

1st code return error 2nd code works perfectly

Anyway another question. 2) How i can to create a gallery like this: https://yadi.sk/i/KRl4mmHfiK8dP a) two columns b) resizing to all monitor sizes c) justified fullscreen example: http://www.visionnaire-home.com/bedroom/windsor-master

Hi,

1. Are you sure the first one has no typos, missing spaces in it and you copied it exactly? Have you changed any global settings?

2. JIG is row-based and has no columns or “x images per row” setting. Your best bet at shrinking what you see on desktop is using the “disable cropping” setting.

Hey, I recently changed domain names. my old domain name used to be www.edge-works.ca and now it’s mtlgraphicdesign.com

Can you please reset it? Thanks

Done.

No problem.

Hi, I have a problem with TimThumb. See photo.

http://up.picr.de/22728152vo.jpg

What can I do?

Thanks for help.

Please send me a link to a page where you’ve a JIG gallery on. I assume you found out about the problem by trying to create a gallery.

Hi, the thumbnail wishes to get generated but some errors mess up the output. This should be a thumbnail: http://neymar.bplaced.net/wordpress/wp-content/plugins/justified-image-grid/timthumb.php?src=http%3A%2F%2Fneymar.bplaced.net%2Fwordpress%2Fwp-content%2Fuploads%2F2013%2F12%2F2.jpg&h=230&w=230&q=90&f=.jpg the random letters below the errors are the thumbnail just shown as text. The error that says:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/users/neymar/www/wordpress/wp-content/plugins/justified-image-grid/timthumb.php/http://neymar.bplaced.net/wordpress/wp-content/uploads/2013/12/2.jpg) is not within the allowed path(s): (/users/neymar/www:/users/_temp/neymar) in /users/neymar/www/wordpress/wp-content/plugins/justified-image-grid/timthumb.php on line 981

doesn’t make any sense because JIG passes the image path as a query string GET variable and not like the error says it so. Anyway, if you contact your hosting about open_basedir restriction, they should be able to help.

hi there just want to ad an album but get this message “Justified Image Grid: The Facebook content cannot be displayed, the error from Facebook: Generic Facebook error.”

got my page up anything can do to trouble shoot?

Yes please contact me from my profile with temporary wp-admin.

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