Posted by Oli Filth on 06/24/05 12:41
Zbigniew Lisiecki said the following on 24/06/2005 09:46:
> Hi,
> to show a big picture on a web page i divided it into pieces
> and put them together in a table:
>
> <table>
> <tr>
> <td>
> <a href="part1.jpg">
> <img src="part1.jpg" width="150">
> </a>
>
> to load a chosen part in original size one has to click on it.
> Yet loading of a whole table is still very slow.
Why do you expect it to be significantly faster? You're still
transferring the same amount of info...
> Does the width transformation occur on a client side !!! ?
Yes
> ps: how could one shrink *jpg images in batch
In PHP, the same way you shrink one JPG image (based around
imagecopyresampled()), except with a loop that reads through each file
in a given directory (based around readdir()).
Most professional graphics application sallow you to perform batch
operations with a macro. e.g. Photoshop has a "droplet" facility, which
creates macro executables which you can drag-and-drop batches of image
files onto.
--
Oli
[Back to original message]
|