My Gallery

Downloads: 555
Category: Plugin
Compatible with: GetSimple 2.01 - 3.3

Last Updated: December 6, 2020
Tags: gallery photo images pictures thumbnails
Author: denis
Author Website: http://netexplorer.h1n.ru
Support: Support Forum

(5) 5 Votes

Plugin Description:

This plugin will help you create a gallery.

  • ability to select scripts for output (BaguetteBox, PhotoSwipe, Swiper - slider)
  • ability to create multiple galleries
  • upload both one image at a time and multi-upload (it is not recommended to upload large files)
  • possibility to change order of images (left - right)
  • thumbnails are created (used both in the admin panel and on site pages)
  • ability to add and change the caption to the image (you do not need to specify the caption)
  • ability to select the compression quality of the thumbnail and main image
  • ability to set the size (resolution) of the thumbnail and main image (you don't need to set the height)
  • ability to view image before uploading to the server
  • ability to correct the caption of the uploaded image
  • ability to delete all images at once
  • ability to set the maximum size of the downloaded file for further processing on the server
  • ability to place HTML in big image (after thumbnail click): if "Content:" starts with "<iframe" the code will be perceived as a video in a frame; if "Content:" starts with "http" the code will be perceived as a link; if "Content:" does not contain HTML tags, then the code will be perceived as a caption to the image

DEMO: http://demo23.p9021271.beget.tech/index.php?id=my-gallery

admin example 1

admin example 2

  • The plugin can be translated into other languages. See /lang/en.php, ru.php ... Make your translation and upload the "xx.php" file to the directory - /lang/ - then select your language file in the plugin settings. When uploading large files сheck the values uploadmaxfilesize and postmaxsize in php.ini.

  • The settings are stored in the plugin directory, when you update the plugin you need to enter your data again.

If you do not need the ability to create multiple galleries, you can use the previous version of the plugin - 1.0.2.
If you do not need the ability to select scripts for output & ability to place HTML, you can use version - 1.0.3.

gallery example

Install Instructions:

Unzip and place file in the plugin folder of GetSimple. Then activate the plugin.

Create a gallery, select it and upload files. You can create multiple galleries. For output, use a short-code or PHP-code that is automatically generated for each new gallery.

The short-code looks something like this:

[#GetMyGallery:auto_id#]

OR php-code:

Add this line of code to the template where you would like to display a gallery. Or create a component and paste this code into it.

<?php if (function_exists('GetMyGallery')) { print GetMyGallery('auto_id'); } ?>

If you create a component and paste plugin code into it and you would like a component to be displayed on only one page, that can be done by adding the following code to your theme's template.php file:

<?php if (return_page_slug()=='PAGE') get_component('COMPNAME'); ?>

Don't forget to replace PAGE with your page's slug and COMPNAME with the component's name.

Then go to the plugin settings.

Archived Versions:

These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide