Code

Discussion on ModuloBox - NextGen Lightbox JavaScript Plugin

Discussion on ModuloBox - NextGen Lightbox JavaScript Plugin

Cart 413 sales

Theme-one does not currently provide support for this item.

52 comments found.

Hello, I have had incompatibility with the latest jquery image plugins I downloaded. Does your script solve problems with incompatibility? The intention is to use only it for opening media.

Hello,

Sorry, but I’m not sure to undersatnd your question. ModuloBox does not use jQuery library.

Could you please open a ticket on the support forum for any issue or question. You can renew your support period directly on this product page. Thank you.

Themeone

​Hello.

We have a website where we use Turbolinks to handle navigation (similar to an SPA). When we navigate to a new page, we destroy the old Mobx instance and re-initialize it to moblixify the new image galleries.

We found issues that prevent the gallery from working properly because the event handlers from the previous instance aren’t removed. After debugging this for a while, the fix is fairly simple, all we need to do is to reset the `utils.event_handlers` in the `destroy()` method.

After line 6300 (​delete this.GUID;)​, simply add: ​utils.event_handlers = {};​ Also, is there any plan to add back button to close support (using the browser’s history API)?

Hello,

You should not destroy the instance but simply call the method getGalleries() when appending new content in your page.

Could you please open a ticket on the support forum for any issue or question. You can renew your support period directly on this product page. Thank you.

Themeone

That is not the case. The gallery DOM is completely removed when navigating between pages (the whole is replaced via ajax). We need to destroy the gallery so we can free up memory and prevent memory leaks and re-initialize it, so Mobx can create the new DOM elements for the current page.

You don’t need to destroy the instance. You never need to do a such thing in fact with ModuloBox. The method getGalleries() will automatically fetch new content added in your page. It will cleanup all galleries data and will never create memory issue. That’s the whole point of this method.

Could you please open a ticket on the support forum for any issue or question. You can renew your support period directly on this product page. Thank you.

Themeone

It would be easier and more convenient for users to use the gallery on a mobile phone if the controls (zoom, play, fullScreen, download, close, …) would be positioned centered at the bottom in my opinion. An interesting article is this one: https://www.smashingmagazine.com/2019/08/bottom-navigation-pattern-mobile-web-pages/

Hello,

Bottom area is reserved to thumbnails as usual for a lightbox. And controls (which is not a navigation menu) are reserved to top as it always should be for a lightbox. It will not change. Thank you for your understanding.

Themeone

Will there be webp support?

Hello,

If you specify the media type (data-type attribute), then it supports any image format: https://theme-one.com/modulobox/javascript-api/#setup.

Could you please open a ticket on the support forum for any issue or question. You can renew your support period directly on this product page. Thank you.

Themeone

is it possible to disable DEEPLINKING ?

Hello,

Yes, you can disable the browser history: https://theme-one.com/modulobox/javascript-api/#history

Themeone

Hi Themeone,

Fabulous job with this plugin. I have already bought “the grid” plugin and its been great so far. I would like to purchase an extended license of your Modulo Box jquery plugin and include it in one of the themes I am building currently. Can I do so ?

Thanks, Swami

Hello,

Thank you. Yes, you can include ModuloBox in your theme with an extended license. For information, this is not a jQuery script but it’s written in plain JavaScript.

Themeone

My support ends but i can extend the support as you stated. ​don’t see the documentation for opening facebook video in lightbox. YT and Vimeo works but do you have a working example for FB

is ok, i found a workround. thks

Hello,

Could you please open a ticket on the support forum for any issue or question. You can renew your support period directly on this product page. Thank you.

Themeone

Hi, we would need to add some new functions (extra buttons with their own windows to display over the gallery). Is this easy to do in a logical way (ie. some other products support modular plugins rather than hacking away at the code)

Hello,

Yes, the zoom feature can be enbaled or disabled like all other features present in the toolbar.

Themeone

Yes I understand the button can be removed. But how about pinch-to-zoom?

It’s not in the documentation as far as I can see, which means it’s either not possible, or undocumented. I can’t proceed until I can see that it’s a supported feature.

Hello,

As mentioned in my previous replies, you can disable any functionality and/or any button in the toolbar. So, yes, you can disable the pinch to zoom functionality.

Themeone

Can I use ModuloBox to develop a plugin for a different open source CMS? If so, will I need to purchase an individual (extended?) license every time I sell a website based on that CMS?

Hello,

Unfortunately, I do not authorize usage of ModuloBox to create a commercial plugins for CMS or other kind of products. Thank you for your understanding.

Themeone

