In few words:
- yoga template compliant
(within picture.tpl <!-- BEGIN legend --> tag
is used as reference for plugin implementation)
- PWG 1.7 compliant ; no change requested in code/template/css
- alternative picture offsets are parameters
- alternative picture directory is partely a parameter
Current parameters are:
- to be changed in local.lang.php
$lang['Front2Back'] = 'See back'; /* Default link text */
- to be changed in config_local.inc.php
$conf['Front2Back_dir'] = 'verso/'; /* thumbnail subdirectory */
$conf['Front2Back_vshift']= 25; /* vertical offset shift */
$conf['Front2Back_hshift']= -23; /* horizontal offset shift */
Plugin: http://phpwebgallery.net/ext/extension_view.php?eid=183
Offline
Un exemple volontairement les images ne sont pas superposées.
8-)
Offline
This is a sample. Both pictures are known to be shifted.
Offline
VDigital wrote:
Un exemple volontairement les images ne sont pas superposées.
8-)
Sorry I shouted on both forum in the same time. Thank to Mathias for his translation.
And I did give the link:
Move your mouse to "Surprise"
8-)
Offline
Last release has additional and full optionnal parameters:
$conf['Front2Back_path'] = 'http://real path...'
if you want back pics outside your ./galleries/ tree
Warning: if F2B_path is set then subdirectory tree will not be reminded !
$conf['Front2Back_parent'] = 'thumbnail/' or 'pwg_high/'
default is 'thumbnail/'
1 - Coding sample:
$conf['Front2Back_parent'] = '';
$conf['Front2Back_dir'] = '';
could be useful with $conf['Front2Back_path']
2 - Other case :
$conf['Front2Back_parent'] = 'pwg_high/';
$conf['Front2Back_dir'] = 'SB_'; /* in state of verso/ */
then "see back" pictures will have to be prefixed by SB_
And they will be search in pwg_high/ belong your physical category.
That's it.
8-)
Offline
Advice:
Install "LocalFiles Editor" plugin.
Any $conf can be added or changed in :
./include/config_local.inc.php
"LocalFiles Editor" is the easiest way to do it.
8-)
Offline
Could you please be specific on how to get this extension to work. Step by step instructions please.
Offline
nighthawk wrote:
Could you please be specific on how to get this extension to work. Step by step instructions please.
You must have FTP access to your gallery
Is this the case?
Offline
1/ install an active plugin
go to Administration -> Plugins -> Manage -> tab 'Other plugins available'
Search 'Front2Back' -> Install
Go tab 'plugins list'
Search 'Front2Back' -> Install ans active
-----
By FTP
go to folder galleries
go to folder where you vant create over
go to thumbnail fot this directories
crate folder verso
put ovec picture with a same name
Offline
a new version for Piwigo 2.2.0 is out
[extension by VDigital] Front2Back
Offline