On Mon, 2016-12-19 at 21:01 +0000, Roger L. Cauvin roger@xxxxxxxxxx
wrote:
> Isn't CSS designed (and better suited) to deal with this sort of
> challenge?
The final generated page uses CSS for styling but the question is about
generating the pages on the server.B
By the way - on http://www.fromoldbooks.org/B I hardwire the image size
into the filename, which has its own problems. So these days I pre-
generate an XML file containing the sizes of all my images, and include
it in my BaseX database that in particular drives the search interface.
I wrote, years ago, a short Perl script that makes that file.
Liam
|