Code

Discussion on Auto Grid Responsive Gallery

Discussion on Auto Grid Responsive Gallery

Cart 2,005 sales

castleplugins supports this item

Supported

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

515 comments found.

I love your script and just repurchased support. Here is my question. I can boxesToLoadStart at 10 and I can minBoxesPerFilter at: 5, No problem

However, let’s say i have 60 categories. As soon as I clear the search it goes to display 60. Is there anyway to load 60 but always display 10, Filter at 5 and when I clear search go back to 10. Thank you.

Vidderman

I left the message on another product you offer 6 days ago and realized I should be asking this question here. Any help with this would be appreciated. You prior referenced minBoxesPerFilter but that only works during filter and boxesToLoadStart only works on load. As soon as the filter is clear all items display.

Hi Vidderman,

Thanks for your support.

What you’re seeing is the expected behavior of MediaBoxes. When the search is cleared, the plugin resets and displays all available items, rather than returning to the initial boxesToLoadStart value.

Currently, there isn’t an option to keep all items loaded while limiting the display back to a fixed number (such as 10) after clearing the search.

boxesToLoadStart only applies to the initial load and is not reapplied after filtering or search reset.

Best regards,
David

Thanks, I have an idea for a workaround and will use that because all the other aspects of the script are ideal.

Is it possible to play an mp3 file when viewing an image (using fancybox)? If so where would I be able to get some help on how to do it? I purchased the app in 2020, would it be beneficial to update to the latest revision? Thank You

Thanks for your message.

Playing a local MP3 file directly when viewing an image in Fancybox is not supported out of the box. However, it is possible if you use an iframe-based audio service such as SoundCloud or YouTube.

In that case, you would simply place the SoundCloud or YouTube embed URL in the gallery’s config.txt file for the corresponding image, and the plugin will open it in Fancybox as an iframe.

You can find the documentation for this feature here: https://www.castlecodeweb.com/autogrid/documentation/#conffile

I think the version you have should support this feature

Hey mate, may i ask how easy to have a download button for the photos? We need this feature badly and hope that we dont have to spend time customising it. Thank you!

Hello,
yes, it is possible, just open the autoGrid.js file and find this:

buttons : [ // What buttons should appear in the top right corner.
    'slideShow',
    'fullScreen',
    'thumbs',
    'close',
],
then add the download button there like this:
buttons : [ // What buttons should appear in the top right corner.
    'slideShow',
    'fullScreen',
    'thumbs',
    'close',
    'download',
],
that should do the trick

Best, David

Hi Purchase code: ########################## Purchased: Auto Grid Responsive Gallery

I would like to know how to translate the bord “All” on the buttons to select the photos. As the other buttons have the name of the directory but this one is named “All” by default.

BTW, is it possible to remove it ?

Thanks, Christian

Hi Christian,

1) You can translate the All word in the JS settings of the plugin, like this:

filterAllWord      : 'Toute',


2) Also you can remove the “All” option, like this:
filterAll               : false,
filterAllWord      : 'Toute',
filterDefault       : 'Category 1',

I hope this makes sense :)

Hi! Just purchased it a few days ago, and I admit you have done a very good job with this tool. I came to you to ask for help, everything is going well, but I need a small change, when I click and open a photo I have a transparent background around the photo. I need to be black so the entire screen shows only the photo, not other elements. Can you help me, please? Thanks

Hello,
Yes, it is possible, try using this JS options:

$('#grid').autoGrid({
    grid : {
        fancybox : {
            transitionEffect : 'slide',
            animationEffect: false,
        }
    }
}); 
Best, David

Man, thank you so much! Everything is good. Nice support.

Awesome :D happy to hear that

Hello, I purchased and Uploaded to

https://bluejelly.in/gallery2/ https://bluejelly.in/gallery2/full_width_gallery.php https://bluejelly.in/gallery2/gallery.php May I know why these things are not working. Why cant you give a functional Code? Good if you can give functional code with example loading, lateer we can change to our images.

Hello,
Your website is not finding the .js and .css files of the plugin, as you can see here: https://imgur.com/a/baZKeSE

Try fixing the path of the files or just copy&paste the “plugin” folder in this location: https://bluejelly.in/plugin

Let me know how it goes :)

Hi, Does your script support also self-hosted video files within the same folder as images?

Hello,
Unfortunately no, it would require some customizations

Best Regards

Great product! I have been using it for a while now for multiple clients. Is there a configuration where i can include extra image on popup? For example, they click thumbnail but it will have two images for that thumbnail.

Hello,
Thank you :)

Unfortunately the plugin doesn’t have this feature, it would be interesting though

Best Regards

Hi, I purchased the Auto Grid and never got to use it yet. I want to know if I can place .mp4 videos( local hosting, not youtube or vimeo) and the script will show them the same as jpgs. If it does not, is there another plugin that can do that? Thank you.

Hello,

At the moment the plugin is not working with video-files automatically, you would need to place a thumbnail/image and then set the link for the video (either a mp4 file url or a youtube file)

I hope this makes sense :)

Best, David

Hi, how can I generate a sitemap for google? my sitemap generator doesn’t work with your script!

Thanks Michael

f682a117-4f4a-4ed2-93ab-ad6966d8192f

Hello Michael,
I just tried here: https://www.xml-sitemaps.com/ and it seems to be working

Best, David

