Re: feature request: generate tags from folder



On 9/19/07, Giacomo Rizzo <alt free-os it> wrote:
> On Wed, 2007-09-19 at 17:39 -0500, Thomas Lunde wrote:
> > E.g., iPhoto sort-of does this.  Although they're not "keywords" in
> > the iPhoto parlance, one can search one for any word in the name of
> > the folder that immediately contained the photos.  The search is not
> > case sensitive.
>
> F-Spot already does this. In the main gallery, just press '/' and type: you will see all the photos that have searched terms in their path or description.

Wow!  Thanks.  The Help section for Search does have a subsection
called Type-to-Find, but it doesn't seem to mention that the full path
is attached to each photo.

Here is a suggested patch to the help file.  This paragraph should go
after the one ending with "The not operator is not yet supported.":

"You can use type-to-find to locate photos based on the directory name
that they were in when you imported them into F-Spot.  For example, if
you import a folder called "Football Game -- Stars versus Rockets"
then you can search on any of those words.  This search is not case
sensitive.  Do note that each search term is treated separately, so
that typing / then "stars rockets" (without the quotes) will not find
anything.  You must type either "stars  versus" or "stars and rockets"
to find these photos."


> Converting paths to tags would be useful, probably, but we should define a naming policy, and there will always be something wrong. Example:
>
> /home/alt-os/files/photos/camping/croatia/mostar/dsc001.jpg
>
> Would you tag it "mostar+croatia+camping", "mostar", or "photos", or "photos+files"...


Well, if you're seriously asking, I think that it would be best to use
only the name of the directory directly containing the pictures.  In
other words, I'd be content with mostar in the above example.

Why?  Well, I can always make that level as detailed as possible (i.e.
redundant if necessary with other things higher in the pathname).

Also, using the full pathname causes a problem in that it makes my
name useless as a tag since my home directory looks like this:

/home/thomas/Pictures/YYYY/MM/DD/Here is my Event Name/xxx.jpg
/home/thomas/Pictures/YYYY/MM/DD/Here is my Second Event/yyy.jpg

I think that this will be true for a lot of folks since the Ubuntu
(and Fedora?) installer defaults to making one's account's shortname
the same as one's first name.

Just my $0.02.  Let me know if I should create a bug for the suggested
help text above.

Thanks
thomas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]