hello,
I tried the use of imagemagick with pdf-files. There is a problem:
I upload foo.pdf.
s9y/imagemagick makes foo.serendipityThumb.pdf wich is empty. And it makes foo.serendipityThumb.pdf.png whth the real thuimbnail.
But the media-library wants to show as the thumbnail the foo.serendipityThumb.pdf!
And by the way: Why did imagemagick makes the LAST page of the pdf to the thumbnail, would not be the first one better?
imagemagick and pdf-thumbnail
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
imagemagick and pdf-thumbnail
Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: imagemagick and pdf-thumbnail
Hi!
Which Event-Plugins do you have installed, wihch PHP version are you using?
Best regards,
Garvin
Which Event-Plugins do you have installed, wihch PHP version are you using?
That might depend on the imagemagick version. The versions I know index the first page.And by the way: Why did imagemagick makes the LAST page of the pdf to the thumbnail, would not be the first one better?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
Re: imagemagick and pdf-thumbnail
I delete every event-plugin (but not the backup-eventWhich Event-Plugins do you have installed, wihch PHP version are you using?
php 5.2.0
Version: ImageMagick 6.2.9 08/26/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLCThat might depend on the imagemagick version. The versions I know index the first page.
Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: imagemagick and pdf-thumbnail
I assume you're using the 1.1-beta5or a recent snapshot version?
Do you havethe "on the fly" synchronization feature enabled?
Bestregards,
Garvin
Do you havethe "on the fly" synchronization feature enabled?
Bestregards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
Re: imagemagick and pdf-thumbnail
one of the snapshots - not the latest one but not very old. Can I see the snapshot-version anywhere?I assume you're using the 1.1-beta5or a recent snapshot version?
Do you mean "Automagische Synchronisation der Mediendatenbank"? Yes.Do you havethe "on the fly" synchronization feature enabled?
Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: imagemagick and pdf-thumbnail
Hi!
Okay, the snapshot helps me enough. Does the problem go away when disabling the on-the-fly synchronization for new PDFs?
I'll try to have a look at it.
Regards,
Garvin
Okay, the snapshot helps me enough. Does the problem go away when disabling the on-the-fly synchronization for new PDFs?
I'll try to have a look at it.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
I disabled it (for all - there is no option to do it for pdf only):
no difference:
sucsessfull uploaded, "vorschau erzeugt" and the wrong link/file-name
btw, why should this make any difference? the on-the-fly is for recocnicing changings by ftp, isn't it?
btw2: no matter what config for that option: after uploading a pdf by ftp (and after a manual thumbnail-making) there is only the pdf-smbol-logo and no (broken) image of the pdf!?
no difference:
sucsessfull uploaded, "vorschau erzeugt" and the wrong link/file-name
btw, why should this make any difference? the on-the-fly is for recocnicing changings by ftp, isn't it?
btw2: no matter what config for that option: after uploading a pdf by ftp (and after a manual thumbnail-making) there is only the pdf-smbol-logo and no (broken) image of the pdf!?
Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I just had a guess that maybe the automatic conversion was responsible for that .serendipityThumb.pdf file.
I'll check that thing somewohen the next day, thank you!
Regards,
Garvin
I just had a guess that maybe the automatic conversion was responsible for that .serendipityThumb.pdf file.
I'll check that thing somewohen the next day, thank you!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/