Comments (10)
……怎么回答…用html做的…
from blogbackup.
如果大家和我用的是同一主题,在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.
@MisterDeng
那你看下public/js 文件夹里有没有生成photo.js
from blogbackup.
请问一下相册怎么做的,然后照片怎么上传呢
from blogbackup.
@airzhanglin 用七牛上传存储照片,顺便生成json,然后改下作者的图片来源就行了。
from blogbackup.
我想知道,那个首页,你是怎么配置的,不是直接显示全部内容。。谢谢
from blogbackup.
哥, 你的其他页面都能看懂,唯独这个相册没看懂,是要我自己编写html,自己写样式,自己写js访问请求,没有一个模版让copy吗?
from blogbackup.
同问:怎么配置的,不是直接显示全部内容。。谢谢!
from blogbackup.
@MisterDeng 修改做的图片来源,在哪个文件里面修改?
from blogbackup.
@airzhanglin 老早的事情都忘了,大概在那个photo.js里面 是个for读取的本地json,这个json就是存储的图片地址
from blogbackup.
Related Issues (20)
- 相册 HOT 1
- 你好请问_config.yml文件中subtitle字体颜色如何修改
- 微信分享二维码怎么出不来呢 HOT 2
- 相册问题
- 修改yilia 下_config.yml
- 一个有关点击"所有文章"提示"缺失模块"问题一直解决不了 HOT 2
- excerpt_link: 'more' 未截断 HOT 7
- 对于subnav中没有的nav应该怎么加icon呢
- 请问如何更改名字,就是如何将左侧的John Doe改为litten? HOT 2
- 请问哪个标签在哪添加?
- 文章没被截断:disappointed_relieved: HOT 2
- 文章不想展示出来,怎么做? HOT 1
- 标签展示问题
- 如何只显示预览不显示全文 HOT 2
- layout/_partial/post/category.ejs
- 很笨蛋的问题请教 HOT 2
- 邮箱提示找不到
- subnav能不能加个csdn的图标样式哦,感觉csdn也是挺常用的
- 一个小白的憨憨问题
- hexo 版本升级相册似乎不能用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blogbackup.