|
From: Bryan K. <br...@wu...> - 2001-11-01 02:01:09
|
Okie, I made a bit of a change in the way phpix works. I offloaded the
images onto a separate script, which deals with resizing and caching.
It's checked into the cvs server, so give it a whirl.
Thing this means:
a) Pages _feel_ faster (even though they aren't necessarily) when we
have to do a bunch of conversions. The reason for this is the html
renders, and then the pictures get filled in. Before you would wait
for all the pictures to convert before anything would render.
b) we can move the images out of the webroot.
c) because images are not in the webroot, we can do security
ourselves, without having to worry about .htaccess files.
d) since we can do security ourselves, we can make password protected
albums, login ability, and admin stuff (add,delete pictures).
My next project will be to try get a user login function, once I have
that, I'll do an admin interface. Then possibly a user comments section.
I'll clean up the code a bit more over the next while and add the
picture root stuff. (ie, having pictures out of the webroot) I'll leave
it so by default it works out of the box.
Bryan
perl -e 'map{print(pack(V,exp("21.$_")))}(21512211,40167979,2548395575,2745918245)'
|