NO PDF and GIF Thumbs

Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-01-31 08:56

Dear all,

I have Gallery2 (Latest Stable version) installed on a Ubuntu Linux machine with apache2, mysql4 and php2.

Gallery does not display pdf and gif thumbs. I have read the forum about this subject found a lot about it but I cannot find the solution.

I have installed and recompiled the latest version of ImageMagick 6.3.2 with ghostscript and I have checked if ghostscript is working with /usr/local/bin/gs --help and it gives all the details as to be expected.

After recompiling Imagemagick with ghostscript I got the next results

before recompiling was application/postscript application/pdf.

What is strange that Gallery 2 still gives version 6.2.4 of ImageMagick while I recompiled it with version 6.3.2 ?

When I am using rebuild thumbnails I got a hughe bug description of more than 5000 lines. a view makes me wonder

for pdf

Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail application/pdfin
modules/core/classes/GalleryDerivative.class at line 460

if (!isset($toolkit)) {
return GalleryCoreApi::error(ERROR_UNSUPPORTED_OPERATION, __FILE__, __LINE__,
line 460 is "$operationName $mimeType");

for gif

copy(/usr/share/gallery2/modules/core/classes/../data/broken-image.gif,
/usr/share/gallery2/g2data/cache/derivative/1/2/12641.dat)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
file_exists(/usr/share/gallery2/g2data/cache/module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(/usr/share/gallery2/g2data/cache/derivative/1/2/12641.dat)
filesize(/usr/share/gallery2/g2data/cache/derivative/1/2/12641.dat)
getimagesize(/usr/share/gallery2/g2data/cache/derivative/1/2/12641.dat)
fclose(Resource id #6127)
file_exists(/usr/share/gallery2/g2data/locks/1/2/12641)
unlink(/usr/share/gallery2/g2data/locks/1/2/12641)

I there anybody how can tell me what I am doing wrong and if I have to install more or reinstall and is there anyone who has a site where I can see pdf thumbnails.

Your help will be much appreciated

Frans

AttachmentSize
bugreport.txt234.62 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-31 17:44

1. FAQ: What information is required when I ask for help in the forums? (please just copy and paste that information from your g2)

2. the error is: Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail application/pdf
please uninstall your gallery imagemagick module, then install and activate it again.

3. please click test in site admin -> imagemagick and post here the results

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-01-31 19:38

Here are the results (sounds like the jury of the eurovisiesongfestival) after reinstalling ImageMagick same as above.

Versie

ImageMagick 6.2.4
Ondersteunde MIME Typen

De ImageMagick module ondersteund bestanden met de volgende MIME typen:

image/gif
image/jpeg
image/pjpeg
image/jp2
image/jpg2
image/jpx
image/png
image/tiff
image/svg+xml
image/bmp
application/postscript
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk

I also send you two screenshots from synaptic (linux) where you can see that in my believe everuthing is installed.

Thnaks for you're help.

AttachmentSize
gs.jpg84.66 KB
imagemagick.jpg13.9 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-31 20:55

it doesn't list application/pdf. your imagemagick doesn't support pdf.
gif thumbs should work though.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Thu, 2007-02-01 13:32

Valiant,

It did list application/pdf before I installed ghostscript. Also no thumbnails. I have installed ghostscript because I have read about this on the forum en that I have to install it, so I did.

Indeed the problem is that ImageMagick doed not support pdf but how do I get ImageMagick to support it.
Do I have to enter something in my php or apache script ?

When I do convert this is the reply

root@ALM001:/usr/share/gallery2/images# convert to convert afilm.pdf to afilm.jp g
Error: /invalidfont in findfont
Operand stack:
--dict:5/5(L)-- FontHelvetica 17.0 --dict:5/5(L)-- --dict:5/5(L)-- Helvetica Helvetica Font Helvetica 1187256 Helvetica --nostringval-- Helvetica NimbusSanL-Regu Courier NimbusMonL-Regu
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- - -nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostri ngval-- --nostringval-- --nostringval-- 7 10 %oparray_pop 8 10 % oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringva l-- --nostringval-- false 1 %stopped_push 11 11 %oparray_pop --n ostringval-- --nostringval-- --nostringval-- 1 -1 1 --nostringval-- %for_neg_int_continue
Dictionary stack:
--dict:1127/1686(ro)(G)-- --dict:2/20(G)-- --dict:75/200(L)-- --dict:75 /200(L)-- --dict:105/127(ro)(G)-- --dict:253/347(ro)(G)-- --dict:21/24(L)- - --dict:4/6(L)-- --dict:20/20(L)-- --dict:7/8(L)-- --dict:17/17(ro)(G)- - --dict:1127/1686(ro)(G)--
Current allocation mode is local
Last OS error: 2
AFPL Ghostscript 8.54: Unrecoverable error, exit code 1
convert: unable to open image `to': No such file or directory.

About the gif's I found out that small gif's create thumbnails but wide ones (strips garfield from out the newspaper) not is there a limit to the size for a thumbnail

Thanks for your support

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Sun, 2007-02-04 18:54

I have done to day a clean install because my site has been ruined while trying to install multisites for starting to use it with egroupware.
After the update cq upgrade I could not longer contact my database. No error, simply a shor message cannot connect db.

So I started all over again and made afresh install for ghostscript, ImageMagcik an Gallery. Still the same problem no pdf support.

So once again, Is there anyone how can show me that pdf support is working ? I only find questions about this subject but unless I am mistaken never a solution.

And is it possible that I forgot something by compiling php5 or Apache2

All the help is welcome,

And many thanks all ready

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-02-05 05:46

a recent topic about that issue:
http://gallery.menalto.com/node/60182

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Tue, 2007-02-06 20:51

Vailiant,

Hereby the results of the system information after I did once again a update of Gallery2. It seems I did something wrong the first time.
But now I got the message which I stated under my systeminformation.

Can you explain to me how to upgrade ImageMagcik in Gallery. Because if I do a test under I got the result which is stated inder my systeminfo

Gallery versie = 2.2-rc-1 core 1.1.29
PHP versie = 5.1.6 apache2handler
Web server = Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_perl/2.0.2 Perl/v5.8.8
Database = mysqli 5.0.24a-Debian_9-log, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd, Ffmpeg, Getid3, LinkItemToolkit
Versnelling = none, full/3600
Besturingssysteem = Linux ALM001 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Standaard thema = hybrid
gettext = enabled
Talen = nl_NL
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 110
Rows in GalleryAccessSubscriberMap table = 7313
Rows in GalleryUser table = 18
Rows in GalleryItem table = 7309
Rows in GalleryAlbumItem table = 101
Rows in GalleryCacheMap table = 33

Warning: This version of ImageMagick has known vulnerabilities that could be exploited to execute arbitrary commands or cause a denial of service (references: 1, 2, 3, 4). You may wish to upgrade. This determination may be inaccurate for ImageMagick packages in Linux distributions.

If I do apt-get install imagemagick the system returns I am allready using the latest version.

What to do ????

Thanks once again

Frans

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-02-07 18:40

Dear People, today I removed Imagemagick and installed it from scratch using ImageMagick-6.3.2-3.tar.gz

./Configure make make install

It is installed

root@ALM001:/tmp# convert -version
Version: ImageMagick 6.3.2 02/07/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

However after deactivating ImageMagick in Gallery2 and afterwards activating it again (after reboot), Gallery still responds with

ImageMagick 6.2.4

Warning: This version of ImageMagick has known vulnerabilities that could be exploited to execute arbitrary commands or cause a denial of service (references: 1, 2, 3, 4). You may wish to upgrade. This determination may be inaccurate for ImageMagick packages in Linux distributions.
Deze versie toch gebruiken?

Is there anyone who can tell me what I have to do to get the right version were it supposed to be

Thanks

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Wed, 2007-02-07 19:12

After posting above I downloaded once again Gallery2 unzipped it and put this ImageMagick Module in place of the one I was using.

Now there is no message but still no pdf support. Back to ghostscript . I am losing it.

ImageMagick programma test resultaten
Programma Naam Geslaagd/Mislukt
identify
Geslaagd
convert
Geslaagd
composite
Geslaagd
Versie

ImageMagick 6.2.4
Ondersteunde MIME Typen

De ImageMagick module ondersteund bestanden met de volgende MIME typen:

image/gif
image/jpeg
image/pjpeg
image/jp2
image/jpg2
image/jpx
image/png
image/tiff
image/svg+xml
image/bmp
application/postscript
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Thu, 2007-02-08 11:01

and also found this

First I did this

root@ALM001:~# convert -version
Version: ImageMagick 6.3.2 02/07/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

then checked where gs is located

root@ALM001:~# /usr/local/bin/gs
AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>

and than act on what I found here

http://www.afp548.com/forum/viewtopic.php?showtopic=12255

Gallery 2 - Step 4: Edit ImageMagick

Note: The first part of this step is a total kludge and I hope someone will berate me with the correct solution instead. I have tried to add the location of the Ghostscript binary to the system Profile, but have not had success in getting ImageMagick to find Ghostscript. If you don't have a problem with this, skip the first half of this step, otherwise:

Edit the following file using Text Wrangler or your favorite text editor:

/usr/local/graphicslibs/ImageMagick-6.2.6/config/delegates.xml

Replace all instances of:

gs

with:

/usr/local/bin/gs

There should be ten instances replaced.

The only problem is I found 3 instances for delegates.xml and two version of ImageMagick I changed them all

root@ALM001:~# locate delegates.xml
/root/tools/lib/ImageMagick-6.3.2/config/delegates.xml
/usr/lib/ImageMagick-6.2.4/config/delegates.xml
/usr/local/lib/ImageMagick-6.3.2/config/delegates.xml

Still no pdf support

Changed path under Gallery2/siteadmin/ ImageMagick to /usr/local/bin/

this result

ImageMagick programma test resultaten
Programma Naam Geslaagd/Mislukt
identify
Geslaagd
convert
Geslaagd
composite
Geslaagd = succes
Versie

ImageMagick 6.3.2
Ondersteunde MIME Typen

De ImageMagick module ondersteund bestanden met de volgende MIME typen:

image/gif
image/bmp
application/postscript
application/photoshop
image/x-photo-cd

still no pdf

back to /usr/bin/

ImageMagick programma test resultaten
Programma Naam Geslaagd/Mislukt
identify
Geslaagd = succes
convert
Geslaagd
composite
Geslaagd
Versie

ImageMagick 6.2.4
Ondersteunde MIME Typen

De ImageMagick module ondersteund bestanden met de volgende MIME typen:

image/gif
image/jpeg
image/pjpeg
image/jp2
image/jpg2
image/jpx
image/png
image/tiff
image/svg+xml
image/bmp
application/postscript
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk

one way or antoher no pdf

As you can see this problems keeps me going

I s there anybody out there, who can help me out

MANY THANKS

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-02-08 11:32

when you ./configure imagemagick, do the resulting configure options have all gs options?
./configure shows a summary at the end...

GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (8.54)
Ghostscript fonts --with-gs-font-dir=default    /usr/sepp/share/ghostscript/fonts/
Ghostscript lib   --with-gslib=yes              yes

?

i guess that's necessary for pdf support. haven't done it manually that way though. the last time i compiled imagick was with gentoo and USE flags, so no manual configure etc.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Thu, 2007-02-08 22:37

Valiant,

./configure gave the result

GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.54)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=no no

the result for ./configure --with-gslib=yes --with-gs-font-dir=/usr/local/share/fonts

GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.54)
Ghostscript fonts --with-gs-font-dir=/usr/local/share/fonts /usr/local/share/fonts/
Ghostscript lib --with-gslib=yes no

You see --with-gslib has changed to yes but not at the end. I also find out that I cannot find the reel dir where the fonts for ghostscript has been installed.

Do you know what I am doing wrong so that both the no's becomes a yes ?? in the meanwhile I will try to find the fonts

Its difficult(at least for me) but I think were getting somewhere.

Once again thanks

Frans

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Fri, 2007-02-09 11:41

found the fonts

root@ALM001:/tmp# gs -h | grep fonts
/usr/local/share/ghostscript/fonts
root@ALM001:/tmp#

installed now ImageMacigk 6.2.4

root@ALM001:/tmp/ImageMagick-6.2.4# convert -version
Version: ImageMagick 6.2.4 02/09/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

also found on http://www.ducea.com/2006/12/21/install-imagemagick-557-on-debian/

apt-get build-dep imagemagick

after that did once again ./configure imagemagick-6.2.4

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type : i686-pc-linux-gnu

Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16

Delegate Configuration:
BZLIB --with-bzlib=yes yes
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FreeType 2.0 --with-ttf=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.54)
Ghostscript fonts --with-gs-font-dir=/usr/local/share/ghostscript/fonts /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes yes
LCMS --with-lcms=yes yes
Magick++ --with-magick-plus-plus=yes yes
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes

X11 Configuration:

Not using X11.

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.2.4
CC = gcc
CFLAGS = -g -O2 -Wall -pthread
CPPFLAGS = -I/usr/local/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/usr/local/lib -lfreetype -lz -L/usr/lib
LIBS = -lMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lbz2 -lxml2 -lz -lpthread -lm -lpthread
CXX = g++
CXXFLAGS = -pthread

Why are the options for

GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.54)

stated ad None and Values correct

and why is the option for

Ghostscript lib --with-gslib=yes no

set yes and value on no

Valiant do you know this ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-02-09 11:55

nope.

anyhow, can the resulting convert binary convet pdf to jpg?

try:
convert mysample.pdf[0] mysample.jpg

does that work? can you view the resulting jpg in an image viewer?
if so, then it's a PATH / env vars issue (your account vs. webserver user).
if not, your imagemagick can't handle PDFs yet.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Fri, 2007-02-09 21:38

Valiant

here it is, I had to adjust de delegates.xml it seems that ghostscript was in /usr/bin/gs instead of /usr/local/bin/gs so I had to change the path there 10 times and than I edited the environment path with path=/usr/bin/gs (after I found out this was the right path I added it to the env through PATH=$PATH:/usr/bin/gs and than export path)

first tried convert with the following result

convert default.pdf[0] default2.jpg
**** Warning: Fonts with Subtype = /TrueType should be embedded.
But CourierNewPSMT is not embedded.
**** Warning: Fonts with Subtype = /TrueType should be embedded.
But Arial-BoldMT is not embedded.
**** Warning: Fonts with Subtype = /TrueType should be embedded.
But TimesNewRomanPSMT is not embedded.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Acrobat Distiller 7.0.5 (Windows) <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

but nevertheless it convert fine. Afterwards I could open the jpg and all was correct

Then tested ImageMagick with the following result.

Versie

ImageMagick 6.2.4
Ondersteunde MIME Typen

De ImageMagick module ondersteund bestanden met de volgende MIME typen:

image/gif
image/jpeg
image/pjpeg
image/jp2
image/jpg2
image/jpx
image/png
image/tiff
image/svg+xml
image/bmp
application/pdf
application/postscript
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk

It took some time to test now but finally there it is application/pdf.

But still no thumbs in albums also after maintenance rebulding thumbs

Now I run out of ideas, do you still have one.

By the way thanks for you're help so far, you last remark really did me going and show me the way were to look.

Frans

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-02-09 22:42

please uninstall your g2 imagemagick module and install it again.
then add a new pdf to your gallery. it should generate a thumbnail for it.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Sat, 2007-02-10 09:33

Valiant, I removed the whole directory of ImageMagick and downloaded ImageMagick again from the Gallery Site. And activated ImageMagick, still no luck.

But when I looked under mime-type I saw this warning, much to my suprise for all supported mime-types does this mean smomething. For good orders sake I'll send you once again my sysinfo.

Could it be that this has something to do with the fact that I am creating all my documents with Adobe Acrobat professional ? Allthough I also do net get a thumbnail if I upload the test.pdf from out ImageMagick

Warning: Adding and allowing upload of any of the following mime types could leave you open to Cross Site Scripting security vulnerabilities.

* text/html
* application/xhtml+xml
* text/xml

Gallery versie = 2.2-rc-1 core 1.1.29
PHP versie = 5.1.6 apache2handler
Web server = Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_perl/2.0.2 Perl/v5.8.8
Database = mysqli 5.0.24a-Debian_9-log, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, NetPBM, SquareThumb, Thumbnail, Gd, Ffmpeg, Getid3, LinkItemToolkit, ImageMagick
Versnelling = none, full/3600
Besturingssysteem = Linux ALM001 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Standaard thema = hybrid
gettext = enabled
Talen = nl_NL
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 276
Rows in GalleryAccessSubscriberMap table = 7387
Rows in GalleryUser table = 18
Rows in GalleryItem table = 7383
Rows in GalleryAlbumItem table = 105
Rows in GalleryCacheMap table = 140

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-02-10 11:17

no need to download the module again.
> And activated ImageMagick, still no luck.

did you uninstall and install it again? i'm not talking about just deactivating / activating the module.

the warning you mention doesn't have anything to do with pdfs.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Sat, 2007-02-10 11:25

Sorry, it is not completeley true what I am stating above.

It does create a thumbnail before all the excerises it only said no image

It is only not an example of the pdf
Here you can see what I Mean

http://www.franslieshout.nl:8093/gallery2/v/pdf/

Like to here from you

Frans

AttachmentSize
pdfexample.jpg7.85 KB
 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Sat, 2007-02-10 11:49

Yes I did a complete uninstall, than removes the directory ImageMagick in modules, as stated before downloaded de latest version from Gallery2 untarred it in de dir ImageMacick and than restart Gallery2 and installed ImageMagick again.

No luck

But it created a thumbnail looks like a kind of replacement

Frans

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Sun, 2007-02-11 22:41

Valiant,

I disabled the mod_rewrite module and now I have pdf thumbnails (http://www.franslieshout.nl:8093/gallery2/main.php?g2_itemId=22049), and also all my animated gifs (http://www.franslieshout.nl:8093/gallery2/main.php?g2_itemId=20050)are working. (by the way this is only for testing I always want to know that everything is working, in case that).

Activated mod_rewrite again, same problems no thumbs pdf and 36 of animated gif's are not shown ??????

So disabled mod_rewrite again and the next problem appaears, if I click on the thumbnail the original pdf does not show and I also cannot download it. I can imagine that this happens for pdf with multipages but not for a single A4. Is this a known problem !!!

Hope to hear from you

Frans

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-02-11 22:54

can't verify any of these issues in g2.2.
it may be a problem with the theme.
please switch to the matrix theme and see if that fixes things.

--------------
Enter the Gallery 2 Theme Contest today!

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Mon, 2007-02-12 21:01

Valiant,

Once again thanks for you're answer,

I have tryied all the themes, Sirius gave me the best result, when I clicked than on the pdf I came in antoher page where I could download the pdf. It did not show the complete file but at least I could download it. (by the way I am testing this on a windows xp, windows 2003 and a Linux Ubuntu server, until now all gave the same results)

I run out of ideas, I think I will leave it for a while, its a pitty, but the site is working perfect for my photo's and that is the reason why I started with gallery. I also want to use webdav so I have to put mod-rewrite back on again, so pdf has to wait.

Thanks for your help sofar.

Frans

 
Frans Lieshout
Frans Lieshout's picture

Joined: 2005-12-31
Posts: 62
Posted: Tue, 2007-02-13 22:45

This is really the last remark,

Much to my suprise, Gallery is still showing thumbnails and after restarting Linux and changing de theme to Matrix (or Siriux) I can download the document and it opens. I do also have thumbnails of the document by next and previous.

It enough for me

So for me we can close this item

Thanks for all the help.