Code Monkey home page Code Monkey logo

Comments (6)

PowerAnalyst avatar PowerAnalyst commented on May 21, 2024 1

@damianmoore it would appear to be due to the spaces in the file name. I've since added 3 photos without spaces "20181108_200511.jpg" etc and they all load perfectly well.

From the 'Elements inspection on Chrome' working images have <div class="PhotoDetail" style="background-image: url(&quot;/photos/20181108_200511.jpg&quot;);"></div> however for images with spaces in the name, this is simply <div class="PhotoDetail"></div>

from photonix.

PowerAnalyst avatar PowerAnalyst commented on May 21, 2024 1

Thanks for the update @Soharic. I'll work on fixing the filename spaces issue.

Sounds great, thank you! The way I label my photos, they've all got spaces in...

from photonix.

damianmoore avatar damianmoore commented on May 21, 2024

Hi @Soharic. Thanks for the report.

The URI you are getting linked to with a random ID is to be expected - photos get assigned a UUID when they are first imported. This is a React router page that you get to but your image should be displaying scaled and centred on it.

When you get to this page could you right-click and "inpect element" to see if there are any clues? There should be an tag with a src including the file name. Could possibly be something to do with spaces in the filename or the JPEG not being decodable by the browser. Would be interesting to know if the download is 404ing.

from photonix.

damianmoore avatar damianmoore commented on May 21, 2024

#28 will eventually alter what image downloads here so should be a bit more robust then.

from photonix.

damianmoore avatar damianmoore commented on May 21, 2024

Thanks for the update @Soharic. I'll work on fixing the filename spaces issue.

from photonix.

damianmoore avatar damianmoore commented on May 21, 2024

Pretty sure this is solved now that all images shown go through the thumbnailer @Soharic

from photonix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.