castlecode

castlecode supports this item

Supported

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

631 comments found.

I have researched for days. Your code is by far the best in my opinion for so many reasons. But like many others, I am waiting for a wordpress version. From what I could find, you were close to a release. Any expected release planned?

Hi there,
Unfortunately I don’t have a release date yet, but I’m hopping that starting this new year I can get more time to finish it ;)
I hope it doesn’t take long

Best, David

Hi. I want to use the gallery to upload close to 15,000 images. One key requirement is for the user to search the images (by name, tag, etc) from front end. Does this plugin provide such functionality?

Hello,
it is possible, but remember that you will have the 15,000 URL of those images in the page, and the images (the files) will load in sets

Best :)

sazhagu

sazhagu Purchased

Hello – I am looking to implement pagination using your plugin . Basically I have made the page load only 20 boxes at a time and turned Lazyload to false. Let’s say I have 200 boxes in total and I want to show first 20 and then when the user clicks “Next” show the next 20 and so on. Is there a way I can clear the first 20 from the page and then show the next 20, so on so forth. In your example http://www.castlecodeweb.com/mediaboxes/example/add_boxes.html you have shown how to add boxes only, not to clear or delete existing boxes from the page.Thanks

Hello,
if you wish to remove the plugin and then create it again, use the following:

Remove the grid:

// Remove the grid
$('#grid').isotopeMB('destroy');
$('#grid').remove(); 
$('.media-boxes-load-more-button').remove();

and then create a new grid, with the new data (the new boxes)
// New grid
var grid = $('<div id="grid" />');
grid.html(data);
grid.appendTo($('.grid-container')); // add grid to DOM
grid.mediaBoxes(); // Init Media Boxes
the ”.grid-container” is an example of a div container, you can append it to where ever you want

I hope it makes sense ;)
Best, David
sazhagu

sazhagu Purchased

Thanks David…I will give this a try

great :D

jvarner

jvarner Purchased

David, Does Media Boxes includes templates such as your examples of the product? Thanks

Hi there,
the media boxes plugin comes with the template and all the examples you see in the live preview ;), just remember that this is a non-WP plugin
Best, David

Agusha3

Agusha3 Purchased

Hi i would like to buy your plugin, but i have one question. Can i use this plugin on the few wp sites?

Agusha3

Agusha3 Purchased

Thanks for answer. I was bought yours plugin and i want to use 2 different gallery on one page, how to do this idea correct? If I use only one gallery, all works fine, but if I make the copy working gallery the second gallery did not work

Agusha3

Agusha3 Purchased

Ooops) I found answer)

I’m glad you found the answer :D

ikjosh

ikjosh Purchased

Is it possible to display the content not necessarily in a grid format (3 column rows) but in a list format – 1 item per row?

yes you can, you only need to pass this 2 options in the JS initialization:
columns: 1,
resolutions: [],
I hope it makes sense ;)
simplex1

simplex1 Purchased

Hello We load new images with ajax when user reaches bottom of the page and add them to the grid. We don’t use any sorting or searching. we just use this plugin as kind of an infinite gallery. What steps could we take to increase performance? Are there things active (for searching or filtering), that could be deactivated in order to increase performance? We don’t mind playing with the code a bit for this. Or maybe remove / destroy images at the top in order to keep the size down? What steps could we take to increase performance? (We already use ratio and small images). Thank you very much!

Hi there,
well other than using thumbnails (which you already got) there are not much other settings for performance, you can disable the filtering like this:

filterContainer: '',
search: '',
sortContainer: '',
but I’m not sure if that will improve somehow the performance.

About destroying/hiding the images above (that are not in the viewport) I haven’t dig into that, but I will check what options exist out there to do something like that

Best, David
joompiter

joompiter Purchased

Hello David,

I have implemented a view containing some events with mediaboxes. It makes use of sorting, filtering and searching. I am loading 20 out of >500 items (see http://integration.esb-alumni.de.128-127-71-240.x-mind.kundencloudserver.de/index.php/en/?option=com_joompiter_esbalumni&view=events&tmpl=component)

Using “view-source:” one can see that all items are loaded at start time but of course not not shown. Without start to scroll, filtering, searching and sorting seem to apply only on the 20 items to be shown at the beginning. Is there a trick to be able to apply filtering, searching and sorting on all item without scrolling?

Furthermore, from time to time, when I use filtering and e.g. a single item is a result, the item is not shown unless you click on “load more”. How can I trigger load more in this case by invoking it directly?

Thanks in advance and best regards, Stefan

Hi Stefan,
I’m glad to solved your first issue :D

About the second one, currently the sorting is being applied to all the boxes (even the not loaded ones) that’s why when a new set of boxes gets loaded the plugin orders this new set among the grid (the old set).

But I think you mean that it should hide and load the boxes taking in consideration the new order specified, so if you have 40 boxes loaded and click “by city descending” it should load 40 boxes with the new order and hide the ones that don’t fit in the new order within the 40 boxes.
If this is the case I’m afraid the plugin doesn’t have this feature, I will dig into this in order to consider it as a future update, but since I’m using the default “ordering” logic from Isotope I’m not sure if this will be possible.

Best, David

Hello David,

is there a possibility to figure out if all boxes are loaded? A possible workaround would be to control theSQL query and reload the page if not all boxes are loaded yet. Therefore the clicked callbacks may be enhanced.

Hi there,
you mean check if all boxes are loaded when you click on a sorting option? if so you can do it with this JS check:

$('#sort').on('click', 'li>a', function(){
    if($('.media-boxes-load-more-button').hasClass('media-boxes-no-more-entries')){
        alert('NOTHING TO LOAD');
    }else{
        alert('THERE ARE SOME BOXES LEFT TO LOAD');
    }
})
Hopefully it makes sense ;)

This comment is currently being reviewed.

This comment is currently being reviewed.

This comment is currently being reviewed.

This comment is currently being reviewed.

How can we add a title and description to the popup used to display full images? I’ve looked through documentation but can’t see an answer, must be missing it somewhere.

Hi there,
You can specify some description/title next to the URL of the image for the “popup image”, like this:

<i class="fa fa-plus mb-open-popup" data-src="gallery/img-14.jpg" data-title="Dolor sit amet"></i>
this is used in this example: http://www.castlecodeweb.com/mediaboxes/example/blog_posts.html#

I hope it makes sense :D
by
by
by
by
by
by