Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

See also How are Images represented in the Model?, Access images after changing the default namespace

The uploaded image files are identified by a combination of URI and filename. The URI is used as the principal identifier so we don't need to worry about collisions if two people each upload an image named "image.jpg". The filename is retained so the user can use their browser to download their image from the system and it will be named as they expect it to be.

...

By the way, almost all of this is implemented in edu.cornell.mannlib.vitro.webapp.filestorage.backend.FileStorageHelper
and illustrated in
edu.cornell.mannlib.vitro.webapp.filestorage.backend.FileStorageHelperTest

...

From a http://sourceforge.net/mailarchive/message.php?msg_id=26671929 message),] in the vivo-dev-all archive, by Jim Blake, dated 2010-11-29 18:56