Announcement

#1 2013-06-14 15:22:08

Dom
Guest

thumbnail for other files

Hi there.
I'm new on piwigo.
In the localconfig I've wrote this string
$conf['file_ext'] =  array('jpg','JPG','png','PNG','gif','GIF','mpg','zip','avi','mp3','ogg','pdf','eps','ai', 'psd');
and now I'm able to synconize and view different file types (like EPS, PSD), but withouth displaying their right thumbnails located in the relative 'thumbnail' sub-folder.
How can I do that?

Thank you
D.

 

#2 2013-06-14 15:56:49

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

Re: thumbnail for other files

Hello

it's in the doc
http://piwigo.org/doc/doku.php?id=user_ … ure#by_ftp
=> pwg_representative

Offline

 

#3 2013-06-14 16:14:17

Dom
Guest

Re: thumbnail for other files

mistic100 wrote:

Hello

it's in the doc
http://piwigo.org/doc/doku.php?id=user_ … ure#by_ftp
=> pwg_representative

Thank you very much. I was using the wrong folder: /thumbnail and not /pwg_representativeIt works! :)
The problem is that I have a large galleries who contains png,jpeg but also eps, psd, ai.
I'm thinking about use the photoshop actions and batch export to open eps-psd-ai and save their relative thumbnails putting them manually in the right folder.
I was wondering if a smarter solution than mine exists.
Any ideas?

Thank you
D.

 

#4 2013-06-14 16:42:37

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

Re: thumbnail for other files

for media files you can create a script using ffmpeg, but for proprietary Adobe files I think the best way is your's

though the manual part can also be automated whith a kind a filename detection within a script

Offline

 

#5 2013-06-17 11:05:43

Dom
Guest

Re: thumbnail for other files

mistic100 wrote:

for media files you can create a script using ffmpeg, but for proprietary Adobe files I think the best way is your's

though the manual part can also be automated whith a kind a filename detection within a script

Thanks, ffmpeg could be useful!
And what about the special characthers in filename? My archive is very large and I can't delete each _ or - or special characters. Ther's some way to force the syncronization to put and view these files in piwigo?

 

#6 2013-06-17 11:15:03

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

Re: thumbnail for other files

search sync_chars_regex in the config file

Offline

 

#7 2013-06-17 11:18:44

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

Re: thumbnail for other files

you can also use batch tools like Ant Renamer

Offline

 

#8 2013-07-04 12:52:05

Dom
Guest

Re: thumbnail for other files

I'm posting this suggestion for everyone is using Piwigo to archive also other file types (like eps, psd).
Using Image Processor Pro with photoshop (download here http://www.russellbrown.com/scripts.html)
you can automatic and quickly process 'n' files into 'n' folders resizing and saving as-into a 'pwg_representative' folder: you don't need to create it manually, image processor pro will do it for you!

 

Board footer

Powered by FluxBB

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