Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Image Gallery/Picture Post 4

Quote Reply
Image Gallery/Picture Post 4
I think I figured out how to solve one of the problems. A big problem is dealing with uploads on a busy system. On an admin-only, or a few editor systems, it's not much of a problem. But on busy systems it would be.

Assumption #1 for the first releases:
This is a postcards/picture-post program where user-uploads are anticipated (rather than a gallery or an admin-only upload situation). (Gallery management features will be added later once the parts work).

I propose:

1) give each user a directory <%username%> (this means restrictive usernames)
2) All a users uploads go into that directory, and thumbnails are in <%username%>/thumbnails. This allows one /uploads directory, or /uploads/a, /uploads/b etc type divisions.
3) files are given the LinkID as their stored name. A user can see their aborted files if their directory has un-attached files in it, and figuring out who an aborted file belongs to is then really easy.
4) Not every user will upload files. Not every user will have a directory. If a directory exists for that <%username%> a user has uploaded files.
5) This will dove-tail with the 'attachments' modification when/if Alex/GT decides what that will look like. Attachments can go into one central area or into <%user%> or <%category%> directories. More functions will be added with the "gallery maintain" routines, but we have to start somewhere.
6) Image/physical-disk layout will most likely _not_ resemble the presentation-interface in any way. It's more and more obvious that this is the way to go, and if you want the disk to look like the interface, just upload it that way, but the interface will not be limited by the disk-layout.

Comments... Remember, this system has to be scalable, so what might seem like over-kill on a site with 100 or even 2000 links, will be a necessity on a site with 20,000.



PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Subject Author Views Date
Thread Image Gallery/Picture Post 4 pugdog 6431 Jan 8, 2001, 1:52 PM
Thread Re: Image Gallery/Picture Post 4
padders 6342 Jan 8, 2001, 1:59 PM
Post Re: Image Gallery/Picture Post 4
pugdog 6351 Jan 8, 2001, 5:09 PM
Thread Re: Image Gallery/Picture Post 4
pugdog 6338 Jan 8, 2001, 11:29 PM
Thread Re: Image Gallery/Picture Post 4
Robert 6320 Jan 9, 2001, 9:00 AM
Thread Re: Image Gallery/Picture Post 4
padders 6337 Jan 9, 2001, 9:35 AM
Thread Re: Image Gallery/Picture Post 4
padders 6322 Jan 9, 2001, 9:41 AM
Thread Re: Image Gallery/Picture Post 4
pugdog 6272 Jan 9, 2001, 11:08 AM
Thread Re: Image Gallery/Picture Post 4
padders 6291 Jan 9, 2001, 11:21 AM
Thread Re: Image Gallery/Picture Post 4
pugdog 6321 Jan 9, 2001, 11:33 AM
Thread Re: Image Gallery/Picture Post 4
padders 6322 Jan 9, 2001, 11:47 AM
Post Re: Image Gallery/Picture Post 4
pugdog 6347 Jan 9, 2001, 11:52 AM
Post Re: Image Gallery/Picture Post 4
pugdog 6309 Jan 9, 2001, 12:00 PM
Thread Re: Image Gallery/Picture Post 4
Robert 6275 Jan 9, 2001, 12:37 PM
Post Re: Image Gallery/Picture Post 4
padders 6220 Jan 9, 2001, 4:09 PM
Thread Re: Image Gallery/Picture Post 4
pugdog 6302 Jan 9, 2001, 10:58 AM
Post Re: Image Gallery/Picture Post 4
Robert 6276 Jan 9, 2001, 12:18 PM