coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: crashnet on May 01, 2004, 09:52:42 PM

Title: Sorting Images
Post by: crashnet on May 01, 2004, 09:52:42 PM
Is there a way to sort images in folders so when they are uploaded, they go into a folder that corresponds to the album that it is in?  As it is now, when someone uploads an image it goes into the userpics folder.  Hope that makes sense.
Title: Re: Sorting Images
Post by: bit bit spears on May 02, 2004, 01:00:51 AM
i do not think this is possible with coppermine.
Title: Re: Sorting Images
Post by: Joachim Müller on May 02, 2004, 11:22:21 AM
this discussion has been lead a thousand times: there's no point in pics being sorted into certain folders on the webserver - the database keeps track of the pic's url, the human doesn't have to.

GauGau
Title: Re: Sorting Images
Post by: pkulak on May 03, 2004, 03:08:11 AM
What you are saying is to keep track of the same information in two different places. That is a huge design no-no. The entire point of a database is to remove redundancy. I could see writing a script that would copy pictures into corrosponding OS directories, but what would be the point? You mention backups? Just backup a database dump and the directory. I just don't see the problem.
Title: Re: Sorting Images
Post by: crashnet on May 03, 2004, 03:52:02 AM
Quote from: pkulak on May 03, 2004, 03:08:11 AM
What you are saying is to keep track of the same information in two different places. That is a huge design no-no. The entire point of a database is to remove redundancy. I could see writing a script that would copy pictures into corrosponding OS directories, but what would be the point? You mention backups? Just backup a database dump and the directory. I just don't see the problem.

I apologize, and understand the redundancy issue, and come to think of it, thought of that after I made the post.  I was just a little upset over the way my question was responded to.  I have deleted the post as it is no longer necessary.