[SOLVED] problems with showing thumbnails

timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 20:26

hi,

my website http://foto3.timoheskes.com/main.php
is now online with a few picture's. when i go to a album i see this
[img]http://foto3.timoheskes.com/main.php?g2_view=core.DownloadItem&g2_itemId=50&g2_serialNumber=1[/img]

how can i show there thumbnails and not this crapy picture?

greetings

 
diodata

Joined: 2009-04-30
Posts: 20
Posted: Thu, 2009-10-15 20:42

I think for album thumbnails, it uses the thumbnail for the first item it finds within that album. If the first item is not a typical image (jpg, png, gif) but is rather a doc, ppt, thumbs file, etc..., then it will have this broken thumbnail, and subsequently the album will as well. You can define what the "broken" thumbnail image is, but that doesn't help much here.

I don't know how to fix it; hopefully someone else does. It would be nice for the album to use the first valid thumbnail within that album. Not sure if it's possible.

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 20:48

hi,

all the photo's are jpeg.
i hope there is a solution
thanks

 
diodata

Joined: 2009-04-30
Posts: 20
Posted: Thu, 2009-10-15 20:52

Do the photos themselves have valid thumbnails?

You can manually edit each album and apply a custom thumbnail. That could help for the time being but not a good long-term solution.

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 20:59

i have trying this but it doesn't work. alsoin the album i see the same.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-15 21:05

Post your system information, this explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 21:11

Get system details; useful for copy/paste into G2 support forum.

Last Run Details:

Gallery URL = http://foto3.timoheskes.com/main.php
Gallery versie = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Thema 2.6, Embed 1.5
PHP versie = 5.2.10 apache2handler
Web server = Apache/2.2.12 (Unix) mod_ssl/2.2.12 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 mod_perl/2.0.4 Perl/v5.8.8
Database = mysqlt 5.0.81-community, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, ImageMagick, jpegtran, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd
Versnelling = none/0, full/900
Besturingssysteem = Linux sv12.byethost12.org 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Wed Aug 26 15:47:17 MSD 2009 i686
Standaard thema = matrix
gettext = geactiveerd
Talen = nl_NL
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Rijen in GalleryAccessMap tabel = 31
Rijen in GalleryAccessSubscriberMap tabel = 8
Rijen in GalleryUser tabel = 2
Rijen in GalleryItem tabel = 7
Rijen in GalleryAlbumItem tabel = 2
Rijen in GalleryCacheMap tabel = 6

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-15 21:39

Go to Site Admin and uninstall all plugins that I've crossed out:

Quote:
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, ImageMagick, jpegtran, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd

Now go to Site Admin > ImageMagick and click Test Settings.

Does it pass or fail the tests?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 21:44

The path you entered is not a valid directory or is not accessible. is what i get

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-15 21:48

Post a link to phpinfo
FAQ: How do I create a phpinfo page?

Or ask your host if they have ImageMagick installed on their servers, where it's at and if you can access it or if there are open_basedir restrictions in place.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 21:57
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-15 22:07

Oh, a lot of disabled functions. They probably don't have or won't allow ImageMagick. Let's try this.

Uninstall ImageMagick and install GD instead. This should mean that GD is your only Image Toolkit enabled and installed.

Now try going to Site Admin > Maintenance and rebuild your thumbnails and resizes.

I tried to go with ImageMagick first, because it's better than GD for resource usage, but it looks like you have plenty of memory available for PHP.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
timoh

Joined: 2009-10-15
Posts: 20
Posted: Thu, 2009-10-15 22:14

hi,

thanks its working now ok.