<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I have a project that outputs one particularly large HTML page (250k
+), which is being generated in an average 0.4 seconds but takes 10-12
seconds under moderate server load to display.&nbsp; To compound the
"download speed" issue, there are dozens of small images (logos) that
must download first before the page renders in the browser.&nbsp; So, the
visitor ends up staring at a blank screen for quite some time!<br>
<br>
I'm dealing with the hosting company to see if they can install an
output compression library to cut that download speed considerably, but
I'm also looking for a way to read and automatically include the width
and height of the logos and other images in the IMG tags, to display
the text of the page to the visitor sooner.<br>
<br>
I believe there was a discussion some time ago about automatically
generating the image height/width, and some of the considerations
(availability of image processing libraries, overriding the default
size with wikistyles, etc.) would be resolved by making it a recipe.&nbsp;
All of the images are either .JPG or .GIF, and are located in the
default /uploads directory.<br>
<br>
<ul>
  <li>Original discussion from PmWiki mailing list:
<a class="moz-txt-link-freetext" href="http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/36550/focus=36554">http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/36550/focus=36554</a></li>
  <li>PHP function using getimagesize() referenced in the 2006
discussion: <a class="moz-txt-link-freetext" href="http://www.wischik.com/lu/programmer/get-image-size.html">http://www.wischik.com/lu/programmer/get-image-size.html</a></li>
  <li>Another discussion about capturing image properties in PHP:
<a class="moz-txt-link-freetext" href="http://www.webmasterworld.com/php/3060722.htm">http://www.webmasterworld.com/php/3060722.htm</a></li>
</ul>
<br>
Any advice on how to proceed, or if someone is willing to take the
project on, please let me know.&nbsp; If someone is willing to write a quick
recipe, there would be a small payment available either to the
developer or to the PmWiki project at your discretion.<br>
<br>
Regards,<br>
<br>
Russ Jackman<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
</pre>
</body>
</html>