Hi! Your Lightbox looks great. Before I buy your plugin I’ve one questions: Are there any example files included in the download. Just to get a fast start up …

Hello,

The live demo of ModuloBox comes with the plugin as example.

Themeone

Hello, I’m considering buying the JavaScript Plugin and I’m curious whether it supports themes. I need a white background with opacity (and all texts and icons to be in black), but I can’t see in the API such kind of design settings. Maybe I’m supposed to change directly your CSS and SVG icons?

Hello,

Modulo Box comes with .js/.css/.svg files to customize it. Plugins sold under code section on CodeCanyon requires knowledge in development in order to use it.

Themeone

Hey guys, this plugin looks great. I just wanted to make sure if I’m linking to a series of iframes that I will be able to use the previous next buttons. Would I just need to use the data-rel tag in the links to achieve this?

Hello,

Yes, you can add several iframe in the same lightbox gallery and navigate with prev/next button. For information, when using iframes it can degrade the scrolling performance of the lightbox depending of the iframe content.

Themeone

Hi Is there a trial option for the java version or is it only WP? Thank you

Hello,

There isn’t any free version of the JavaScript. But you will find a demo showing all possibilities here: https://theme-one.com/modulobox/. And you will find the API document here: https://theme-one.com/modulobox/javascript-api/

Themeone

Thank you for the prompt answer, I want to feed the gallery from a dynamic page would it be possible? Do you offer refund if I won’t be able to integrate your gallery to my website? Thank you

Hello,

I’m not sure to fully understand what you mean by dynamic page.
But, like any scripts, ModuloBox has methods that can be called at any time to refresh the lightbox galleries, to open/close, to navigate, etc… These methods will work whatever your website and it does not depend of how your website works. It’s your website that should use these methods depending of how you have built it.

Themeone

Hi there 2 questions: 1) Is there a way to group elements by class on a page to make a playlist of lightbox youtube videos? , 2) Does this allow for automatic playing of video gallery? – The idea is I have multiple text buttons to launch various videos on a single page, the way I group them is by using a class that calls the current lightbox, but current lightbox does not autoplay videos on the same page. Thanks

Hello,

1) It’s possible to setupa lightbox gallery thanks to class name and a “data-rel” attribute: https://theme-one.com/modulobox/javascript-api/#setup

2) ModuloBox can only autoplay video on opening. It will not autoplay video when navigating through the lightbox.

Themeone

this lightbox, work with onload method???

Hello,

You can use ModuloBox JavaScript API to programmatically open the lightbox.

Themeone

OK… can you helpe with an example of youtube lightbox on body load?? and i will buy the script, promise

Hello,

Could you please open a ticket on the support forum for any issue or question. Thank you.

Themeone

Hi, nice plugin! where can I get the fonts that’s used in this plugin? Kind regards

Hello,

The font are available in the demo that you can download on CodeCanyon. Could you please open a ticket on the support forum for any issue or question. Thank you.

Themeone

Hi! I only want to buy the code for the header logo (the animated and interactive M-logo). Would this be possible?

Yes I will recreate it, our brand is different. But my question is, does the logo and the code for that exact logo come with the purchase? Only if it looks like that with the cube and the M (like in the demo), I will be able to understand how to modify the different elements :)

Hello,

The code is present in the plugin, however I can’t provide support about it. And you can’t copy the logo itself because it’s copyrighted.

Themeone

I understand. I only want to use the mechanics (interactive object inside a gradient element)

Hello Theme-one. 3D hero works with 2D photo or only 3d ?tks!

Hello,

Sorry, but I don’t understand what you mean. Are you talking about ModuloBox? Thank you.

Themeone

Hello, thanks for reply, sorry my bad, other product…. I liked very much module box, I will purchase so soon.great…

This looks fantastic, great work. Is there a way to make the modal galleries filterable? I.e., categorizing images – if not, can a filter be added? Or is a filter included? Can you include a filter before purchase?

Hello,

ModuloBox is a lightbox plugin. Content displayed in the lightbox is not a gallery but a special implementation for the lightbox. You simply can’t filter the lightbox, this is not the aim of ModuloBox. Thank you for your understanding.

Themeone

can we use developer license in TF themes?

Hello,

Could you please send me a PM from my user profile? Thank you. It exists a version for WordPress. Here it’s the JavaScript version.

Themeone

no, I need javascript version for my gallery functions. I will send you PM

Ok. Just for information, the WordPress version uses exactly the same script as the JavaScript version and it includes an admin interface. So, ModuloBox JavaScript API also works with the WordPress version.

Themeone

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