No description, website, or topics provided.
JavaScript TypeScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
index.js
package.json
tsconfig.json

README.md

hexo-tag-theta360

Build Status npm version dependencies Status devDependencies Status Coverage Status

Embed 360 photos uploaded to theta360.com in your Hexo blog.

Installation

npm install --save hexo-tag-theta360

Usage

{% theta360 image-url %}

or

{% theta360 image-id %}

Example Usages

Embed using the full URL.

{% theta360 https://theta360.com/s/fHmW9N6LuKPPp6pqmnPt1vpho %}

Embed using the image ID.

{% theta360 fHmW9N6LuKPPp6pqmnPt1vpho %}

Styling

By default, the iframe has no styling at all. You will need to apply your own styles using CSS by targeting the hexo-tag-theta360 class.

An example style could be

.hexo-tag-theta360 {
    width: 100%;
    height: 400px;
}