source: extensions/Front2Back/main.inc.php @ 6299

Last change on this file since 6299 was 3339, checked in by vdigital, 15 years ago

+ Add Front2Back to depository
+ Add Panoramas to depository

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1<?php /*
2Plugin Name: Front2Back
3Version: 2.0.a
4Description: Postcards back display if there is. / Verso d'une carte.
5Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=183
6Author: VDigital (PhpWebGallery team)
7Author URI: http://www.phpwebgallery.net
8*/
9
10/* Synopsis
111 - If same name file exists in ./thumbnail/verso/ or ...
122 - A link is displayed
133 - OnMouseOver Front2Back replace the original picture
14
15Localisation of Front2Back, just add:
16$lang['Front2Back'] = 'See back';
17in your ./language/xxxx/local.lang.php
18
19Requirements/recommendations:
201 - Backsize = Frontsize
212 - Profile displayed sizes are Null or > Backsided pictures sizes
223 - Metadata are synchronized
23
24*/
25/*
26History
27  2008-10-30 2.0.a (stable)
28             Smarty version for Piwigo (Don't use it with PhpWebGallery 1.7.x)
29  2007-11-07 Add -r to back filenames if your picture are portrait in one side
30             and landscape in the other one. 
31  2007-10-10 Additional and optionnal parameters
32     $conf['Front2Back_path'] real path if you want them outside ./galleries/
33       Warning: if F2B_path is set then directory tree will not reminded !
34     $conf['Front2Back_parent'] can be set to 'thumbnail/' or 'pwg_high/'
35     
36  2007-10-08 Conflict with PY GVideo solved
37     (render_element_content usage error: No residual impact)
38  2007-10-07 First release
39*/
40
41if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
42define('F2B_DIR' , basename(dirname(__FILE__)));
43define('F2B_PATH' , PHPWG_PLUGINS_PATH . F2B_DIR . '/');
44include_once( F2B_PATH . 'Front2Back.php');
45?>
Note: See TracBrowser for help on using the repository browser.