Announcement

#1 2016-03-11 21:16:40

jff
Member
2016-02-09
15

Multiple formats

Hello,

How does multiple formats work?

I read that it only works with sync but I tried to synchronize a folder with FileExample.jpg and FileExample.tif but I get two images.
One jpg and another tif, although with sync I don't get the .tif thumbnail.

Should I change some config or should I follow some order to upload a different version of the same file?

Thank you.

Piwigo version:2.8
Operating system: Darwin
PHP version: 5.5.30
MySQL version: 5.6.25
Piwigo URL: http://http://www.jffprv.eu/pwg/ent/nv/
Graphics Library: External ImageMagick 6.9.2-10

Last edited by jff (2016-03-11 21:18:02)

Offline

 

#2 2016-03-11 21:27:26

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Multiple formats

Hi jff,

Here is a quick explanation of how multiple format works:

Code:

galleries
├── index.php
└── multiformat
    ├── araignee-mer.jpg
    ├── presquile.jpg
    └── pwg_format
        ├── araignee-mer.cmyk.jpg
        ├── araignee-mer.cr2
        ├── presquile.cmyk.jpg
        └── presquile.cr2

and in my local configuration, I have:

Code:

<?php
$conf['enable_formats'] = true;
$conf['format_ext'] = array('cmyk.jpg', 'cmyk.tif', 'cr2', 'prorgb.jpg');
?>

Offline

 

#3 2016-03-11 21:46:39

jff
Member
2016-02-09
15

Re: Multiple formats

Ok, it works perfectly!!

My other format is tif so I also add 'tif' in the $conf['format_ext'] array, although I'm not sure if it's necessary.

Thank you.
Great work!

Offline

 

#4 2016-03-26 15:51:18

edison23
Member
2009-08-28
12

Re: Multiple formats

Hi, do you want some help help with Czech (and possibly other, too) localization of this new feature? There's "formats" instead of "formáty" and "mb" instead of "MB" in the DL menu in Czech loc. :)

Offline

 

#5 2016-03-27 20:11:10

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

Re: Multiple formats

edison23 wrote:

Hi, do you want some help help with Czech (and possibly other, too) localization of this new feature? There's "formats" instead of "formáty" and "mb" instead of "MB" in the DL menu in Czech loc. :)

Hi :-)

edison23, can you help us to update CZ help ?


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

 

#6 2016-03-27 21:12:45

edison23
Member
2009-08-28
12

Re: Multiple formats

ddtddt wrote:

Hi :-)

edison23, can you help us to update CZ help ?

Yes, I can (my native language is Czech).

Offline

 

Board footer

Powered by FluxBB

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