Really now. So that means a lot of our images were probably overwritten. Bummer.
But thank you for finding this out, Adam! Will update the settings.py file accordingly. Regards, Joel On Wed, Dec 30, 2015 at 1:48 AM, Adam Cox <[email protected]> wrote: > Hi Joel, > > As for 2) I just checked this out on a local installation of Arches and > then on a cloud installation that uses Amazon S3 for file storage (like > your installation does). On the local version, as Alexei mentioned, the > file is automatically renamed, and Arches retrieves the path correctly. On > the S3 version I found that a new uploaded file overwrites an existing file > in the bucket with the same name. So, if I uploaded picture.jpg (picture > of a dog) for "resource 1", and then uploaded picture.jpg (picture of > a house) for "resource 2", then only one file (picture.jpg) exists in the > bucket, and it is the house picture, and both resources use it. > > Luckily, I found this question ( > http://stackoverflow.com/questions/10323241/django-storages-with-amazon-s3-prevent-overwriting) > and the answer very easy. Just add > AWS_S3_FILE_OVERWRITE = False > to your settings.py file and restart apache. When I did that, everything > was solved. I'll update the documentation. > > Thanks for finding this problem!! > Adam > > On Tuesday, December 22, 2015 at 9:42:43 PM UTC-6, Joel Aldor wrote: >> >> Hi Team, >> >> I would like to report on two issues that are currently happening on our >> Arches installation: >> >> 1.) When images shot in portrait orientation are uploaded on Arches they >> show up in horizontal orientation (or 90 degs clockwise). How can we >> correct this immediately? >> >> Example: >> http://www.philippineheritagemap.org/reports/e8130ba7-7666-4325-9e7e-1f845cbab397 >> >> 2.) Cameras would usually name image files as IMG0001 or DSC0001, >> depending on the brand. If you upload the images using the same file name >> as of a previously uploaded image with the same file name, it causes Arches >> to display the previously uploaded image instead. I would advise our >> volunteers to rename the file names of their images first based on the name >> of the place where the image was shot, but this might not be followed in >> the long run as our numbers grow, and I see this as quite an impractical >> approach. Is there a way for Arches to automatically rename the image file >> to ensure that it does not conflict with other images? >> >> Example: >> http://www.philippineheritagemap.org/reports/086dac6a-cc3b-44df-8d99-f6783d718570 >> - this report for San Jose Cathedral in Romblon displays images coming from >> Silay City. >> >> Please let us know how we can fix this. Thanks! >> >> Regards >> >> Joel >> > -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Arches Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/archesproject/_ec6M6WXW_A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
