Navigation Menu

Skip to content

Geeklog-Plugins/mediagallery

 
 

Repository files navigation

-----------------------------------------------------------------------
- Media Gallery Plugin for Geeklog 
- version: 1.7.3
- author:  Yoshinori Tahara - dengen <taharaxp AT gmail DOT com>
- date:    2022-11-07
- license: GPLv2
-----------------------------------------------------------------------

* See the docs/INSTALL file for installing instructions and upgrading
  instructions.

* In addition to this document, see the older document docs/older/README.jp.
  (Sorry, it is written in Japanese only.)

Overview
--------
The Geeklog Media Gallery Plugin (formerly called Media Gallery WKZ) is 
an integration of Media Gallery v1.6.1 Japanese version (released by maruyo) 
and Media Gallery v1.6.8 (glFusion CMS version).

Note in case of upgrade
-----------------------
Media Gallery can upgrade from Media Gallery v1.6.1 Japanese version.
But, in Media Gallery, the layout of files was mainly changed compared with
Media Gallery v1.6.1 Japanese version. It is because I had to change things 
when I integrated the Media Gallery from glFusion. Therefore, if you upgrade, 
be careful.

Before upgrade, Please make sure to back up previous versions of files and
databases.

Media files are stored during operation was registered under the following four
directories. Keep these directories and files under the following directories
left.

public_html/mediagallery/mediaobjects/covers
public_html/mediagallery/mediaobjects/disp
public_html/mediagallery/mediaobjects/orig
public_html/mediagallery/mediaobjects/tn

All other files, please replace the files in the archive of Media Gallery.
Then please update Mediagallery plugin in the plugin administration page.

Setting Permissions
-------------------
The following directory permissions must be set 757 (or 777).

private/plugins/mediagallery/tmp
private/plugins/mediagallery/uploads
public_html/mediagallery/mediaobjects/covers and the following directories
public_html/mediagallery/mediaobjects/disp   and the following directories
public_html/mediagallery/mediaobjects/orig   and the following directories
public_html/mediagallery/mediaobjects/tn     and the following directories

Change Log for Version 1.7.3
------------------------
* Fixed remote upload of media issue
* Fixes for PHP 7 and 8.1
* Fix for comments not taking into account user permissions on item

Change Log for Version 1.6.10
------------------------
From Version 1.6.10 I extend the functionality of the glFusion version.

(1) Imported some of the version 1.6.10 of glFusion.

    It seems that some Autotag been added.

(2) JQuery JavaScript library support.

    Use jQuery in place of MooTools, Media Gallery works.
    It changes by $_MG_CONF['js_lib'] which is defined in config.php.

(3) New template (theme) were added.

    Added the following three templates.
    * css_layout :        As its name suggests,avoid table layout,this is the CSS
                          layout. Finished my taste.
    * jquery_ad-gallery : This template is built in AD-Gallery. AD-Gallery is a 
                          well-known software created by jQuery.
    * jquery_colorbox :   This template is built in Colorbox. Colorbox is a 
                          well-known software created by jQuery.
    NOTE: jquery_ad-gallery and jquery_colorbox works on jQuery mode only.

(4) New frame template were added by new method.

    * new_border
    * new_shadow
    These frame templates, abolishing the table layout, and using the normal 
    thtml and CSS files. Probably everyone has more easy to handle.
    In a 'public_html/frames' folder, Please check the 'new_border' folder
    and the 'new_shadow' folder.

(5) Support square (150x150) cropped thumbnails.

    It generates with the normal thumbnails simultaneously.
    To create the square thumbnail of existing images, run 'Rebuild Thumb'.

(6) Added the mode go to the next image, when you click the image.

    Previously, when you click the image was switched image size (full or normal).
    In order to enable it change $_MG_CONF['click_image_and_go_next']
    which is defined in config.php.

