Code

Discussion on Nice Gallery for WordPress

Discussion on Nice Gallery for WordPress

Cart 153 sales
CreativeTier

CreativeTier supports this item

Supported

41 comments found.

Hi, nice Plugin. Question: Can I change the permalink from /nice-gallery/ ind /hdpics/ ? Thank you! KR Frank

What do you mean by ”/nice-gallery/ind/hdpics/”? Can you give link an example?

I want to Change the permanent Link from /nice-gallery/ in my own structure. I wish to called it: /hd-pics/ Is it possible? Thank you! KR

You can use the WP “register_post_type_args” filter: https://developer.wordpress.org/reference/hooks/register_post_type_args/

Here is a snippet that would go in the child theme functions.php file:

function nice_gallery_change_slug( $args, $post_type ) {
    if ( $post_type === 'nice_gallery' ) {
        $args['rewrite']['slug'] = 'hd-pics';
    }

    return $args;
}

add_filter( 'register_post_type_args', 'nice_gallery_change_slug', 20, 2 );

After adding the code, make sure to clear the permalinks by going to the WP “Settings/Permalinks” page and saving.

Hello, I have just bought your plugin, but I have a question: how to change the thumbnail ratio to 16:9, and how to center the thumbnails at the bottom under the main image?

There are no options to change the thumbnail aspect ratio or to reposition them in the center. Any customizations will have to be done with CSS.

An upgrade is required. Photos are not exposed (no see) on mobile after WordPress update.

Can you give me a link to your page with the gallery?

It looks like you are using a lazy loading plugin that is affecting the gallery images. Can you exclude the gallery from the lazy loading?

hi bought this but not working (too bad as i like the gallery) i would like a refund

hi creativetier thanks for the reply. well got it to work after changing some settings. Now just wondering how i can align thumbs to left side as only possible on right side now. any plans on updating?

That can be done with a little CSS code. Can you give me a link to your page with the gallery so that I can test the CSS code within the page layout?

If you don’t want to post the link in a public place here, you can use the contact form on my profile page to send me an email.

Update: Using CSS to move the thumbs on the left side doesn’t quite work. They can be placed through the admin settings only on the right side or underneath the main image, like the preview templates show.

Hi there, how many sites can i apply this to?

You can use it on 1 site. To use it on another, you need to buy a second license.

As per the Envato licenses, you need 1 license for every site you use the plugin on.

You can find out more about the Envato licenses here: https://codecanyon.net/licenses/standard

Hello – couple of issues maybe you can help with please.

See https://www.dropbox.com/s/8xp0asli3hiw62m/Screenshot%202020-03-26%2009.52.54.png?dl=0

Im getting these hyphens appearing on the gallery for some reason. Also is there a way to change the size of the thumbnail images from square to rectangle?

Thanks

Can you send me a link to your site so that I can take a look over the page CSS code?

hi, we have the NiceGallery plug in installed on our Wordpress website and it seems to be causing some issues with the homepage (where the gallery is applied on the site). Could you perhaps advise to some troubleshooting suggestions? The issue is that when viewing the homepage it automatically jumps to the bottom where the NiceGallery is embedded. We don’t want it to do this as the navigation for the website is at the top of the page. thank you!

The purchase code can only be found in the Envato account that purchased the plugin: https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-

I’ve reached out to our web developer to request the info, will revert back to you once I receive it- thanks!

Ok, make sure to send it privately over email at and let me know his Envato account name as well.

A new update was released, version 1.3.1 is live:

  • Added a new option to the “Default open” setting from the “Other” metabox, called “Random”, to have the gallery open a random image by default.
  • Moved the JS source file from the “Sources/js” folder to the “public/js” folder of the plugin files, next to the minified version.

A new update was released, version 1.3.0 is live:

  • Made an improvement to the code so that when duplicating the site, the image URLs work well on the duplicated site.
  • Made an improvement to the code so that the gallery lightbox works well when a lazy loader plugin is used on the page.
  • “Scroll” metabox, changed the “Time” setting to “Scroll animate” so that it now supports an ease option as well, alongside the time.
  • Added new JS methods:
    • “scrollPage”: Scrolls the page to a certain position using the scroll animate settings.
    • “onPageScroll”: Adds a function to be called when the page scrolls.
    • “onPageAutoScrollFinish”: Adds a function to be called when the page automatic scroll finishes.
  • Fixed an error in the admin occurring in the recently released 5.2 version of WordPress.

Hello,

My site is themannhouse.com. This page is an example. https://themannhouse.com/sandy-springs-photo-tour/ I need the thumbs table to be centered below the image. I’ve tried multiple CSS options but just can’t find the right combination. Thanks for the help.

