My Gallery
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
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.
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