1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hemos actualizado nuestra PolĂ­tica de Privacidad acorde con la nueva RGPD. +Info // We've updated our Privacy Policy to comply with the GDPR. +Info
    Dismiss Notice

Wrong Pictures Displayed

Discussion in 'OOC' started by Valmiir, Jul 8, 2018.

  1. Valmiir

    Valmiir Member

    Joined:
    Nov 23, 2017
    Messages:
    37
    Likes Received:
    20
    I'm not sure if this is a known issue, but when I was uploading pictures to my report it would sometimes display the wrong picture; namely a picture that wasn't even my own. This seems to only occur when the pictures I was uploading had (what I assume were) common names: Table.jpg or First_Blood.jpg. After changing the names locally, they would upload correctly.
     
    nazroth likes this.
  2. psychoticstorm

    psychoticstorm Aleph's rogue child
    Moderator

    Joined:
    Mar 4, 2017
    Messages:
    3,124
    Likes Received:
    5,982
    Its an unfortunately known issue, not sure of any eta for a fix
     
    Valmiir likes this.
  3. nehemiah

    nehemiah Well-Known Member

    Joined:
    Apr 4, 2018
    Messages:
    414
    Likes Received:
    778
    I have heard it has to do when another photo has the same name. Try changing the default names of your photos before uploading.
     
  4. AdmiralJCJF

    AdmiralJCJF Heart of the Hyperpower
    Warcor

    Joined:
    Feb 21, 2017
    Messages:
    3,091
    Likes Received:
    4,082
    Yep, had this issue and changing the names of the images before uploading solved it.
     
  5. cazboab

    cazboab Member (phrasing)

    Joined:
    Nov 30, 2017
    Messages:
    967
    Likes Received:
    1,303
    If I'm right about what's causing it, then it should be simple, but probably needs longer to test than the time left...
    Basically all the photos are going into the same directory with no changes to the filename, and no overwrite permission. The second part is absolutely necessary, the first is a tiny oversight with widespread and frustrating consequences.

    The solution is to add a process during the upload that adds a unique identifier to each image, filename, eg the first 3 leters of the username and date and time in utc to the second, so table.jpg saves in the blob storage as caz1307115254.jpg etc...
     
    Abrilete and Valmiir like this.
  6. cazboab

    cazboab Member (phrasing)

    Joined:
    Nov 30, 2017
    Messages:
    967
    Likes Received:
    1,303
    Okay @warzan I'm going to mail the head of whichever Muppet at Sony decided their phones should rename the images back to default to the BoW studios. Present it as a warning to whoever decided that using one directory for everyone's pictures was a good idea...
     
  7. warzan

    warzan Well-Known Member

    Joined:
    Jun 27, 2018
    Messages:
    34
    Likes Received:
    55
  8. Aspect Graviton

    Aspect Graviton Friendly Alien Overlord
    Warcor

    Joined:
    Nov 24, 2017
    Messages:
    647
    Likes Received:
    1,338
    While the on site image directory is obviously a good option for ease of use, have you considered using links to image handling sites, we were already having to use them in the briefing rooms and this very forum and it may speed alleviate some of the load on the site, which has been a problem when uploading in the past?