Hello togehther :)
For the update to 2.7 you wrote:
Advanced feature : now you can upload any file type. In your local configuration, set conf['upload_form_all_types'] = true; and Piwigo will let you upload any file matching $conf['file_ext'].
Where do I find this file / this configuration? In which folder/file? On the Admin site I don't find anything. I want to change it, because I want to upload pdf's (and: if I found a solution for the thumbnails, but thats another thing...)
I only get failures when I want to upload pdf's via piwigo admin site.
Thank You for working on it! :)
Joachim Müller
Backnang
Piwigo version: 2.7.4
PHP version: 5.6.17
MySQL version: 5.5.38.1
Piwigo URL: http://www.jmweb.de/fotos/piwigo/index.php?/
Offline
Hi Genusstaucher,
Can you copy here your local config?
On you Piwigo administration home, can you tell us which graphic library you use?
Offline
Hello :)
Where can I see my configuration exactly? Where have I to cklick? This is my home of my admin config:
Offline
Activate plugin LocalFiles Editor, then go on [Administration > Plugins > LocalFiles Editor > local config]
Offline
OK. Local? It is emty... I fear, that is the problem??? :)
Offline
OK, you have no local config. In the field, you need this:
<?php $conf['file_ext'] = array_merge( $conf['picture_ext'], array('pdf') ); $conf['upload_form_all_types'] = true; ?>
Offline
Merci beaucoup :)
J'essaie demain.
Ce 19:45h.
Assez pour aujourd'hui.
Salut
Jo
Offline
I've done it ;)
The upload function was perfekt, but the view on the gallery gives this kind of failures:
Warning: include(./include/category_default.inc.php): failed to open stream: No such file or directory in /var/www/web940/html/fotos/piwigo/index.php on line 323
Warning: include(./include/category_default.inc.php): failed to open stream: No such file or directory in /var/www/web940/html/fotos/piwigo/index.php on line 323
Warning: include(): Failed opening './include/category_default.inc.php' for inclusion (include_path='.:/opt/php/5.6.17/share/pear') in /var/www/web940/html/fotos/piwigo/index.php on line 323
Notice: Trying to get property of non-object in /var/www/web940/html/fotos/piwigo/index.php on line 329
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web940/html/fotos/piwigo/index.php:323) in /var/www/web940/html/fotos/piwigo/include/page_header.php on line 101
Hmmm, I think, there is no possibilty to construct a virtuel database with other file formats then pictures (jpg, tiff, png...). Am I wrong?
Last edited by Genusstaucher (2016-02-12 17:35:31)
Offline
:) Salut :)
Meanwhile I'm able to upload all formats! With a few plugins no problem, AND: withouzt Plugin, only PIWIGO an the local config
$conf['file_ext'] = array_merge(
$conf['picture_ext'],
array('pdf')
);
$conf['upload_form_all_types'] = true;
is it possible without plugins :)
OK. But now I got another problem :(
When I go to the galery, the galery not show my uploaded pdfs. I got a few failures...
See
http://www.jmweb.de/fotos/piwigo/index.php?/category/31
OK. How will they shown? And: how will they open from a guest?
Offline
OK :) Meanwhile I installed a fresh and new piwigo and I updated my photos. So far so good.
With the plugin File Uploader I am able to upload pdf files into a physical album. What I need now is following:
1) the pdf files don't have a thumbnail. I created a few jpg for these pdfs, but I am not able to put it "together", if you know, what I mean. I'm not able to set the jpeg as a thumbnail for the pdf.
2) The guests on my website aren't able to download the pdf files, because they don't see them.
3) for 1) and 2) it is the same for avi / flv / videos. The guests are not able to a) download or better b) view directly.
Are there any solutions?
Regards
Jo
Genusstaucher
Piwigo latest
http://www.jmweb.de/piwigo/index.php?/category/3 for the "pdf's" (in the moment there is no pdf only multiple png pages) I try to get a testsetting of piwigi with wamp-server on my local computer to test some ideas...
Offline
Genusstaucher wrote:
3) for 1) and 2) it is the same for avi / flv / videos. The guests are not able to a) download or better b) view directly.
Done and solved. Create a new folder under piwigo, upload a flv or s.l.t. , synchronise, take the plugin charlies content, enable it, ready for watching :)
Offline