Output Buffer on Images being loaded into a page

Permalink
I would like to run an output buffer on the output->thumbnail or on a block so that the page does not hang when I click the Gallery link, (whilst processing the pages) currently you would have to visit a gallery once to load the images into the cache.

Then subsequent visits seem to load faster I am assuming it is the processing of the images that takes so long.

Can anyone advise on a better way to load a page and then display the images? or at least load a loading gif whilst the images load?

or a way I can pre cache the file sets/images when I create the gallery (currently done within the admin section)

TheRealSean
 
TheRealSean replied on at Permalink Reply
TheRealSean
Is it possible to create the cached version of an image on creation of the page/block? when done from within the dashboard.

I could then instead prevent my gallery from being delayed by creating the required fields on creation of the page and gallery block?

I am using the $html->outputThumbnail() but is there a way I could use the outputThumbnail() without using the $html helper?

This way I would not need to rely on the output buffer, although nice to have