Announcement

#1 2014-05-25 14:05:22

caidaoli
Member
2014-05-25
8

How to enable TIFF support

Hello/Hi/Greetings,

How to enable TIFF support?  thanks

Piwigo version: 2.6.2
PHP version: 5.3.27
MySQL version: 5.5.34
Piwigo URL: http://caidaoli.com

Offline

 

#2 2014-05-25 14:07:46

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

Re: How to enable TIFF support

Hi

as TIFF is not displayable by browser you will have to use manual upload and pwg_representative
http://piwigo.org/doc/doku.php?id=user_ … ure#by_ftp (the example is for AVI video files)

[extension by julien1311] File Uploader allows to upload any file with it's representative, but one by one

Offline

 

#3 2014-05-25 14:38:16

flop25
Piwigo Team
2006-07-06
7037

Re: How to enable TIFF support

Hello
TIFF support is enabled in Pwiigo if and only if you have Imagemagik, in order to convert the tiff in png


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2014-05-25 14:44:40

caidaoli
Member
2014-05-25
8

Re: How to enable TIFF support

ImageMagick 6.7.1-2

Offline

 

#5 2014-05-25 14:46:34

flop25
Piwigo Team
2006-07-06
7037

Re: How to enable TIFF support

so did you try to upload it?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-05-25 14:51:52

caidaoli
Member
2014-05-25
8

Re: How to enable TIFF support

lightroom plug by alloyphoto:

Offline

 

#7 2014-05-25 14:54:07

caidaoli
Member
2014-05-25
8

Re: How to enable TIFF support

web:

Offline

 

#8 2014-05-25 14:56:37

flop25
Piwigo Team
2006-07-06
7037

Re: How to enable TIFF support

from Lightroom that's normal
about the web upload, I don't speak asian languages


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2014-05-25 15:00:45

caidaoli
Member
2014-05-25
8

Re: How to enable TIFF support

flop25 wrote:

from Lightroom that's normal
about the web upload, I don't speak asian languages

thanks

Offline

 

#10 2014-05-25 15:02:51

caidaoli
Member
2014-05-25
8

Re: How to enable TIFF support

mistic100 wrote:

Hi

as TIFF is not displayable by browser you will have to use manual upload and pwg_representative
http://piwigo.org/doc/doku.php?id=user_ … ure#by_ftp (the example is for AVI video files)

[extension by julien1311] File Uploader allows to upload any file with it's representative, but one by one

thanks

Offline

 

#11 2014-07-10 15:57:36

aba
Member
2014-07-10
4

Re: How to enable TIFF support

Hi,

based on this code from photos_add_direct_prepare.inc.php:

if (pwg_image::get_library() == 'ext_imagick')
{
  $upload_file_types.= ', tiff';
  $template->assign('tif_enabled', true);
}

I should be able to upload tiff if the condition is met.

Based on admin page, graphic library is  ImageMagick 6.7.7-10

So it seems that pwg_image::get_library() != 'ext_imagick' - is any way how can I find why?

Thanks

Petr

Offline

 

#12 2014-07-10 16:32:57

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

Re: How to enable TIFF support

aba wrote:

Based on admin page, graphic library is  ImageMagick 6.7.7-10

This is not like me "External ImageMagick 6.7.7-10".

With plugin LocalFiles Editor, edit the "local config", and add:

Code:

<?php
$conf['graphics_library'] = 'ext_imagick';
?>

Offline

 

#13 2014-07-10 16:52:48

aba
Member
2014-07-10
4

Re: How to enable TIFF support

hi, thank you very much...

I found it just few moments before you replied. Now I'm able to upload tiff through web form.

Should it work through ftp upload? When I put tiff file into existing album in ./galeries dir, nothing happened (I also tried add /pwg_representative directory with relevant files). What can be wrong?

Offline

 

#14 2014-07-10 16:57:02

flop25
Piwigo Team
2006-07-06
7037

Re: How to enable TIFF support

maybe use the local config to add tiff to file_ext


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#15 2014-07-10 17:11:16

aba
Member
2014-07-10
4

Re: How to enable TIFF support

I add this to local config

// file_ext : file extensions (case sensitive) authorized
$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG',
                          'png','PNG','gif','GIF','mpg','zip',
                          'avi','mp3','ogg','tif','TIF');

// picture_ext : file extensions for picture file, must be a subset of
// file_ext
$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG',
                             'png','PNG','gif','GIF','tif','TIF');

Now sync found new file and it seems that file are somehow processed, but there is no jpg file created instead of tiff so it doesn't help.

Offline

 

Board footer

Powered by FluxBB

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