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

Posted by Stefan Rybacki on 06/24/05 14:54

Zbigniew Lisiecki wrote:
> 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. Does the width
> transformation occur on a client side !!! ?

Yes its client side.

> Still if it's made by apache on server side how time-effective it
> is ?

depends on several factors like server, memory etc.

> Surely it's better to prepare part[1-n].jpg as part[1-n].smaller.jpg
> in smaller sizes, but i have a lot pictures, so I am looking for an
> effective automatism. Could somebody help me, please.

you could use PHP as long as the graphics library is installed or if you
are able to execute and install other applications to your server have
a look at imagemagick.

Stefan

> best regards
> zbyszek
> ps: how could one shrink *jpg images in batch
imagemagick is a good start

 

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

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