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

Posted by CyberDog on 06/24/05 11:56

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 !!! ?
> Still if it's made by apache on server side how time-effective it
> is ?
> 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.
> best regards
> zbyszek

This atribute is client based, server has nothing to do with it, the
whole image is loaded and compressed by the clients browser when done.
(Buz I am no sure waht you have done or trying to do)

> ps: how could one shrink *jpg images in batch

On the server? GDlib, an extension for php. PHP does not have that
advanced picture manipulation.
http://www.boutell.com/gd/

 

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

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