Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Zoomable image in post content
Browse files Browse the repository at this point in the history
  • Loading branch information
mustofa-id committed Jul 3, 2019
1 parent f2b773c commit a328bc3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ module.exports = {
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 720
maxWidth: 720,
linkImagesToOriginal: false
}
},
{
resolve: `gatsby-remark-images-medium-zoom`,
options: {
background: '#2424247d'
}
},
{
Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"gatsby-plugin-sitemap": "^2.2.0",
"gatsby-remark-copy-linked-files": "^2.1.0",
"gatsby-remark-images": "^3.1.2",
"gatsby-remark-images-medium-zoom": "^1.2.1",
"gatsby-source-filesystem": "^2.1.1",
"gatsby-transformer-remark": "^2.5.0",
"gatsby-transformer-sharp": "^2.2.0",
Expand Down

0 comments on commit a328bc3

Please sign in to comment.