5 comments found.
test
Hi. This is an amazing product. I integrate it in my projects as a gallery component with pagination. Everything works great expect the memory consumption. After each page load (55 SVG images) the browser memory increase by approx. 70MB until 4GB and then crash. Can you please investigate and fix the problem. I can send you more information if required.
Hi and thank you for the feedback!
While building the plugin I saw a browser memory issue with a large amount of images but couldn’t find an acceptable solution. The problem is that it will require interaction with the browser cache to solve it. But this would cause other issues, including browser security issues, and I decided that such code could not be part of a gallery plugin.
My guess is that in your particular case the pagination is happening without reloading the page and that’s causing the problem. If so, you’ll need code that clears the browser cache before loading a new gallery page.
You can send me a link to your project via the contact form and I’ll take a look https://codecanyon.net/user/hardcodeparty
Maybe we can find a solution in your specific case
Hi, Could you find some solutions regarding memory issue? I still have a problem with it and so i can’t use your product. Please contact me so we could find a way to fix it. Thanks
Hi, as i mentioned above, the problem is that at some point the browser just can’t handle such amount of data and you will face this problem no matter which gallery you will use. Indeed, even if you try to just load 4GB of images using plain HTML, the browser will crash. Again, the best I can suggest for your specific project is to reload the page during the pagination process. If I’m not mistaken, you already have pagination, but it doesn’t reload the page
Hi, thanks for your reply. I’m a c# developer and have tried to find the memory leak with my modest javascript knowledge. I found that adding the following line at position 3671: item.preview = null; strongly improves the memory consumption issue. I’m not loading 4GB of images only 50 SVG images per page who are in total less then 5MB. I would really like to discuss the problem with you, so we could find a solution. Your product is amazing and i really want to use it for my project. I’m also willing to pay for your support to analyse and try to slove the memory issue. How can we get in touch together?
ok, let’s do that. I can’t guarantee quick responses cause i’m in the army now, but i’ll do my best to help you. First of all, let’s take a look at your project – mail me through the contact form. If you have some sort of test page, I would like to see your code
Perfect, thank you. I will prepare the test site and send you the link via the contact form.
Ok, I`ll take a look
Hi. Just bought the plugin but I can’t install it. When I go to install plugin I get this message: Installing the plugin… The package could not be installed. No valid plugins were found. Plugin installation failed. Could you please advice how should I manage this error? Thanks in advance
I realized what the problem is. I bought by mistake the Diamond Grid – Image Gallery Plugin in JavaScript / Images and Media version. The one I need is the carousel in wordpress. Is there a way to change my license? Thanks
I’ve accepted your refund request
Thank you very much. I have already purchased the wordpress version and I’m liking it very much. Thanks once again.
Hi there. I’m wondering if buying one license allows me to install the plugin in a dummy website which I use to try things out and make sure it doesn’t interfere with the templates and other plugins I have in the “real” site. Can I do that. Obviously I will be more than happy to deactivate in the dummy site. Thanks in advance
Hi!
According to the codecanyon license FAQ, I believe you can do this. https://codecanyon.net/licenses/faq
But it might be better to contact the envato help center just to be sure
Hi,
I don’t see license option to purchase this where I can charge my end users. Is this allowed?
I would like to create a shopify app that allows this functionality to showcase images and products on a shopify store owners page when they add the shopify app integration. Please let me know what license is required for this.
Hi!
In your case, an extended license is required. It usually costs 5-8 times more than a regular license.
I haven’t really considered offering extended licenses. I will set this option right now so you can purchase if you are ok with the offer
I will be allowed to list the shopfy app as a public app for sales on the shopify app market and charge the shopify website owners for the use of my app that integrates your component as a gallery?
Is there limitations on how I can use the extended license? Is the source code provided?
Unfortunately I don’t really know what rules are on the Shopify app market. But sounds like it should be fine. You can read more about envato extended license here https://codecanyon.net/licenses/standard
Is there a way to customize it so it works with Ajax calls to fetch paginated images? So we can have 1000+ images dynamically added as we scroll? and removed from the top to clear up memory? If this is not possible in current version, can it be implemented? What is the effort involved you think? I will purchase regular licncense to play with it a bit for development. Will purchase Extended once I can accomplish what I’m thinking to use it for. Thanks for the quick replies!
You can use the “gridItemAdd“ method and the “grid_items_loaded” event to load images via Ajax. No much customization needed to load images as data objects if you need to.
The plugin already uses lazy-loading by default. So you can have 1000+ images in a grid but only the currently visible will be loaded. This is made specifically for those cases where you have a large number of images and don’t need to download them all at once.
I’m not sure about removing images from the top to clear memory. The plugin has a “gridItemRemove” method to achieve this, but since the grid itself is drawn on the canvas, things get a bit more complicated.
I can only tell that I’ve tested it with approximately 200 images maximum and didn’t noticed any memory issues.
Great! Thanks for the quick reply appreciate the clarifications on things.