Is it possible to customize the images to be displayed downwards?

on the right side put for comments?

send image

the images show and stay active always

https://prnt.sc/gFktOwekWXE5

Hello,
Unfortunately the popup/lightbox don’t support that layout

Best :)

Hi there, Is there a way to show the grid elements randomly, not like in the Config file?

Regards, Nikos

Hi Nikos,
Yes, there’s a JS option named thumbnailsOrder, you can use it like this (as part of the other JS options):

thumbnailsOrder : 'random'
by default is set ‘byName’

Let me know if this makes sense :)

Best, David

Not all images from a folder are displayed. So I have 6 pictures in a folder, only 4 of them are displayed. I use the Portfolio view.

Hello,
Can you show me a living example online? So I can take a look and see what’s going on

You can contact me privately via email here: https://codecanyon.net/user/castleplugins#contact

Best, David

Hi, I know my support for this item has expired, but before I pay for a new period of support I would like to know if you can solve my problem.

I appears that my pictures are not shown on a mobile phone and (rather odd) on a screen with resolution 800×600. To test this I use the developers setting ‘Enter Responsive Design Mode’ on Safari (MacOS) which shows several screen resolutions of various devices, including mobile phones. I tried many, many settings in the ‘resolution’ option of your plugin, but none has any affect. Only the iPads and bigger resolution screens do show my pictures. (I did also try your example from the documentation, but also no effect!) I really hope you can help me out!

Best regards, Sjoerd W Bijleveld

1772886f-ceee-492a-b104-cacd3e723745 – 28 Nov 2019

Hi, The problem has been solved! I found out that a certain script needed for my website to work with different screen sizes was gone missing. I added the necessary code and now all is well.

Hello,
I am glad you found the problem :D

Best,
David

Hello, thanks for your script. Listen I need to ask you a thing:

Following your instructions about the possibility to add a link to the pictures using config.txt I see that my galleries show some pictures and some of that can open a link.

My needs should be: script show galleries; clicking on one of them it will show the same image bigger as a popup; then If I do the second click it will open the landing link

Because in your way I never have occasion to see the image bigger before to decide if follow the link or not…

I hope to have been clear! Sorry for my english, I am italian. Thanks for you help, Giadina

Hello Giadina,
Unfortunately, the popup doesn’t have the feature to open a link. An alternative would be the one shown in the Portfolio example, where you have 2 links, one for the popup and another for the link, this one: https://imgur.com/a/NWoI9TR

I hope this helps :)

hi, i just bought this script. and as always, after that i discovered your auto albums script. is there any way to refund the purchase? or can you switch the two scripts? sorry for the inconvencience. all the best michael

Hello Michael,
Don’t worry, yes, it is possible, please send me a private message here: https://codecanyon.net/user/castleplugins#contact

Best, David

Hi Team, We would like to get some examples of using the Ordering of images ByDate and Bydatereverse. The one we are looking for is to have the images with the latest dates appear first. We need some examples on How to name the files in the galleries folder.

Hello,
1) When you use the byDate ordering option, the plugin uses the filemtime function from PHP in order to retrieve the date of your images, you can read about it here: https://www.php.net/manual/en/function.filemtime.php

2) You can also change the ordering option to byName, and then use some custom naming so you can fully control the ordering with some prefixes, for example like this: https://www.castlecodeweb.com/autogrid/documentation/#handystuff

I hope this makes sense :)

Best, David

Hi Team, Thanks for the update. For the byDate then we no need to consider naming the files. Its purely based on the date at which we upload the files to the gallery folder. Please confirm my understanding.

Hello,
It is not the upload date, it is the “file modification time”, as mentioned here: https://www.php.net/manual/en/function.filemtime.php

Best, David

Hi,

I’ve integrated this with Concrete5 CMS however I can’t get images to actually load.

The URL is located at https://www.sagorey.com/ga

I’m wondering if this is a directory issue on my end? I’m not sure. . .

Thank you for the screenshot, can you try with the following?
get_auto_grid_data(__DIR__.'/galleries/gallery', '', '/application/themes/gallery/galleries/gallery/');
Best, David

Success! Thank you!!!

Hi, I need your advice, I have 70 Folders with a total of around 14,000 Files. The files are all ”.jpg” and between 5 and 15 KB.

Should I split the galleries, let’s say, with each 20 folders?

What is your advice?

Regards, Uwe

Hi David, thanks for your reply, “Auto Photo Albums” looks nice. I guess even by using “Auto Photo Albums” I have to split some categories because some have more than 1000 or even 2000 images.

My workaround at the moment (use not more than 500 images per user selection) works so far. I will use it this way at the moment and look if visitors start to complain about the performance, which is not so bad. Loading a “big” category need about 2 seconds to load, scrolling through is ok too

Best, Uwe

Hi, finally, I purchased “Auto Photo Albums” as well. :) Work perfectly in my case. Thanks for your recommendation

Best, Uwe

Awesome :D! Happy to hear that.

Best, David

Will this script automatically select WebP format images?

Hello,
The plugin can work with webp images, is not active by default, but with the following small modification you can activate it:
Open the auto_grid.php file and find this:

$images_allowed             = array('jpeg', 'jpg', 'png', 'gif');
then replace it for this:
$images_allowed             = array('jpeg', 'jpg', 'png', 'gif', 'webp');
and that’s it :D



Best, David

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