Help - Search - Member List - Calendar
Full Version: <img width > in apache
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Zbigniew Lisiecki
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
ps: how could one shrink *jpg images in batch
--
http://zbyszek.evot.org

Stefan Rybacki
Zbigniew Lisiecki wrote:
QUOTE
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.

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

depends on several factors like server, memory etc.

QUOTE
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

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



PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.