Skip to content
Embed your deviantART gallery with this Javascript plugin.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Embed your deviantART gallery with this Javascript plugin.

This plugin combines two of my other projects: deviantART-API and simpleslider


1 - Link to deviantART-gallery.min.css in the <head> tag:

<link rel="stylesheet" type="text/css" href="deviantART-gallery.min.css"/>

2 - Add the scripts before the closing </body> tag:

<script src="deviantART-gallery-plugin.min.js"></script>
    deviantARTGalleryPlugin('fu51on', '27123391', '16:9');

deviantARTGalleryPlugin() takes three parameters: username, gallery ID and aspect ratio.

For the deviantART URL, fu510n is the username and 27123391 is the gallery ID.

The aspect ratio sets the dimensions of the gallery to ensure that it remains at the same aspect ratio regardless of the screen size.

3 - Add the following element where the gallery is to be positioned:

<div id="deviantART-gallery"></div>
You can’t perform that action at this time.