Code

Discussion on MetroBox - Responsive LightBox

Discussion on MetroBox - Responsive LightBox

By
Cart 120 sales

SOHN supports this item

Supported

34 comments found.

Hello Sohn,

I just purchaced your great lightbox but i noticed that the example is writen in php, is there any chance to provide me an html one?

Thanks

Ok, you can email me to get a HTML demo.

Thanks Sohn, the html version is perfect. You should include it in your lightbox files for everyone else too :)

Thanks for your comment. I will include it in next update.

Once I change the contents of the mb-content.php file, if I click on a picture in a group one of two errors occur. When I change through the pictures in the light box the first image is duplicated. (If I click on the first picture in the group the sequence would be 1, 1, 2, 3, 4) I seem to have corrected that, but now if I click left from the first picture or right from the last picture, instead of jump to the end or beginning of the group again it displays an empty box and then the next click/swipe will go to the correct picture. Any ideas? Thank You

Hi,

Please email me all files you changed. I will check and fix it for you.

Kind regards

I figured it out. Just some wrong punctuation. Is there anything built-in to use arrow keys to fire the next or previous picture? Thanks!

Hi,

I will try to add functions to use arrow keys to move next/prev pics in the next update.

Kind regards

Does this support Vid.ly Videos?

Hi, I have never tested with Vid.ly but I think it’s should work well. To be sure you can send me an example video or shared/embed video link. I will test it for you.

Kind regards

Hi, Sohn. I just purchased Metrobox. It looks like the .js files shown in your documentation are different from the files shown in metrobox.php, and are different from the files in the download package. Can you clarify which .js file I should have and use?

Also, I use ColdFusion, not php. It seems like php files are hard-coded in the data-mbid attribute. Can I use a .cfm file to hold the dynamic content to be displayed, or is there some way to use ColdFusion with metrobox?

Thanks.

Hi,

js files mention in the documentation and the download package are the same source so you can use js files in the download package without problems.

About ColdFusion, I am sorry the plugin supports only for PHP language at this time.

Kind regards.

Will this support iframe, videos, images and text all together in one gallery? Mixing images with text and iframe side by side in a gallery can be cool.

Hi,

Basically, you can use and combine any HTML in the same gallery BUT when you mix many images, iframe, text … into the same slide you may need to customize HTML and CSS to fit the screen by yourself ( I will not support in this case ).

Kind regards.

SOHN has been incredible! He has went above and beyond to help me implement any code that I have purchased from him! You can’t go wrong by purchasing any items from him! Thank you for everything SOHN !

03 Oct 2012: A new version ( 1.1 ) is available.

Please rate it 5 stars if you like it.

Hi is it possible if I want to add other content beside the comment box? I’m thinking something like Pinterest modal where they show alot of picture meta.

Hi,

Sorry, the current version does not have a place to add other content.

Thanks for question.

Great Plugin!

Is it possible to insert a jquery plugin into the metrobox? (This plugin for example http://lab.smashup.it/flip/ )...

I have tried inserting it; however I have not been able to make it work….

Thanks for everything!

Hi dnizzle66,

Sorry, MetroBox does not support insert other plugins into it ( if you need more features you must edit source code or wait new updates ).

I will test the plugin you give and try to make it work with MetroBox ( not sure ).

Thanks.

Hi, Great script!!! I’ve been creating a responsive iframe and it works okay. This is way better I think. Please tell me why this is better than a responsive iframe—I really believe it is but want to hear it from you to be sure since I might not know the negatives of iframe that you know. Also, the user on the right. I’m not sure how to use it. I could place a logo top center or left if the arrows were split, but then there is the close X. Any suggestions? Also, the top bar include a simple menu, even better if responsive? Finally, where is the text content stored? cheers, J

Hi Jackola,

About iframe, I don’t know exactly what you do with iframe but I think you will meet problems when put an iframe in an iframe and this plugin you can put iframes with no problems ( you can see it in demo )

About logo, Current version of this plugin does not have a place for logo, but I think you can replace X button by your logo and when visitor want to close metrobox they will click on your logo or you can replace loading image by your logo. ( I will make an update has better solution for logo later, Thanks for your idea ).

About content/comments, You can store them in database. In demo I just use a static content but you can store in a database then you can use some code to connect database and load the content you want.

Thanks for questions.

Must I use the content package to load content into metrobox? I have a page which loads dynamic content, how can I just pull the content from the page and load it??

Yes, you need to follow the content structure to display content correctly.

To load dynamic content you can edit ‘content/mb-content.php’. After you get data from your database and store it in a variable ( ie: $content ). Then you can echo $content in content package.

Example: You can create a content package like this:
<div id="mb-content-1">

            <!-- MetroBox Content -->
            <div class="mb-content">

                <!-- This is dynamic content -->
                <?php echo $content; ?>

            </div><br />
            <!-- End MetroBox Content -->

</div>

When the plugin is called it will load and show data in $content on screen.

Hi,

I just bought this and i’m confused by the comments area. How are the comments supposed to get added by visitors and also how can I dis-able the comments?

Thanks

Hi,

The plugin ( current version ) does not have comment added feature, it’s just load comments and show in the box. You can create a form for visitors add comment in main page and store in your database. When visitors open “MetroBox” they can see all comments of the photos/videos ( you need some code to connect the database and get data ) ...

To disable the comment box you can use the param “mbCommentState:0” when call plugin.

Thank you for purchase.

a touch and swipe support would be great

Thanks for your ideas.

Very nice work!

Thanks.

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