![]() |
|
jcarousel with jcarousel_ajax.php for loading lots of images - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: jcarousel with jcarousel_ajax.php for loading lots of images (/thread-9406.html) |
jcarousel with jcarousel_ajax.php for loading lots of images - tunafish - 30-12-2011 I need an option to not preload all the jcarousel thumbnails as they will grow overtime. To my joy the ZP extension came with jcarousel_ajax.php But than when testing I notice the function btw Just another question, if I have modified this extension I should move it over to the 'plugin' folder instead of the 'zp-core/zp-extensions' folder right? jcarousel with jcarousel_ajax.php for loading lots of images - acrylian - 30-12-2011 I don't know or remember why the include_once is there at all. I think this file is not even needed as not used at all. Probably forgotten to be removed... The plugin itself uses already the script from the included example "dynamic_ajax.html" in the plugin main file. Which is of course not exactly what you need. To the other question: Yes, actually you should place custom versions of a plugin or custom plugins within the /plugins folder. But some plugins may need adjustments as the path to load their additional js files is different then. jCarousel uses jcarousel with jcarousel_ajax.php for loading lots of images - tunafish - 31-12-2011 Hi I think the include file is needed for the Thanks for the definition USER_PLUGIN_FOLDER tip! jcarousel with jcarousel_ajax.php for loading lots of images - acrylian - 31-12-2011 Yes, but I have no idea what file is meant to be included in it. Your change might make sense, so maybe after 1.4.2 is out it could be incorporated or made optional. jcarousel with jcarousel_ajax.php for loading lots of images - tunafish - 20-02-2012 I just wanted to report that I did some more testing and it seems the thumbnails are only downloaded when using the arrow buttons. So progressively on user request. But the mycarousel_itemList JSON is still writen in the HTML output. This will definitely affect the load time of the page using an album with lots of images.. jcarousel with jcarousel_ajax.php for loading lots of images - acrylian - 20-02-2012 So you actually wish the images to be removed if you move futher and they become invisible? Haven't looked at this for quite some time. You could open a ticket or if you have time to try to add that yourself that would be of help as well. jcarousel with jcarousel_ajax.php for loading lots of images - tunafish - 20-02-2012 Ok I will try it myself first. btw Now that I tried the Trac system.. I have some small requests, can I open tickets or do I post them here first? jcarousel with jcarousel_ajax.php for loading lots of images - acrylian - 20-02-2012 For minor things or questions probably a ticket is too much. We have several functions for encoding like html_encode() and even a js_encode() (which are wrappers of PHP standards naturally). Always look at the documentation if there isn't anything already there. |