You are here: Re: <img width > in apache « All PHP « IT news, forums, messages
Re: <img width > in apache

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация