I have an image intensive a4D web site that I did for my largest
client: http://portfolio.stave.com:8080/prints.a4d
I made the decision to keep all the images outside of the databse.
Each image has two sizes, both created with Fireworks in batch mode
them uploaded to the sever. About 40-50 new prints are now being
added each month. It takes very little time to create and upload the
images.
The images are named based on the Print ID number ( 1st four
characters) so retrieving them only involves a simple line of code:
<img src="TN/<%write($ImageFile)%>_TN.jpg" align="top"
id="TN_image" name="<%write([Puzzle]Print)%>" border="0">
The Thumbnails are stored in one folder(TN), the larger images are
stored in another(LG).
Since the site has over 2,000 Prints, we needed the pages to load as
quickly as possible
since a user could page through hundreds of pages if they just
wanted to browse without narrowing their selection.
This method gives us excellent speed loading the pages.
Mike Goldsmith
On Feb 16, 2007, at 6:47 AM, Peter Jakobsson wrote:
- the web server is running on 4D Client and the images are
retrieved in realtime from 4D Server. I am wondering if this causes
a 'drag' on the page loading and if it would help (for example) to
cache the images on the web server (outside 4D) so that 4D Web
Server can serve them up as static ones (at the moment there is a
handler for image requests which does a query and uses Active4D's
'write blob' command)
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/