Skip to content

Commit

Permalink
Update to 1.0.3 tested with CMSimple 4.7.3 and CMSimple XH 1.7.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstutz committed Jan 5, 2018
1 parent 29eee33 commit 9a19c22
Show file tree
Hide file tree
Showing 61 changed files with 763 additions and 425 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,4 +1,4 @@
Copyright 2012 - 2014 David Stutz
Copyright 2012 - 2018 David Stutz

The plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
66 changes: 6 additions & 60 deletions README.md
Expand Up @@ -4,9 +4,11 @@ CMSimple Pictures is a CMSimple plugin for creating sliders and galleries.

**For using this Plugin with the latest CMSimple XH version, a minor update is necessary, see [here](https://cmsimpleforum.com/viewtopic.php?f=16&t=12904#p61121).**

Project page: [http://davidstutz.de/cmsimple/?Pictures](http://davidstutz.de/cmsimple/?Pictures).
Project page: [http://davidstutz.de/projects/cmsimple-plugins/](http://davidstutz.de/projects/cmsimple-plugins/).

Documentation: [http://davidstutz.github.io/cmsimple-pictures/help/help_en.htm](http://davidstutz.github.io/cmsimple-pictures/help/help_en.htm).
Documentation: [http://davidstutz.de/cmsimpledemo/plugins/pictures/help/help_en.htm](http://davidstutz.de/cmsimpledemo/plugins/pictures/help/help_en.htm).

Demo: [http://davidstutz.de/cmsimpledemo/?Pictures](http://davidstutz.de/cmsimpledemo/?Pictures)

**Outdated** Sourceforge project: [https://sourceforge.net/projects/cmsimplepctrs](https://sourceforge.net/projects/cmsimplepctrs).

Expand All @@ -29,67 +31,11 @@ Also tested on:

* CMSimple XH 1.4.2 and 1.1.4.
* CMSimple Realblog 1.5 or higher.

## Changelog

### 1.0.2

* Added configuration option `images_thumbnail_function` to increase thumbnail quality.

### 1.0.1

* Minor updates, additional tests for CMSimple XH 1.6.4.

### 1.0.0

**Beta 14.**

* Update to support CMSimple XH 1.6.x.

**Beta 13.**

* Fixed version.nfo.
* Added sorting of the galleries.

**Beta 12.**

* Added bxslider version 4 driver for basic carousels (for now only with minimal configuration options).
* Updated the documentation accordingly to the new driver.
* Fixed some issues concerning the thumbnail generation.
* Added version.nfo.

**Beta 11.**

* Added configuration options to change the text displayed as next and previous button using the coinslider driver. This change required some changes on the coinslider JS.
* Updated documentation.

**Beta 10.**

* Added support for upper case extensions like PNG, JPEG, JPG or GIF.
* Added configuration option images_thumbnail_extension defining the extension of the generated thumbnails. Currently supported options are 'jpeg' and 'png'.
* Added configuration option images_sort_function defining the function to be used for sorting the images. Natively supported are 'pictures_sort_asc' and 'pictures_sort_desc'. To write your own custom sort functions see here.

**Beta 9.**

* Updated documentation and added documentation for the innerfade driver.
* Fixed bug described here: http://cmsimpleforum.com/viewtopic.php?f=5&t=5953#p34683. Again, thanks to Christoph!

**Beta 8.**

* Fixed bug described here: http://cmsimpleforum.com/viewtopic.php?f=12&t=4517&start=20#p34489. Thanks to Christoph!

**Beta 7.**

* Removed some minor issues with the lightbox configuration for the bxslider driver.

**Up to beta 6.**

* Added bxslider_original configuration key determining whether to use the original images instead of the thumbnails in the slider.
* Added images_thumbnail_compression configuration key to define compression of thumbnails.
* CMSimple 4.7.3.

## License

Copyright 2012 - 2014 David Stutz
Copyright 2012 - 2018 David Stutz

The plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Expand Down
17 changes: 10 additions & 7 deletions admin.php
Expand Up @@ -11,7 +11,7 @@
* @package pictures
* @see http://sourceforge.net/projects/cmsimplepctrs/
*
* Copyright 2012 - 2014 David Stutz
* Copyright 2012 - 2018 David Stutz
*
* This file is part of the pictures plugin for CMSimple.
*
Expand All @@ -27,16 +27,19 @@
*
* @see <http://www.gnu.org/licenses/>.
*/

if (!defined('CMSIMPLE_XH_VERSION')) {
header('HTTP/1.0 403 Forbidden');
exit;
}

/*
* Register the plugin menu items.
*/
if (function_exists('XH_registerStandardPluginMenuItems')) {
XH_registerStandardPluginMenuItems(false);
}


/* Require classes. */
if (!class_exists('Pictures', FALSE)) require_once dirname(__FILE__) . '/pictures.php';

if (isset($pictures))
if (isset($pictures) OR isset($_GET['pictures']))
{
/* Make CMSimple global saccessable. */
global $sn;
Expand Down

0 comments on commit 9a19c22

Please sign in to comment.