Photo Organizer

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Devel
  • Due in Version 2.36
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Photo Organizer
Opened by Solomon Peachy - 2007-11-14
Last edited by Solomon Peachy - 2008-02-19

FS#302 - Prettier URLs

This will requrie the likes of mod_rewrite, but I'd really prefer to have something like:

http://somwehere.com/po/photo/8375309

http://somwehere.com/po/user/somebody

http://somewhere.com/po/photo/8375309/album/1412

http://somewhere.com/po/photo/8375309/version/6345789

Unfortunately to do this, all URL generation would need to be centralized into a single set of functions, with argument sets passed in as parameters. (This is a good idea in general, FWIW...)

Closed by  Solomon Peachy
2008-02-19 02:53
Reason for closing:  Implemented
Additional comments about closing:  It's as good as it's going to get for now.
Admin
Solomon Peachy commented on 2007-12-03 18:59

Let's not forget things like:

/tag/XXXX --> search for tag/keyword 'XXXX'

also, it should be /photo/###:#### if a version is desired; I'd rather just skip the explicit version thing.

Admin
Solomon Peachy commented on 2007-12-03 19:42

http://www.calevans.com/view.php/page/tagcloud

Admin
Solomon Peachy commented on 2008-02-13 23:28

A lot of work has gone into this already. It's definitely 2.36 material at this point.

Ongoing work involves moving URL generation into a single place. Once that's done with no regressions, we can add a "pretty URLs" config option.

Working:

http://somewhere.com/po/user/pizza
http://somewhere.com/po/user/2
http://somewhere.com/po/folder/220
http://somewhere.com/po/album/199
http://somewhere.com/po/photo/12345 # view master version
http://somewhere.com/po/photo/12345:67890 # view specific version

To-do:

/search/blabla
/tag/blabla
/image/12345:67890-3
/photo/12345-3 # the -X refers to the size code!

Admin
Solomon Peachy commented on 2008-02-13 23:30

also, /folder/some_text_here and /album/some_text_here should redirect to the search_folder page.

Perhaps /search/folder/blabla instead? what about /search/user/blabla or /user/blabla/search?

Admin
Solomon Peachy commented on 2008-02-19 01:14

r1921 has folder, user, album, photo, and image.display URLs prettified, and all internal references fixed too.

Further work will probably not happen.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing