Hi
is it possible to add a button which can generate resized images for those images without resized image. Because it consume a lot of time to generate resized images during viewing when I upload hundreds of photos one time.
X3 Photo Gallery Support Forums
I don't see the logic. It won't go any faster to pre-create than to create-on-demand. And what exactly do you mean "consume a lot of time"? That would be if you insist on visiting all galleries to create the resized images. Why not let that be handled "on demand" by ANY visitor as your pages get requested? The resizing will get spread out. Besides, "resized images" may exist in 6-7 variations, but it depends on your layout and the devices that load the gallery. Different screen sizes and pixel densities may request different resized versions ... it doesn't make sense to pre-create ALL resized versions of an image, because it will create files that might never get requested, and will be slow and consume too much space on your server.cinte wrote:is it possible to add a button which can generate resized images for those images without resized image. Because it consume a lot of time to generate resized images during viewing when I upload hundreds of photos one time.
It won't be faster though. Once those images are created ONCE (by you or the other first visitor to the page), the images will be cached. The advantage of having them created on-demand:cinte wrote:I have a relatively poor CPU on my server, and when I browse one of my own albums with about 100 images, I find that a lot of CPU resources are used to generate thumbnails, which slows down the server response and takes longer to generate many thumbnails at the same time than if the images were presented directly.