Thumbnails Not Appearing on WPG2

maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Sun, 2012-07-22 07:25

Hello. I am a Web Developer, and Have Tried and Tried to Get the Thumbnails to Appear on My Clients Website for him. This is like one of the last tasks to complete on a list of about 20 different things, but still no luck.

I have tried to delete the thumbnail cache, and tried rebuilding all thumbnails many times. Have gone through the plugins, toolkits, imagemagick, and gd and cannot find the issue. Have tried going through the wordpress settings within the WPG2 Plugin. Is this something to do with a more recent release? or is there possibly a fix for the issue. I have linked the gallery below, and below that a link to the album where you can see the problem where it says "no thumbnail". It supposedly is suppose to "Create Thumbnail" upon the addition of each image. The only thing that makes me think it may have been a release issue is the last images my client was able to upload where the thumbnails DO appear was right after a new version of 3.0 was released on the 15th of April I believe

Can anyone shed any light?

GALLERY
http://maineisastateofmind.com/gallery-2

ALBUM WITH ERROR SHOWING
http://maineisastateofmind.com/gallery-2?g2_itemId=335&g2_page=12


Gallery version (not just "2"):
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-22 13:26

And a link to the raw un-embedded gallery?

-s

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Sun, 2012-07-22 15:17

What do you mean by the raw link?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-22 15:24

http://maineisastateofmind.com/gallery-2 is gallery embedded in WP
where your standalone gallery? where main.php resides

this is gallery embedded in mysite http://www.flashyourweb.com/media/index.php
this is my standalone gallery http://www.flashyourweb.com/gallery2/main.php

-s

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-22 21:29

I found it, didn't try very hard earlier. http://maineisastateofmind.com/gallery/main.php?g2_itemId=335&g2_page=12
Gallery2 is a complete separate app with a rich embedding API to allow use to display our galleries in other host applications like WP
When you are having issues with gallery, it is best to cut out the middleman and debug the standalone app.

Try using gallery directly and put it into debug mode FAQ: How to set/use Gallery in debug mode?
Rebuild the thumbs for that album and copy/paste the debug info into a txt file and attach it to this thread.

-s

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Sun, 2012-07-22 21:58

Ok I have attached the file. Also now when I go to the gallery it says

Notice: Undefined index: child in /data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/smarty/templates_c/%%3073117473/wordpressembedded/%%E7^E75^E7536FAA%%album.tpl.php on line 38

Notice: Undefined index: child in /data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/smarty/templates_c/%%3073117473/wordpressembedded/%%E7^E75^E7536FAA%%album.tpl.php on line 38

+++++++++++++++++++++++++++++++++++++++++++++++

I have attached the file from rebuilding all thumbnails

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-07-22 22:14
Quote:
Executing: ( "/usr/bin/composite" "-quality" "75" "-geometry" "+0+0"
"/data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/plugins_data/modules/watermark/watermark_png"
"/data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/albums/birds/honda
civic.jpg"
"jpg:/data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/tmp/imgk_MSjEsL"
)
.
.
.
Error Output:
composite: unable to open image
`/data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/albums/birds/honda
civic.jpg': @ error/blob.c/OpenBlob/2588.
composite: missing an image filename
`jpg:/data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/tmp/imgk_MSjEsL'
@ error/composite.c/CompositeImageCommand/1620.
Status: 1 (expected 0)

Looks like the watermarkmark plugin is having an issue

Check that the watermark image is actually set and exists Gallery Admin -> Watermark
the file would be stored in /data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/modules/watermark

Also make sure gallery storage folder permissions are 777 recursively chmod -R 0777 /data/16/1/14/111/1503926/user/1617919/htdocs/gallery/g2data_lwTnp9ruyE/

As for the theme error Undefined index, try clearing gallery's caches
Gallery Admin -> Maintenance -> Delete template cache

-s

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Mon, 2012-07-23 01:00

Yea I tried both, the watermark is showing on all the larger images like it is supposed to, so it must be working alright Im assuming.

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Mon, 2012-07-23 01:03

one other thing that struck me when you go to add an image or edit an image and scroll to the bottom you see

Thumbnail

Set the size of the thumbnail. The largest side of the thumbnail will be no larger than this value. Leave this field blank if you don't want a thumbnail.
There are no graphics toolkits enabled that support this type of item, so we cannot create or modify a thumbnail (site admin)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-07-23 03:23

Hmm
head to Gallery Admin -> ImageMagick and run the tests
List the supported mime types

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Mon, 2012-07-23 10:19

Binary Name Pass/Fail
identify Passed
convert Passed
composite Passed

Version

ImageMagick 6.7.1-0
Supported MIME Types

image/gif
image/jpeg
image/pjpeg
image/png
image/tiff
image/bmp
application/pdf
application/postscript
application/photoshop
image/x-photo-cd
image/wmf
image/tga
image/jpeg-cmyk
image/tiff-cmyk
application/photoshop-cmyk

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-07-23 10:58
Quote:
There are no graphics toolkits enabled that support this type of item, so we cannot create or modify a thumbnail (site admin)

Maybe it is just something in your outdated theme that gives you that warning.
Can you create a test album and set the theme to matrix for this test album.

Maybe you could PM me with some admin creds so I can come in and check it out.

-s

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-07-24 01:03

Your gallery version is 2.3.0 Your PHP is 5.3.8
Gallery 2.3.1 was released to specifically deal w/ PHP 5.3.x issues.
Please upgrade to the latest codebase 2.3.2

-s

 
maineisastateofmind

Joined: 2012-07-21
Posts: 7
Posted: Tue, 2012-07-24 01:14

Now I have been wondering. Should I upgrade to 3.0 or just update the codebase like you said? And if I were to completely upgrade to 3.0 would that fix the issue?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-07-24 01:21

No.
Gallery would no longer integrate into yoursite.
G3 does not have an embed API yet.
G2 and G3 are completely different apps. It is not an "upgrade", its an install a completely different app and migrate.

You are better off upgrading to 2.3.2 and keeping your embed.

-s

 
Fox-Man

Joined: 2012-10-08
Posts: 2
Posted: Wed, 2012-10-10 08:21

i m using WPG2 (3.0.7) plugin with wordpress 2.6.3

My Gallery2 Location: http://domain.com/gallery2/

My WordPress Locatio: http://domain.com (root folder of domain)

WPG2 Path Settings:
http://img526.imageshack.us/img526/2438/wpg2pathkj0.jpg

now the problem is gallery is working fine on this location http://domain.com/gallery2/ gallery3
but its not showing images on my wordpress

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-10-08 11:59

those settings are correct.
did you setup the gallery2 rewrite rules from within WPG2 configuration?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Fox-Man

Joined: 2012-10-08
Posts: 2
Posted: Tue, 2012-10-09 10:08

Ooops
i missed that out, all is working fine now, thanks for your time and effort.