(7) Improved PHP block function phpblock_mg_randommedia.

    Added arguments to phpblock_mg_randommedia. By them You can adjust the
    display image. The format is as follows.

    phpblock_mg_randommedia(geometry, maximum_width)

    'geometry' is set to 0 or 1. (default:0)
        0: The image aspect ratio is the same as the original image.
        1: Image aspect ratio is 1, it is a square.
    'maximum_width' is set to ranges of 10-200 in pixels.
        The default value is the setting value of
        'Media Gallery Administration'->'System Options'->'Random Image Block Width'.
        The maximum width is evaluated as the maximum height.
    Ex.
        phpblock_mg_randommedia(1,150)
        The image will be 150x150 pixels square.

(8) Added settings to config.php.

    For more information, please see the comments in config.php.

(9) Several bug fixes and optimizations.

Change Log for Version 1.6.11
------------------------
* Added one setting 'Media Gallery Administration'->'System Defaults Editor'->
  'Album Defaults'->'Access Rights'->'Group'.
* Fixed problem when creating the album does not reflect the setting value of
  'Media Gallery Administration'->'System Defaults Editor'->'Album Defaults'->
  'User Uploads'->'Moderator Group'.
* Fixed problem causing an error when embedding a jQuery slideshow auto-tag,
  because lacked a necessary template for the following.
  /plugins/mediagallery/templates/autotag_ss_jquery.thtml
* Fixed Line feed codes had been mixed. (CR+LF to LF)

Change Log for Version 1.6.12
------------------------
* Fixed issue not work with Geeklog 1.8.0 or later.
* Fixed issue can not be installed with MySQL 5.3.3 or later.

Change Log for Version 1.6.13
------------------------
* Fixed issue can not be installed with Geeklog 2.0.0b1 or later.

Change Log for Version 1.6.14
------------------------
* Supported COM_createHTMLDocument function with Geeklog2.0.0.
* Updated Slimbox, AD Gallery and Colorbox.
* Fixed Slideshow (Slimbox) does not work with Geeklog1.8.0 or later.
* Fixed issue Slideshow does not work with Internet Explorer 10.
* Fixed issue error occurs in the search form.

Change Log for Version 1.6.15
------------------------
* Updated jQuery Cycle Lite Plugin.
* Updated SWFObject.

Change Log for Version 1.6.16
------------------------
* Fixed Slideshow Autotag does not work correctly.

Change Log for Version 1.6.17
------------------------
* Fixed issue not work with Geeklog 2.1.0.

Change Log for Version 1.7.2.2
------------------------
* Misc fixes to be compatible with PHP v7.0+
* Replaced SWFUpload with normal upload
* Misc bug fixes on the Admin page
* Refactored some code to work with the latest Geeklog API found in Geeklog 2.2.1sr1
* Latest Geeklog Comment API is supported
* Added New Media Comments to What's New Block
* Fixed Media Comments when displayed on more than one page
* Added Help menu item to Media Gallery Admin page for easy access

Change Log for Version 1.7.2.3
------------------------
* Fixed Media tab in Media Gallery plugin to work with themes that use UIKit
* Fixed remote upload of media issue
* Now works with XML Sitemap Plugin (fixed issue with plugin_getiteminfo_mediagallery and keys)
* Added support for XML Sitemap Plugin v2.0.3 that should eventually ship with Geeklog v2.2.2
* Updated support for Nikon cameras
* Other minor misc fixes

Change Log for Version 1.7.2.4
------------------------
* Misc PHP 7.4+ support fixes

Change Log for Version 1.7.2.5
------------------------
* Now works with Geeklog 2.2.2 and PHP 8.1

Caution
-------
* usage.html and upgrade.html under public_html/mediagallery/docs have the
  different parts of the contents of the current version because they were
  described at the time of the exhibition of Media Gallery v1.6.

About

Media Gallery Plugin for Geeklog

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 85.5%
  • HTML 12.6%
  • Other 1.9%