Announcement

#1 2007-10-06 20:32:29

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

[Plugin] Front2Back

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


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#2 2007-10-06 22:58:46

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [Plugin] Front2Back

Un exemple volontairement les images ne sont pas superposées.
8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2007-10-07 01:09:24

mathiasm
Former Piwigo Team
2006-02-06
2650

Re: [Plugin] Front2Back

This is a sample. Both pictures are known to be shifted.

Offline

 

#4 2007-10-07 08:31:28

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [Plugin] Front2Back

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-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#5 2007-10-11 08:08:44

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [Plugin] Front2Back

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-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2007-10-11 11:24:01

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [Plugin] Front2Back

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-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#7 2010-11-11 11:32:46

nighthawk
Member
2010-11-07
18

Re: [Plugin] Front2Back

Could you please be specific on how to get this extension to work. Step by step instructions please.

Offline

 

#8 2010-11-11 19:31:11

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [Plugin] Front2Back

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?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#9 2010-11-11 20:00:37

nighthawk
Member
2010-11-07
18

Re: [Plugin] Front2Back

Yes, I have FTP access

Offline

 

#10 2010-11-11 20:18:48

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [Plugin] Front2Back

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


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#11 2011-03-19 23:02:07

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: [Plugin] Front2Back

a new version for Piwigo 2.2.0 is out
[extension by VDigital] Front2Back

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact