Version Description
- Fixed error in backup module
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
- includes/extensions/backup/class_backup.php +42 -42
- includes/rbs_gallery_backup.php +4 -4
- includes/rbs_gallery_init.php +1 -1
- readme.txt +54 -47
- robogallery.php +2 -2
includes/extensions/backup/class_backup.php
CHANGED
@@ -74,7 +74,7 @@ class rbsGalleryExport {
|
|
74 |
*
|
75 |
* @var array
|
76 |
*/
|
77 |
-
protected $exportFiles =
|
78 |
|
79 |
/**
|
80 |
* Duplicate mode of importing posts data.
|
@@ -90,7 +90,7 @@ class rbsGalleryExport {
|
|
90 |
*
|
91 |
* @var ZipArchive[]
|
92 |
*/
|
93 |
-
protected $archives =
|
94 |
|
95 |
/**
|
96 |
* Mapping archive files
|
@@ -99,7 +99,7 @@ class rbsGalleryExport {
|
|
99 |
*
|
100 |
* @var array
|
101 |
*/
|
102 |
-
protected $archiveFiles =
|
103 |
|
104 |
/**
|
105 |
* Mapping post ID
|
@@ -108,7 +108,7 @@ class rbsGalleryExport {
|
|
108 |
*
|
109 |
* @var array
|
110 |
*/
|
111 |
-
protected $mappingPostIds =
|
112 |
|
113 |
/**
|
114 |
* Mapping attachment IDs
|
@@ -117,7 +117,7 @@ class rbsGalleryExport {
|
|
117 |
*
|
118 |
* @var array
|
119 |
*/
|
120 |
-
protected $mappingAttachmentIds =
|
121 |
|
122 |
/**
|
123 |
* Shared error
|
@@ -206,7 +206,7 @@ class rbsGalleryExport {
|
|
206 |
* @param string $fileName
|
207 |
* @return bool
|
208 |
*/
|
209 |
-
public function exportPostsXml(array $args =
|
210 |
{
|
211 |
$this->mode = self::MODE_EXPORT_XML;
|
212 |
|
@@ -237,7 +237,7 @@ class rbsGalleryExport {
|
|
237 |
header('Pragma: public');
|
238 |
}
|
239 |
|
240 |
-
public function exportPostsZip(array $args =
|
241 |
{
|
242 |
$this->mode = self::MODE_EXPORT_ZIP;
|
243 |
|
@@ -341,17 +341,17 @@ class rbsGalleryExport {
|
|
341 |
protected function exportPosts(array $args)
|
342 |
{
|
343 |
$args = array_merge(
|
344 |
-
|
345 |
'posts_per_page' => 200,
|
346 |
'offset' => 0,
|
347 |
-
'post_type' =>
|
348 |
'post_status' => 'publish',
|
349 |
-
|
350 |
$args,
|
351 |
-
|
352 |
'orderby' => 'post_parent ID',
|
353 |
'order' => 'ASC'
|
354 |
-
|
355 |
);
|
356 |
$step = 0;
|
357 |
$out = '';
|
@@ -410,7 +410,7 @@ class rbsGalleryExport {
|
|
410 |
protected function getPostMetaData($postId, $indent = '')
|
411 |
{
|
412 |
$rows = get_post_meta($postId, '', true);
|
413 |
-
$postMeta =
|
414 |
|
415 |
foreach ($rows as $metaKey => $metaValues) {
|
416 |
if($metaKey!='rbs_gallery_id') $postMeta[$metaKey] = $metaValues[0];
|
@@ -484,7 +484,7 @@ class rbsGalleryExport {
|
|
484 |
protected function getMetaImages($postId)
|
485 |
{
|
486 |
$images = get_post_meta($postId, self::POSTMETA_IMAGES, true);
|
487 |
-
return is_array($images) ? $images :
|
488 |
}
|
489 |
|
490 |
/**
|
@@ -495,13 +495,13 @@ class rbsGalleryExport {
|
|
495 |
*/
|
496 |
protected function getAttachments(array $ids)
|
497 |
{
|
498 |
-
$args =
|
499 |
'post__in' => $ids,
|
500 |
'post_type' => 'attachment',
|
501 |
'posts_per_page' => self::ATTACHMENT_MAX_AMOUNT
|
502 |
-
|
503 |
-
$attachments =
|
504 |
-
$result =
|
505 |
|
506 |
// indexing by ID and convert stdClass to array
|
507 |
foreach (get_posts($args) as $post) {
|
@@ -560,24 +560,24 @@ class rbsGalleryExport {
|
|
560 |
{
|
561 |
$this->mode = self::MODE_IMPORT_ZIP;
|
562 |
|
563 |
-
$this->response =
|
564 |
-
'import' =>
|
565 |
'post' => 0,
|
566 |
'element' => 0,
|
567 |
'file' => 0,
|
568 |
-
|
569 |
-
'duplicate' =>
|
570 |
'post' => 0,
|
571 |
'element' => 0,
|
572 |
'file' => 0,
|
573 |
-
|
574 |
-
'skipped' =>
|
575 |
'post' => 0,
|
576 |
'element' => 0,
|
577 |
'file' => 0,
|
578 |
-
|
579 |
-
'errors' =>
|
580 |
-
|
581 |
|
582 |
$this->readArchive($archivePath);
|
583 |
if ($this->error) {
|
@@ -605,24 +605,24 @@ class rbsGalleryExport {
|
|
605 |
*/
|
606 |
public function importPosts($xml)
|
607 |
{
|
608 |
-
$this->response =
|
609 |
-
'import' =>
|
610 |
'post' => 0,
|
611 |
'element' => 0,
|
612 |
'file' => 0,
|
613 |
-
|
614 |
-
'duplicate' =>
|
615 |
'post' => 0,
|
616 |
'element' => 0,
|
617 |
'file' => 0,
|
618 |
-
|
619 |
-
'skipped' =>
|
620 |
'post' => 0,
|
621 |
'element' => 0,
|
622 |
'file' => 0,
|
623 |
-
|
624 |
-
'errors' =>
|
625 |
-
|
626 |
|
627 |
if (!$this->validateXml($xml)) {
|
628 |
$this->response['errors'][] = $this->error;
|
@@ -691,9 +691,9 @@ class rbsGalleryExport {
|
|
691 |
protected function insertPostData(array $postData)
|
692 |
{
|
693 |
$post = $postData['post'];
|
694 |
-
$postMeta = isset($postData['postmeta']) ? $postData['postmeta'] :
|
695 |
-
$attachments = isset($postData['attachments']) ? $postData['attachments'] :
|
696 |
-
$attachmentIds =
|
697 |
|
698 |
$postId = $this->insertPost($post);
|
699 |
if (null === $postId) {
|
@@ -780,7 +780,7 @@ class rbsGalleryExport {
|
|
780 |
{
|
781 |
$post = $attachmentData['post'];
|
782 |
$oldPostId = $post['ID'];
|
783 |
-
$postMeta = isset($attachmentData['postmeta']) ? $attachmentData['postmeta'] :
|
784 |
$oldAttachmentFile = null;
|
785 |
$newAttachmentFile = null;
|
786 |
|
@@ -870,7 +870,7 @@ class rbsGalleryExport {
|
|
870 |
*/
|
871 |
protected function convertPostData(SimpleXMLElement $postData)
|
872 |
{
|
873 |
-
$result =
|
874 |
|
875 |
foreach ($postData->post[0] as $name => $value) {
|
876 |
$result['post'][$name] = (string)$value;
|
@@ -977,7 +977,7 @@ class rbsGalleryExport {
|
|
977 |
{
|
978 |
$archiveDir = dirname($archivePath) . DIRECTORY_SEPARATOR;
|
979 |
$archiveName = basename($archivePath);
|
980 |
-
$archives =
|
981 |
|
982 |
if (preg_match('/^(.+)\.([0-9]+)\.zip$/', $archiveName, $match)) {
|
983 |
$archiveRootName = $match[1];
|
74 |
*
|
75 |
* @var array
|
76 |
*/
|
77 |
+
protected $exportFiles = array();
|
78 |
|
79 |
/**
|
80 |
* Duplicate mode of importing posts data.
|
90 |
*
|
91 |
* @var ZipArchive[]
|
92 |
*/
|
93 |
+
protected $archives = array();
|
94 |
|
95 |
/**
|
96 |
* Mapping archive files
|
99 |
*
|
100 |
* @var array
|
101 |
*/
|
102 |
+
protected $archiveFiles = array();
|
103 |
|
104 |
/**
|
105 |
* Mapping post ID
|
108 |
*
|
109 |
* @var array
|
110 |
*/
|
111 |
+
protected $mappingPostIds = array();
|
112 |
|
113 |
/**
|
114 |
* Mapping attachment IDs
|
117 |
*
|
118 |
* @var array
|
119 |
*/
|
120 |
+
protected $mappingAttachmentIds = array();
|
121 |
|
122 |
/**
|
123 |
* Shared error
|
206 |
* @param string $fileName
|
207 |
* @return bool
|
208 |
*/
|
209 |
+
public function exportPostsXml(array $args = array(), $fileName = 'export.xml')
|
210 |
{
|
211 |
$this->mode = self::MODE_EXPORT_XML;
|
212 |
|
237 |
header('Pragma: public');
|
238 |
}
|
239 |
|
240 |
+
public function exportPostsZip(array $args = array(), $fileName = 'export.xml')
|
241 |
{
|
242 |
$this->mode = self::MODE_EXPORT_ZIP;
|
243 |
|
341 |
protected function exportPosts(array $args)
|
342 |
{
|
343 |
$args = array_merge(
|
344 |
+
array(
|
345 |
'posts_per_page' => 200,
|
346 |
'offset' => 0,
|
347 |
+
'post_type' => ROBO_GALLERY_TYPE_POST,
|
348 |
'post_status' => 'publish',
|
349 |
+
),
|
350 |
$args,
|
351 |
+
array(
|
352 |
'orderby' => 'post_parent ID',
|
353 |
'order' => 'ASC'
|
354 |
+
)
|
355 |
);
|
356 |
$step = 0;
|
357 |
$out = '';
|
410 |
protected function getPostMetaData($postId, $indent = '')
|
411 |
{
|
412 |
$rows = get_post_meta($postId, '', true);
|
413 |
+
$postMeta = array();
|
414 |
|
415 |
foreach ($rows as $metaKey => $metaValues) {
|
416 |
if($metaKey!='rbs_gallery_id') $postMeta[$metaKey] = $metaValues[0];
|
484 |
protected function getMetaImages($postId)
|
485 |
{
|
486 |
$images = get_post_meta($postId, self::POSTMETA_IMAGES, true);
|
487 |
+
return is_array($images) ? $images : array();
|
488 |
}
|
489 |
|
490 |
/**
|
495 |
*/
|
496 |
protected function getAttachments(array $ids)
|
497 |
{
|
498 |
+
$args =array(
|
499 |
'post__in' => $ids,
|
500 |
'post_type' => 'attachment',
|
501 |
'posts_per_page' => self::ATTACHMENT_MAX_AMOUNT
|
502 |
+
);
|
503 |
+
$attachments = array();
|
504 |
+
$result = array();
|
505 |
|
506 |
// indexing by ID and convert stdClass to array
|
507 |
foreach (get_posts($args) as $post) {
|
560 |
{
|
561 |
$this->mode = self::MODE_IMPORT_ZIP;
|
562 |
|
563 |
+
$this->response = array(
|
564 |
+
'import' => array(
|
565 |
'post' => 0,
|
566 |
'element' => 0,
|
567 |
'file' => 0,
|
568 |
+
),
|
569 |
+
'duplicate' => array(
|
570 |
'post' => 0,
|
571 |
'element' => 0,
|
572 |
'file' => 0,
|
573 |
+
),
|
574 |
+
'skipped' => array(
|
575 |
'post' => 0,
|
576 |
'element' => 0,
|
577 |
'file' => 0,
|
578 |
+
),
|
579 |
+
'errors' => array()
|
580 |
+
);
|
581 |
|
582 |
$this->readArchive($archivePath);
|
583 |
if ($this->error) {
|
605 |
*/
|
606 |
public function importPosts($xml)
|
607 |
{
|
608 |
+
$this->response = array(
|
609 |
+
'import' => array(
|
610 |
'post' => 0,
|
611 |
'element' => 0,
|
612 |
'file' => 0,
|
613 |
+
),
|
614 |
+
'duplicate' => array(
|
615 |
'post' => 0,
|
616 |
'element' => 0,
|
617 |
'file' => 0,
|
618 |
+
),
|
619 |
+
'skipped' => array(
|
620 |
'post' => 0,
|
621 |
'element' => 0,
|
622 |
'file' => 0,
|
623 |
+
),
|
624 |
+
'errors' => array()
|
625 |
+
);
|
626 |
|
627 |
if (!$this->validateXml($xml)) {
|
628 |
$this->response['errors'][] = $this->error;
|
691 |
protected function insertPostData(array $postData)
|
692 |
{
|
693 |
$post = $postData['post'];
|
694 |
+
$postMeta = isset($postData['postmeta']) ? $postData['postmeta'] : array();
|
695 |
+
$attachments = isset($postData['attachments']) ? $postData['attachments'] : array();
|
696 |
+
$attachmentIds = array();
|
697 |
|
698 |
$postId = $this->insertPost($post);
|
699 |
if (null === $postId) {
|
780 |
{
|
781 |
$post = $attachmentData['post'];
|
782 |
$oldPostId = $post['ID'];
|
783 |
+
$postMeta = isset($attachmentData['postmeta']) ? $attachmentData['postmeta'] : array();
|
784 |
$oldAttachmentFile = null;
|
785 |
$newAttachmentFile = null;
|
786 |
|
870 |
*/
|
871 |
protected function convertPostData(SimpleXMLElement $postData)
|
872 |
{
|
873 |
+
$result = array();
|
874 |
|
875 |
foreach ($postData->post[0] as $name => $value) {
|
876 |
$result['post'][$name] = (string)$value;
|
977 |
{
|
978 |
$archiveDir = dirname($archivePath) . DIRECTORY_SEPARATOR;
|
979 |
$archiveName = basename($archivePath);
|
980 |
+
$archives = array();
|
981 |
|
982 |
if (preg_match('/^(.+)\.([0-9]+)\.zip$/', $archiveName, $match)) {
|
983 |
$archiveRootName = $match[1];
|
includes/rbs_gallery_backup.php
CHANGED
@@ -55,6 +55,9 @@ wp_enqueue_style ( 'toolbox-gallery-about', ROBO_GALLERY_URL.'css/admin/about.c
|
|
55 |
<a href="<?php echo admin_url(); ?>edit.php?post_type=robo_gallery_table&page=robo-gallery-backup&rbsGalleryExport=1" class="button button-primary">Download Backup</a>
|
56 |
</form></td>
|
57 |
</tr>
|
|
|
|
|
|
|
58 |
<tr>
|
59 |
<th scope="row"><label for="blogname"><?php _e('Import Gallery', 'rbs_gallery'); ?></label></th>
|
60 |
<td>
|
@@ -72,10 +75,7 @@ wp_enqueue_style ( 'toolbox-gallery-about', ROBO_GALLERY_URL.'css/admin/about.c
|
|
72 |
</form>
|
73 |
</td>
|
74 |
</tr>
|
75 |
-
|
76 |
-
<td colspan="2"><p class="description" id="rbsBackupFile-description"><?php _e('After backup of the galleries settings with EXPORT option, copy images from server folder: {Wordpress folder}/wp-content/uploads to the new location by FTP'); ?></p></td>
|
77 |
-
|
78 |
-
</tr>
|
79 |
</tbody>
|
80 |
</table>
|
81 |
|
55 |
<a href="<?php echo admin_url(); ?>edit.php?post_type=robo_gallery_table&page=robo-gallery-backup&rbsGalleryExport=1" class="button button-primary">Download Backup</a>
|
56 |
</form></td>
|
57 |
</tr>
|
58 |
+
<tr>
|
59 |
+
<td colspan="2"><p class="description" id="rbsBackupFile-description"><?php _e('After backup of the galleries settings with EXPORT option, copy images from server folder: {Wordpress folder}/wp-content/uploads to the new location by FTP'); ?></p></td>
|
60 |
+
</tr>
|
61 |
<tr>
|
62 |
<th scope="row"><label for="blogname"><?php _e('Import Gallery', 'rbs_gallery'); ?></label></th>
|
63 |
<td>
|
75 |
</form>
|
76 |
</td>
|
77 |
</tr>
|
78 |
+
|
|
|
|
|
|
|
79 |
</tbody>
|
80 |
</table>
|
81 |
|
includes/rbs_gallery_init.php
CHANGED
@@ -156,7 +156,7 @@ if(!function_exists('rbs_gallery_export')){
|
|
156 |
$export = new rbsGalleryExport('robo_gallery_table');
|
157 |
$export->setArchiveDir(ABSPATH . 'tmp');
|
158 |
$export->isExportFiles = true;
|
159 |
-
$isExport = $export->exportPostsXml(
|
160 |
if(!$isExport) {
|
161 |
// show pretty error
|
162 |
var_dump($export->getError());
|
156 |
$export = new rbsGalleryExport('robo_gallery_table');
|
157 |
$export->setArchiveDir(ABSPATH . 'tmp');
|
158 |
$export->isExportFiles = true;
|
159 |
+
$isExport = $export->exportPostsXml(array('post_type' => ROBO_GALLERY_TYPE_POST), 'export.xml');
|
160 |
if(!$isExport) {
|
161 |
// show pretty error
|
162 |
var_dump($export->getError());
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.robosoft.co/robogallery
|
|
4 |
Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -75,7 +75,8 @@ Gallery with highly customizable interface, advanced and FREE Wordpress images g
|
|
75 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
76 |
* **Gallery alignment** - implemented gallery alignment option. Possible to select one from implemented alignment modes: left, right, center for gallery alignment inside post or page content. Alignment could be disabled.
|
77 |
* **Gallery Padding** - new padding options. Define custom values in pixels for padding gallery block in post or page content. Is it possible to define padding from left, right, top and bottom side.
|
78 |
-
|
|
|
79 |
|
80 |
= Gallery Pro Key Features =
|
81 |
|
@@ -185,10 +186,18 @@ Just install it using regular Wordpress plugins installing mechanism. If you ha
|
|
185 |
|
186 |
If you have some conflict in gallery back end you can sort it with new compatibility option. You can switch between standard and alternative jquery library. This modes implemented to help you to avoid any conflicts with another libraries from wordpress themes or another plugin.
|
187 |
|
|
|
|
|
|
|
|
|
188 |
= Do you have some limits for images types in gallery? =
|
189 |
|
190 |
You can use any standard file type in our gallery: png, jpg, jpeg, gif
|
191 |
|
|
|
|
|
|
|
|
|
192 |
= Is it possible create gallery in Wordpress post with Gallery? =
|
193 |
|
194 |
Yes, you can insert gallery into post with shortcode tag
|
@@ -197,22 +206,18 @@ Yes, you can insert gallery into post with shortcode tag
|
|
197 |
|
198 |
Every gallery image have additional fields where you can define custom link, title, description. One of the link option allow you to define link type, for example video link. All this options you can find in gallery images manager, inside general gallery settings
|
199 |
|
200 |
-
= How to upload images to the gallery? =
|
201 |
-
|
202 |
-
When you create new gallery or open already existent gallery for edit on the right side of the edit gallery section you'll see gallery images manager button. When you open gallery images manager you'll be able there edit all gallery images. Upload, edit or delete. In gallery images manager you can use drag and drop gallery images upload tool.
|
203 |
-
|
204 |
= How to change text below image in lightbox ? =
|
205 |
|
206 |
In gallery setting you can select which text show below image in gallery lightbox. You can select Caption, Title or image Description as source for this field in gallery lightbox.
|
207 |
|
208 |
-
= How to insert gallery into Wordpress page or post? =
|
209 |
-
|
210 |
-
When you create gallery in plugin galleries manager you can go to the post or page editor and there using special wizard button insert gallery into your wordpress post or page. Another way you can insert your gallery manually using shortcode, which you can find in gallery edit mode in shortcode section on the right side of the gallery settings
|
211 |
-
|
212 |
= How to define size of the gallery images thumbnails? =
|
213 |
|
214 |
Our gallery is fully responsive and gallery thumbnails size depend of a lot of factors. Gallery calculate thumbnails automatically depend of the general gallery size and gallery layout settings. First of all you can define ratio values for gallery thumbnails. Size of the thumbnails could be selected from standard pre-defined wordpress sizes: thumbnail, medium, large, full
|
215 |
|
|
|
|
|
|
|
|
|
216 |
= Do you have some limits for images amount in gallery? =
|
217 |
|
218 |
No, we don't have any limits for amount of the images in gallery
|
@@ -221,30 +226,26 @@ No, we don't have any limits for amount of the images in gallery
|
|
221 |
|
222 |
Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
|
223 |
|
224 |
-
= How to customize border of the gallery thumbnails? =
|
225 |
-
|
226 |
-
In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
|
227 |
-
|
228 |
-
= Where specify description of the gallery images? =
|
229 |
-
|
230 |
-
When you open gallery settings inside you'll find images manager section. Images manager make you able to add/edit descriptions and titles of every gallery image
|
231 |
-
|
232 |
= What can I do if some gallery interface elements in backend do not work properly? =
|
233 |
|
234 |
If you have some conflict in gallery back end you can sort it with new compatibility option. If combo box element do not drop down you can switch between classic and modern style, as result you can avoid conflict with another code.
|
235 |
|
236 |
-
= How
|
237 |
-
|
238 |
-
In our gallery we implemented layout based on columns amount. So you can general amount of the columns in your gallery grid and define custom amount of the columns which every image gonna take. As result you can customize layout of the gallery grid
|
239 |
|
240 |
-
|
241 |
|
242 |
-
|
243 |
|
|
|
|
|
244 |
= How to hide titles of the gallery image in lightbox ? =
|
245 |
|
246 |
In lightbox section of the gallery settings you can find hide title option. If you enable it titles of the gallery images in lightbox will be turned off.
|
247 |
|
|
|
|
|
|
|
|
|
248 |
= How to customize border of the gallery thumbnails? =
|
249 |
|
250 |
In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
|
@@ -253,25 +254,21 @@ In gallery settings you can find general settings section where you can turn on/
|
|
253 |
|
254 |
Yes, you can use generated direct link inside particular gallery settings
|
255 |
|
256 |
-
= Do you have some limit for images size in gallery? =
|
257 |
-
|
258 |
-
No, we don't have any limits for image size in our gallery.
|
259 |
-
|
260 |
-
= How to customize hover effect? =
|
261 |
-
|
262 |
-
In gallery settings you can find hover type options. In settings of the gallery you can select custom hover effect settings or even template for customization of the gallery thumbnails hover
|
263 |
-
|
264 |
= How to define custom hover effect for some gallery thumbnail? =
|
265 |
|
266 |
When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have custom effect field where you can select different hover effect for every image of the gallery.
|
267 |
|
268 |
-
=
|
269 |
|
270 |
-
|
271 |
|
272 |
-
= How
|
273 |
|
274 |
-
|
|
|
|
|
|
|
|
|
275 |
|
276 |
= Which parameters I can change for the gallery thumbnails borders and shadows? =
|
277 |
|
@@ -281,10 +278,6 @@ You can change size, color and style of gallery thumbnails borders and shadows.
|
|
281 |
|
282 |
In gallery settings we have few options which makes you able to select amount of the images for the first load and for load more action
|
283 |
|
284 |
-
= How to load more function work? =
|
285 |
-
|
286 |
-
In gallery admin section you can define amount of the images for the first load and after click on load more button. Load more it's such google gallery style pagination functionality which make you able to limit amount of the images for the first load
|
287 |
-
|
288 |
= How to change spacing between thumbnails? =
|
289 |
|
290 |
In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
|
@@ -293,10 +286,26 @@ In gallery settings you can define horizontal and vertical paddings between gall
|
|
293 |
|
294 |
Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
|
295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
= How to make gallery thumbnails with rounded corners? =
|
297 |
|
298 |
In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
|
299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
= How to change color of the gallery interface elements? =
|
301 |
|
302 |
Color of every gallery front end interface element could be changed changed in admin section with color selector. There you can change colors of the menu buttons, load more button, borders, shadows, backgrounds and etc.
|
@@ -317,14 +326,6 @@ When you open gallery for edit you can find there images manager where you can c
|
|
317 |
|
318 |
Every gallery image have additional fields where you can define custom link, title, description. All this options you can find in gallery images manager, inside general gallery settings
|
319 |
|
320 |
-
= How to use multi-category functionality of the gallery? =
|
321 |
-
|
322 |
-
In our gallery we implemented multi-categories structure. Every gallery category could have child and parent gallery, which you can manually define in gallery settings
|
323 |
-
|
324 |
-
= Is it possible to customize gallery image caption ? =
|
325 |
-
|
326 |
-
In gallery settings you can find images manager where you can change settings of every image, one of the option it's caption of the image
|
327 |
-
|
328 |
= How to customize gallery layouts for different screen resolutions? =
|
329 |
|
330 |
In admin section of the gallery you'll find columns options which provide you advanced customization options for different resolutions. You can define some static size or auto size for every resolution.
|
@@ -575,6 +576,9 @@ If any problem occurs, please contact us.
|
|
575 |
|
576 |
== Changelog ==
|
577 |
|
|
|
|
|
|
|
578 |
= 1.7.0 =
|
579 |
* Added new gallery backup functionality
|
580 |
* Implemented galleries export mode
|
@@ -859,6 +863,9 @@ If any problem occurs, please contact us.
|
|
859 |
|
860 |
== Upgrade Notice ==
|
861 |
|
|
|
|
|
|
|
862 |
= 1.7.0 =
|
863 |
Added new gallery backup functionality, Implemented galleries export/import mode
|
864 |
|
4 |
Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.7.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
75 |
* **Click Thumbnails** - advanced click functionality. You can use click on buttons or on the gallery thumbnails to enlarge gallery image or open gallery image link. With new functionality you can combine absolutely different features of the gallery clicking functionality.
|
76 |
* **Gallery alignment** - implemented gallery alignment option. Possible to select one from implemented alignment modes: left, right, center for gallery alignment inside post or page content. Alignment could be disabled.
|
77 |
* **Gallery Padding** - new padding options. Define custom values in pixels for padding gallery block in post or page content. Is it possible to define padding from left, right, top and bottom side.
|
78 |
+
* **Backup** - new gallery backup functionality. In backup section you can easily export settings of the galleries which you already create to transfer it another wordpress installation. Another feature import settings of already backed up galleries. With this useful feature you can transfer galleries from one to another wordpress websites or restore created galleries on this wordpress in the past.
|
79 |
+
|
80 |
|
81 |
= Gallery Pro Key Features =
|
82 |
|
186 |
|
187 |
If you have some conflict in gallery back end you can sort it with new compatibility option. You can switch between standard and alternative jquery library. This modes implemented to help you to avoid any conflicts with another libraries from wordpress themes or another plugin.
|
188 |
|
189 |
+
= How to upload images to the gallery? =
|
190 |
+
|
191 |
+
When you create new gallery or open already existent gallery for edit on the right side of the edit gallery section you'll see gallery images manager button. When you open gallery images manager you'll be able there edit all gallery images. Upload, edit or delete. In gallery images manager you can use drag and drop gallery images upload tool.
|
192 |
+
|
193 |
= Do you have some limits for images types in gallery? =
|
194 |
|
195 |
You can use any standard file type in our gallery: png, jpg, jpeg, gif
|
196 |
|
197 |
+
= How to insert gallery into Wordpress page or post? =
|
198 |
+
|
199 |
+
When you create gallery in plugin galleries manager you can go to the post or page editor and there using special wizard button insert gallery into your wordpress post or page. Another way you can insert your gallery manually using shortcode, which you can find in gallery edit mode in shortcode section on the right side of the gallery settings
|
200 |
+
|
201 |
= Is it possible create gallery in Wordpress post with Gallery? =
|
202 |
|
203 |
Yes, you can insert gallery into post with shortcode tag
|
206 |
|
207 |
Every gallery image have additional fields where you can define custom link, title, description. One of the link option allow you to define link type, for example video link. All this options you can find in gallery images manager, inside general gallery settings
|
208 |
|
|
|
|
|
|
|
|
|
209 |
= How to change text below image in lightbox ? =
|
210 |
|
211 |
In gallery setting you can select which text show below image in gallery lightbox. You can select Caption, Title or image Description as source for this field in gallery lightbox.
|
212 |
|
|
|
|
|
|
|
|
|
213 |
= How to define size of the gallery images thumbnails? =
|
214 |
|
215 |
Our gallery is fully responsive and gallery thumbnails size depend of a lot of factors. Gallery calculate thumbnails automatically depend of the general gallery size and gallery layout settings. First of all you can define ratio values for gallery thumbnails. Size of the thumbnails could be selected from standard pre-defined wordpress sizes: thumbnail, medium, large, full
|
216 |
|
217 |
+
= How to change font size of the gallery image caption? =
|
218 |
+
|
219 |
+
In gallery settings you can enable custom caption settings where you can customize font size and see results in live preview
|
220 |
+
|
221 |
= Do you have some limits for images amount in gallery? =
|
222 |
|
223 |
No, we don't have any limits for amount of the images in gallery
|
226 |
|
227 |
Quality of the gallery thumbnails could be easily changed in gallery size option / thumbnails options / source
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
= What can I do if some gallery interface elements in backend do not work properly? =
|
230 |
|
231 |
If you have some conflict in gallery back end you can sort it with new compatibility option. If combo box element do not drop down you can switch between classic and modern style, as result you can avoid conflict with another code.
|
232 |
|
233 |
+
= How to customize border of the gallery thumbnails? =
|
|
|
|
|
234 |
|
235 |
+
In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
|
236 |
|
237 |
+
= Where specify description of the gallery images? =
|
238 |
|
239 |
+
When you open gallery settings inside you'll find images manager section. Images manager make you able to add/edit descriptions and titles of every gallery image
|
240 |
+
|
241 |
= How to hide titles of the gallery image in lightbox ? =
|
242 |
|
243 |
In lightbox section of the gallery settings you can find hide title option. If you enable it titles of the gallery images in lightbox will be turned off.
|
244 |
|
245 |
+
= How to generate shortcode for Wordpress page, post or widget? =
|
246 |
+
|
247 |
+
First of all you can copy shortcode inside gallery settings , in separate shortcode block. Another way generate shortcode directly in post or page edit mode. You can find wizard button on top of content editor
|
248 |
+
|
249 |
= How to customize border of the gallery thumbnails? =
|
250 |
|
251 |
In gallery settings you can find general settings section where you can turn on/off thumbnails border. Also you can customize there style of the border, namely width, color and style of the thumbnail borders
|
254 |
|
255 |
Yes, you can use generated direct link inside particular gallery settings
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
= How to define custom hover effect for some gallery thumbnail? =
|
258 |
|
259 |
When you open gallery media manager you'll see there list of the gallery images. Click on some image and on the right side you'll see images options. Every gallery image have custom effect field where you can select different hover effect for every image of the gallery.
|
260 |
|
261 |
+
= Do you have some limit for images size in gallery? =
|
262 |
|
263 |
+
No, we don't have any limits for image size in our gallery.
|
264 |
|
265 |
+
= How I can create custom (grid) layout of the thumbnails? =
|
266 |
|
267 |
+
In our gallery we implemented layout based on columns amount. So you can general amount of the columns in your gallery grid and define custom amount of the columns which every image gonna take. As result you can customize layout of the gallery grid
|
268 |
+
|
269 |
+
= How to customize hover effect? =
|
270 |
+
|
271 |
+
In gallery settings you can find hover type options. In settings of the gallery you can select custom hover effect settings or even template for customization of the gallery thumbnails hover
|
272 |
|
273 |
= Which parameters I can change for the gallery thumbnails borders and shadows? =
|
274 |
|
278 |
|
279 |
In gallery settings we have few options which makes you able to select amount of the images for the first load and for load more action
|
280 |
|
|
|
|
|
|
|
|
|
281 |
= How to change spacing between thumbnails? =
|
282 |
|
283 |
In gallery settings you can define horizontal and vertical paddings between gallery thumbnails
|
286 |
|
287 |
Yes, you can have different styles of the borders and shadows for static and hovered gallery thumbnails.
|
288 |
|
289 |
+
= How to make shadow for the gallery thumbnails? =
|
290 |
+
|
291 |
+
Shadows of the thumbnails you can customize in gallery settings. With gallery settings you can change size , color and position of the gallery thumbnails shadow
|
292 |
+
|
293 |
+
= How to load more function work? =
|
294 |
+
|
295 |
+
In gallery admin section you can define amount of the images for the first load and after click on load more button. Load more it's such google gallery style pagination functionality which make you able to limit amount of the images for the first load
|
296 |
+
|
297 |
= How to make gallery thumbnails with rounded corners? =
|
298 |
|
299 |
In gallery settings you can find section rounds where with special options you can define radius for the gallery thumbnails
|
300 |
|
301 |
+
= How to use multi-category functionality of the gallery? =
|
302 |
+
|
303 |
+
In our gallery we implemented multi-categories structure. Every gallery category could have child and parent gallery, which you can manually define in gallery settings
|
304 |
+
|
305 |
+
= Is it possible to customize gallery image caption ? =
|
306 |
+
|
307 |
+
In gallery settings you can find images manager where you can change settings of every image, one of the option it's caption of the image
|
308 |
+
|
309 |
= How to change color of the gallery interface elements? =
|
310 |
|
311 |
Color of every gallery front end interface element could be changed changed in admin section with color selector. There you can change colors of the menu buttons, load more button, borders, shadows, backgrounds and etc.
|
326 |
|
327 |
Every gallery image have additional fields where you can define custom link, title, description. All this options you can find in gallery images manager, inside general gallery settings
|
328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
= How to customize gallery layouts for different screen resolutions? =
|
330 |
|
331 |
In admin section of the gallery you'll find columns options which provide you advanced customization options for different resolutions. You can define some static size or auto size for every resolution.
|
576 |
|
577 |
== Changelog ==
|
578 |
|
579 |
+
= 1.7.1 =
|
580 |
+
* Fixed error in backup module
|
581 |
+
|
582 |
= 1.7.0 =
|
583 |
* Added new gallery backup functionality
|
584 |
* Implemented galleries export mode
|
863 |
|
864 |
== Upgrade Notice ==
|
865 |
|
866 |
+
= 1.7.1 =
|
867 |
+
Fixed error in backup module
|
868 |
+
|
869 |
= 1.7.0 =
|
870 |
Added new gallery backup functionality, Implemented galleries export/import mode
|
871 |
|
robogallery.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Plugin Name: Robo Gallery
|
9 |
* Plugin URI: http://robosoft.co/robogallery
|
10 |
* Description: A responsive, easy and elegant way to show gallery.
|
11 |
-
* Version: 1.7.
|
12 |
* Author: RoboSoft (c)
|
13 |
* Author URI: http://robosoft.co/robogallery
|
14 |
* License: GPL-2.0+
|
@@ -19,7 +19,7 @@
|
|
19 |
|
20 |
if ( ! defined( 'WPINC' ) ) die;
|
21 |
define("ROBO_GALLERY", 1);
|
22 |
-
define("ROBO_GALLERY_VERSION", '1.7.
|
23 |
define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
24 |
define("ROBO_GALLERY_SPECIAL", 0);
|
25 |
|
8 |
* Plugin Name: Robo Gallery
|
9 |
* Plugin URI: http://robosoft.co/robogallery
|
10 |
* Description: A responsive, easy and elegant way to show gallery.
|
11 |
+
* Version: 1.7.1
|
12 |
* Author: RoboSoft (c)
|
13 |
* Author URI: http://robosoft.co/robogallery
|
14 |
* License: GPL-2.0+
|
19 |
|
20 |
if ( ! defined( 'WPINC' ) ) die;
|
21 |
define("ROBO_GALLERY", 1);
|
22 |
+
define("ROBO_GALLERY_VERSION", '1.7.1');
|
23 |
define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
24 |
define("ROBO_GALLERY_SPECIAL", 0);
|
25 |
|