GithubHelp home page GithubHelp logo

Comments (1)

seven332 avatar seven332 commented on June 15, 2024
  1. 因为在设置为直接加载缩略图的时候,点击是看大图,所以在不直接加载缩略图的时候,也是点击是看大图。这样的好处是代码改动较少...不过你说的有些道理,以后我会改过来。
  2. 封面的话以前的代码上就是在不自动加载缩略图的时候,不自动加载封面图片,后来改代码的时候忘了这个,等会儿我改过来。
  3. 若是单击的话会与连按产生矛盾,不过也可以通过修改代码使其不矛盾,但是比较麻烦,我并不打算这么做。
  4. 不自动存储封面的原因是不能获取唯一指定一张封面的标识符,或者说是 id,或者说是文件名什么之类。若是自动存储封面会造成很多重复的封面被存储。我所说的无法获取并不是说真的无论如何也获取不了,而是目前我无法比较容易地获取。封面地址是由一个固定的地址通过 HTTP 301,来得到实际封面的地址,而我使用的图片加载库并不能返回这个通过 HTTP 301 得到的实际封面的地址。或者说我不太清楚这个图片加载库所使用网络通信库能否获取这个通过 HTTP 301 得到的地址。等我看看源码再说。

from nimingban.

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.