hayesmarketing / flickr-gallery
Magento 2 的 Flickr 相册
dev-master
2017-05-23 23:43 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/magento-composer-installer: *
This package is not auto-updated.
Last update: 2024-09-29 01:13:58 UTC
README
Magento 2 Flickr 相册是一款易于使用的扩展,允许您将任何Flickr相册连接到您的Magento商店。
安装
使用Composer安装
composer require hayesmarketing/flickr-gallery php magento-directory/bin/magento setup:upgrade
使用GIT安装
cd magento-directory/app/code
git clone git@github.com:hayes0724/magento2-flickr-gallery.git HayesMarketing/Gallery
php magento-directory/bin/magento setup:upgrade
功能
- 将API结果存储在数据库中以加快加载速度
- 从Flickr选择要使用的照片大小
- 使用Flickr用户名获取所有可用的相册,并在管理员中显示
- 选择您想要显示的相册
- 可定制的相册页面以显示启用的相册(yoursite.com/gallery)
- 可定制的相册滑块页面(yoursite.com/gallery/my-photoset-name)
- 从相册标题生成的SEO友好URL(例如:My-PhotoSet_Title => /my-photoset-title)
如何使用
- 将Flickr API密钥添加到“商店->配置->Hayes Marketing Gallery->API密钥”
- 添加Flickr用户ID
- 刷新页面后保存,您将看到可用的相册
- 选择要启用的相册并保存
- 点击同步,根据之前设置的设置从Flickr下载所有数据
- 转到yoursite.com/gallery查看