Git Product home page Git Product logo

Comments (10)

litten avatar litten commented on August 15, 2024

……怎么回答…用html做的…

from blogbackup.

MisterDeng avatar MisterDeng commented on August 15, 2024

如果大家和我用的是同一主题,在yourBlog\themes\yilia\source\js\main.js文件末尾增加如下代码:
if($(".instagram").length) {
require(['/js/photo.js', '/fancybox/jquery.fancybox.js', '/js/jquery.lazyload.js'], function(obj) {
obj.init();
});
}

我照着这段话复制的,但是报错了。

from blogbackup.

firebrain7 avatar firebrain7 commented on August 15, 2024

@MisterDeng
那你看下public/js 文件夹里有没有生成photo.js

from blogbackup.

airzhanglin avatar airzhanglin commented on August 15, 2024

请问一下相册怎么做的,然后照片怎么上传呢

from blogbackup.

MisterDeng avatar MisterDeng commented on August 15, 2024

@airzhanglin 用七牛上传存储照片,顺便生成json,然后改下作者的图片来源就行了。

from blogbackup.

wxy-mu avatar wxy-mu commented on August 15, 2024

我想知道,那个首页,你是怎么配置的,不是直接显示全部内容。。谢谢

from blogbackup.

 avatar commented on August 15, 2024

哥, 你的其他页面都能看懂,唯独这个相册没看懂,是要我自己编写html,自己写样式,自己写js访问请求,没有一个模版让copy吗?

from blogbackup.

andyyangdong avatar andyyangdong commented on August 15, 2024

同问:怎么配置的,不是直接显示全部内容。。谢谢!

from blogbackup.

airzhanglin avatar airzhanglin commented on August 15, 2024

@MisterDeng 修改做的图片来源,在哪个文件里面修改?

from blogbackup.

MisterDeng avatar MisterDeng commented on August 15, 2024

@airzhanglin 老早的事情都忘了,大概在那个photo.js里面 是个for读取的本地json,这个json就是存储的图片地址

from blogbackup.

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.