Right now, the gallery is wider than the images and they are being centered. From the admin, try to decrease the “Width” property.

Also, the thumbs “ul” element has a padding applied from the WP side. Reset it from CSS:

ul.ng-thumbs {
    padding: 0;
}

Wonderful plugin, exactly what I was looking for. Thanks a lot!

There is one thing that I would like to correct. Clicking on the image causes lightbox and scroll page up. Is it possible to disable scrolling up?

Ex.: http://admiral.digity.com.ua/hotel/spa-hotel/

I am looking into it now. A quick fix would be to go into the gallery CSS file, find ”.ng-no-scroll” and comment out the overflow applied, as so:

.ng-no-scroll {
    /* overflow: hidden !important; */
}

This was supposed to only disable the scrolling and hide the scollbar, not also scroll the page up. I am looking into why the scrolling to top is happening. But if you disable the overflow, everything should be fine.

A new update was implemented, version 1.2.0 is live:

  • Added a new setting to the “Lightbox” metabox called “On click” to be able to specify the behaviour when the lightbox is clicked, either close it or show the next image.
  • Added a new setting to the “Lightbox” metabox called “Device” to be able to specify the type of devices that the lightbox is enabled for: “All”, “Computer” or “Mobile”.
  • Added a new metabox called “Scroll” with the following settings:
    • “Scroll to image”: If the page should scroll to the image if it is not in view on the page when it is opened.
    • “Device”: The devices for which the page should scroll to the image: “All”, “Computer” or “Mobile”.
    • “Time”: The time (in ms) of the scrolling animation.
  • Fixed a bug that was causing the “Quick slide” effect not to be set properly.

Hi,

Is it possible to always show the description on the lightbox? Currently it’s only visible when hovering.

Cheers, Jaap

Yes, on the admin page, in the “Lightbox” metabox, there is the “Hide description” setting. By default is set to “Yes” but you can change it to “No”.

is it possible to remove the arrows and prevent the image to pop up?

Yes to both. You can set the “arrowsEnabled” and “lightboxEnabled” settings to false to disable the arrows and the lightbox.

Hi,

I’ve noticed an error when opening a lightbox gallery. For example: https://kettinghuls.a10.hosting/bolderburen-utrecht/

When clicking through the slides the surrounding background changes color. With me it’s blue or grey and with my customer green.

This happens in Safari only.

Can this be fixed please?

Another question. When clicking to the next slide you need to click on the next symbol. Is it possible to add the option to click anywhere on the right of the pic to go to the next slide?

Cheers, Jaap

Hi. The color error that you mentioned is weird, not sure why that would happen. I can’t replicate it on my end in Safari for Windows. Can you tell me which Safari version are you using?

Also, it would be helpful if you could send me a recording of this since I can’t see it on my end. Chrome has various plugins that can record the page, I am not sure about Safari, what plugins it has available. If you cannot record a video, it is no problem. I will try to research this problem and see what I can find.

Regarding the arrows, yes, I can add an option to enable a bigger hitbox that would activate the arrow when the side of the image is clicked.

A new update was implemented, version 1.1.1 is live:

  • Fixed an issue that was causing the lightbox image not to display properly on Bootstrap sites.

the shortcodes are not working. it worked before and after 30 minutes it just stop working.

https://www.yacht-rentals-dubai.com/yacht-rentals/lor-yacht-100ft/

Nice Gallery: The shortcode id was not found.

please help me

yes all is still same in wp admin. same id and gallery is still there. all of them are not working and i have 13 gallery

Can you give me temporary access to the WP admin so I can investigate this problem?

You can find the contact email in the guide, to send me a private message with the details.

what’s the maximum photo number in side thumbnail template? what happen i add more than 30 photos, does the thumbnail has pagination?

The thumbs will be displayed in big columns, there is no pagination.

For a lot of thumbs, I recommend that layout with the thumbs underneath.

Isn’t it compatible with the wordpress gallery? isn’t it possible to work in all the galleries I’ve already created?

What do you mean? WordPress doesn’t have a default gallery post type. This plugin creates that and you simply use the Media Library to add images to it and the admin page to add the text descriptions and change the various settings.

I thought this element made a lightbox on the galleries that were created. I bought it for this but it doesn’t happen in the galleries I created before.

It is not a lightbox, it is a normal page gallery, as shown in the preview.

Pre-Sales question: Can i use images from external sources ?? Google Photos, Flickr, or any other on-line Gallery ??

The gallery uses the WP Media Library to add the images, there is no option to add images from external URLs at this time.

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