Announcement

#91 2018-03-25 10:12:04

r.orrison
Member
2014-12-05
19

Re: [Plugin] Charlies content

There isn't an option to sync that album, since it wasn't an FTP upload initially.  I eventually want the PDFs in an album with many photos, the album will be created by API from Lightroom using http://alloyphoto.com/plugins/piwigo/ - so I don't want to create the whole album by FTP upload and sync.

I did try creating another test album, copying the PDF into galleries/orrison-photos and the JPG into galleries/orrison-photos/pwg_representative and syncing, and that has worked fine: https://orrison.com/gallery/index/category/256

The problem is just updating (or creating) the thumbnail on a PDF that was uploaded by the web form...

Randy

Last edited by r.orrison (2018-03-25 10:12:37)

Offline

 

#92 2018-03-25 10:20:03

r.orrison
Member
2014-12-05
19

Re: [Plugin] Charlies content

Aha!  I can put the PDFs and manually created thumbnails into a separate album, synchronise that, then link them into the album where I really want them.  A bit convoluted, but I think it will work.

Thanks again - and let me know if there's a better way!

Randy

Offline

 

#93 2018-03-25 10:49:15

jdd
Member
Toulouse (France)
2009-12-19
110

Re: [Plugin] Charlies content

In fact I don't know.

I tried to reproduce what you did and couldn't even upload the pdf file with the form. I guess you changed some config file to allow the upload? do you remember which?

I also noticed that the thumbnail is created (for jpg) in the upload folder, with the same name as the image with "-th" added just after the name and before the .jpg

may be adding the thumbnail will be seen?

thanks testing
jdd

Offline

 

#94 2018-03-25 11:16:45

r.orrison
Member
2014-12-05
19

Re: [Plugin] Charlies content

Hi,
No - I didn't change anything to be able to upload it.  See the attached image - PDF is one of the options.  The only change I've made to the plugin was the version numbers in main.inc.php to get rid of the version compatibility error.

And I don't have any -th.jpg files in my upload folders - not for any of my images!

...

Interesting... My uploads folder is /upload but I've just found /_data/i/upload which is where the thumbnails appear to be.  So maybe I could find out what filename the PDF was uploaded as, and use FTP to upload the -th.jpg thumbnail file to _data/i/upload...

I think I'll just stick with the method I've figured out, uploading PDF+JPG directly to a folder and synchronising that.

It would be nice if it was possible in the Edit photo page to upload the thumbnail, but I suspect that would be quite a bit of work.

Thanks again,

Randy


Uploaded Images

Offline

 

#95 2018-03-25 12:34:34

jdd
Member
Toulouse (France)
2009-12-19
110

Re: [Plugin] Charlies content

I see. It seems like there is a problem in my local config. I once changed the default file (in the default file editor plugin), and now he default config file is no more used. Not your problem, so I will investigate when time permits :-)
thanks
jdd

Offline

 

#96 2018-12-29 11:47:48

augras
Member
2018-12-24
3

Re: [Plugin] Charlies content

Bonjour,
J'ai téléchargé la version 3.2.1 et via ftp copier le répertoire charlies dans plugin : il y a une erreur dans l'administration qui indique que c'est la version 3.0.1.
J'ai vérifié le fichier main.inc.php et effectivement il y a d'indiqué 3.0.1 et non 3.2.1 alors que le zip lui est bien en 3.2.1 : j'ai mis le bon n° de version dans le fichier main.inc et plus d'ereur. MAIS le plugin Charlies Content qui est bien listé dans la liste des plugins activé n'apparait pas dans la liste sous "Gérer" et je ne peux rien configurer : il n'y a rien à configurer ?
Merci,
Philippe

Sorry, i go to the french forum !

Last edited by augras (2018-12-29 12:04:27)

Offline

 

#97 2018-12-29 12:20:51

jdd
Member
Toulouse (France)
2009-12-19
110

Re: [Plugin] Charlies content

there is little to configure. Writing a configuration page is over my knowledge and the inital one when I began maintaining Charlie's what nit working anyway.

The only thing I see that may be useful is the width and height of the video, and this is easy to change directly on the files

jdd

Offline

 

#98 2018-12-29 18:52:29

augras
Member
2018-12-24
3

Re: [Plugin] Charlies content

Ok, thanks a lot jdd,
Philippe

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact