Integration into a CMS system

After successfully purchasing refshots®, you should now have downloaded and unzipped the web gallery. Below we explain how you can integrate the web gallery into your CMS system. (You use WordPress as CMS? Then along here.)

Step 1
Upload the unpacked folder “refshotsLib” to the root directory of your website.

Step 2
Open the header file of your CMS and insert the following code in front of the closed </head>.

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../refshotsLib/refshots-res/css/refshots.css" />
<script type="text/javascript" src="../refshotsLib/refshots-res/js/jquery.js"></script>
<script type="text/javascript" src="../refshotsLib/refshots-res/js/refshotsCMS.js"></script>

Step 3
With the following code snippet you place the gallery in the desired position within your page.

<div id="refshots" data-cat="" data-root_imgs="yes" data-filter="yes"> </div>



Define here which category (in) the app should be displayed. If you leave the field blank, all images will be displayed.

Define here whether all pictures from all categories are to be output

Define if a filter option should be displayed above the gallery

You can place any number of galleries within your website and manage them with the app.

refshots® should now be successfully integrated and the app to manage your web gallery can be started.

War dieser Artikel hilfreich?
Nein 0