First of all let me thanks everyone who make possible to have this huge Drupal web. This is a start point without rival to newcomers on Drupal.

I have installed the module BG without any trouble (I´m almost sure as the module works) following the vacilando´s web indications and activating BG tag on filters. I made numberless tries trying to find out what is going NOK without success, doing modifications step by step on every possibility on the admin section via try and error system, activating/desactivating modules could make appear the issue, etc, but I can not solve and fix the issue. I have reviewed the BG issues and there is any similar one.

This issue, as you will see on the attached .jpg file (where appear the aspect of the web I am doing tries on local before launch it in production), is that BG works fine (everything is OK as per my indications on the nodes), the images pop up once clicking and slide properly, but I can not see the thumbs. The only thing that appear is a "X thumb".

I have not idea what is going on...

Thanks in advance for your help !

Files: 
CommentFileSizeAuthor
Thumbs do not show on BG.jpg104.47 KBclubdepescadauro

Comments

I've exactly the same problem but still also no answer. I've tried hardly every configuration without success :(

I hope somebody can help us?

Hi. Check your PHP logs. Search something similar to this:

23-Jan-2008 07:07:41] PHP Fatal error: Call to undefined function: imagecreatefromjpeg() in /desarrollo/san
nabis/drupal-5.6/modules/brilliant_gallery/image.php on line 104

If you find this error, the problem is that php is not compiled conveniently.

You need to compile PHP against GD with jpeg support.

Bye.
JM

I agree with pepemaria -- if you do not see thumbs but there are images in Lightbox after you click them, then it is likely that PHP on your server is not capable of converting them on the fly.

To facilitate debugging, in the latest dev version (just submitted, so you'll need to wait a few hours or get it from CVS) I added functionality to BG module's file image.php in such a way that if imagecreatefromjpeg does not work (for any reason) an error message is displayed as an image. You can click on the image (or hover above it) and nicely see also the file name of the picture that has problems showing up.

Status:Active» Closed (fixed)

Hi. Check your PHP logs. Search something similar to this:

23-Jan-2008 07:07:41] PHP Fatal error: Call to undefined function: imagecreatefromjpeg() in /desarrollo/san
nabis/drupal-5.6/modules/brilliant_gallery/image.php on line 104

If you find this error, the problem is that php is not compiled conveniently.

You need to compile PHP against GD with jpeg support.

Not to sound too ignorant, but what does that mean?
Where would I find my PHP logs?
How do I compile PHP against GD?

This plugin works fantastically on my webhost, but fails on my local host (WAMP).
So, I'm just a bit confused
Thanks
Jack

> Where would I find my PHP logs?

PHP log dir is defined in the PHP configuration. See file php.ini. In my localhost (I'm use Linux) this file is

/usr/local/lib/php.ini

And the values of interest are:

error_reporting = E_ALL & ~E_NOTICE
log_errors = On
error_log = /tmp/php.log

The last is the log file location.

> How do I compile PHP against GD?

First, see phpinfo output to check that GD is not supported by your installation. If you need GD, maybe can add GD support with extensions. See:

http://ar2.php.net/manual/en/install.windows.extensions.php

pepe

Version:5.x-2.17» 6.x-1.0
Status:Closed (fixed)» Closed (duplicate)

I have this same problem - but only in Drupal 6.5, not with my 5.7 installation.
Both sites installed on the same host, just different directories.
Why would it work in D5.7 but not D6.3?
No thumbs or images in Firefox3, in IE I get placeholders, no thumbs but images load. No error message (that comment was regarding the 5.x version, is that included in the 6.x version?).

Thanks!

my phpinfo() output is this

GD
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

but i still dont see the images, i just see a black background and the red cross, once i click on the red cross...it gives me the following error

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':2:i:0;s:24:"Content-type: image/jpeg";i:1;s:111404:"/9j/4AAQSkZJRgABAQAAAQABAAD' at line 1 query: UPDATE a:2:i:0;s:24:"Content-type: image/jpeg";i:1;s:111404:"/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MSipKkpIipIiSCsbgCVElJLIWVmKFkFxwugQkwAIYSKgVNxRNxcqTBAAmic4ToGAmIhpQBABRpwwAAA in C:\server\htdocs\drupal\includes\database.mysqli.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at C:\server\htdocs\drupal\includes\database.mysqli.inc:128) in C:\server\htdocs\drupal\sites\default\modules\brilliant_gallery\image.php on line 38
ÿØÿà

Or maybe this is a Drupal 6 issue somehow? I'm having similar issues with Fast Gallery, straight Lightbox rel tags and plain-old image links. (I would be perfectly willing to admit it's just me since I'm just starting out on Drupal but I'm not having issues in Drupal 5...)

----->Update
Ok, Lightbox and regular image links problems were me with a typo in the code. :-X

Hi

I've got this issue under D6, but GD is working fine. STandard images work fine too...

ANy ideas?

Same issue, Drupal 6 on IIS7 .

I have enabled the GD module in php.ini but didnt help.

Hi have the same error as mandmzoom mentioned in #8. This should be fixed. I think this error comes with Drupal 6.3. In 6.2 it worked fine.

Solution for Drupal 6.3

The solution is very easy. Just use drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); instead of drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); inside the function drupalize() of image.php.

Great!!
Now it works to me too.

thanx

Worked for me also!
Thanks!!

OMG!!! It finally worked. I was busting my balls trying to figure it out.

Good work hotblack - that's fixed it for me too!

i love you, hotblack.

Hey tried to change the image.php but it doesn't work for me.

I have Drupal 6.9
I have GD enabled in my PHP
here is the output of phpinfo on godaddy

http://www.mananchopra.com/try.php

But I still see this black box,
http://www.mananchopra.com/

Can anybody please help I have been trying to get this work for last 15 days.
I will greatly appreciate any help in this regard.

Thanks in advance,

Thanks That work Fine! ;-)

Title:Thumbs do not show with BGNo thumbnails and no images
Status:Closed (duplicate)» Active

After hours of reviewing the installation instructions, my php configuration, etc., I finally found this post which was also my problem -- I had to edit image.php as described in the previous post! I'm using Drupal 6.10.

Why after all these months is this code change not made in image.php for Drupal 6?

If there's some reason for that, at least list it on the instructions page under "Known / possible problems" - if no thumbs and no images appear, edit image.php: use drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); instead of drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); inside the function drupalize() of image.php.

I would hate to see someone suffer as I did - such a waste of time!

Fantastic - just solved this very frustrating problem :-)

Thanks for the support

I have the same problem using drupal 5.x running on a windows server. Under firefox all I see is black.
I am not sure I can access the php logs as our hosting company as mentioned is running windows and all I have is ftp access and access to mysql.
I am not very computer savy, so any explanation on how to do this would be greatly appreciated.

Hi, i commented out that line and my brilliant gallery as expected( but not all images show up, only few) I am getting this error

drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
#drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);

only inside the function drupalize() of image.php.

error:

    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1239125353 SET data = 'cache', created = 1238866153, expire = 0, headers = '', s' at line 1 query: UPDATE 1239125353 SET data = 'cache', created = 1238866153, expire = 0, headers = '', serialized = 0 WHERE cid = 'bg_b74b142504fac2b59f7e9a078d6b2572' in /home/riders.in/includes/cache.inc on line 109.

I resolved the issue by changing the where the cache will be done
admin/settings/brilliant_gallery

Database or file system caching of images:
   (  ) Use the cache table of Drupal.
   (*) Use the temporary directory you have set in /admin/settings/file-system. Faster than database caching!
Only images (not the table as such) are cached so that they can be served quicker at subsequent requests.

Status:Active» Closed (fixed)

Hola

Just for the benefit of future searchers. I followed the instructions to the letter and was getting the black box problem on a local Xampp installation of Drupal with Brilliant Gallery. The solution was to change the Drupal bootstrap line as described above.

Once again for search.

Xammp. Brilliant Gallery. No photos.

Cheers

Dave

Category:support» bug
Status:Closed (fixed)» Active

Downloaded D6 version today. Need to change image.php (drupal_bootstrap) as described above. Problem is not fixed in the downloadable version.

Status:Active» Fixed

The mystery remains why this worked fine with drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); on most of the systems (all those I've ever used). Anyway -- seems that full bootstrapping will work more generally.

Fix applied in 6.x-3.2.

Sorry for the delay :-(
(But it could have been faster if there was a clear patch!)

P.S. See http://drupal.org/node/186863#comment-752115 why drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); had been used in the first place. But it may have had something to do with the version of Drupal at that time. So let's use the new version and get back if there are further problems.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Is this works on also for for Fast Gallery ?

If yes, where is image.php ? :d

i am newbie here, I have the same problem using drupal couldn't figure out, i am trying hard now.

Version:6.x-1.0» 6.x-3.x-dev
Status:Closed (fixed)» Active

Hi I have the same problem.
I am using drupal 6.13 and 6.x-3.x-dev on BlueHost.com
BG

I'm getting the same error, but I'm not even running Brilliant Gallery... therefore I don't have an image.php file that I can find! Help please! :)

warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 13 extraneous bytes before marker 0xd9 in /home/yelnhcom/public_html/cordiafreaks/includes/image.gd.inc on line 190.
warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'sites/default/files/PICT0057_0.JPG' is not a valid JPEG file in /home/yelnhcom/public_html/cordiafreaks/includes/image.gd.inc on line 190.
Unable to create scaled Thumbnail image.
warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 13 extraneous bytes before marker 0xd9 in /home/yelnhcom/public_html/cordiafreaks/includes/image.gd.inc on line 190.
warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'sites/default/files/PICT0057.JPG' is not a valid JPEG file in /home/yelnhcom/public_html/cordiafreaks/includes/image.gd.inc on line 190.
Unable to create scaled Thumbnail image.

I resolved this issue by deleting the images through the image_browser module that I am using!
No help required regarding my earlier question, sorry for any inconvenience!

Version:6.x-3.x-dev» 6.x-3.6
Priority:Normal» Critical

I'm having this problem running Brilliant Gallery 6.x-3.6 and Drupal 6.15. I'm running shared hosting on GoDaddy with GD support enabled in PHP.

Images are showing up as broken in slideshow view and none of the fixes indicated so far are working. Any ideas?

Category:bug» feature
Priority:Critical» Normal

Nevermind that last post.

I sifted through the code and found out that the slideshows are currently only compatible with Picasa Galleries.

Not pointing fingers, but would have been nice to have that documented somewhere besides the code. ;)

Keep up the good work though!! Maybe someday I can help you guys out! :D

BG definitely does sildeshows from non-picasa galleries. Picasa was an added-on feature in recent versions.

If you're having problems, check the other issues. Sorry can't help you with your problem directly!

Is there any way you can post any sample code if you have any that show the gallery in working condition?

Thanks

Working on drupal 6.16 with BG g.x-3.6 and lightbox my thumbs and photo's showed normal.
I cleared the cache using myPHPAdmin. I used the statement "delete from cache_* where '1'" for all tables with cache in the name.

After that, all thumbs and photo's failed.

Can anybody give me a hint how to fix this problem.

Category:feature» support

I had this problem, no thumbnails on manage page and no images on the gallery page. None of the solutions on this page fixed the issue so searched some other threads and found the fix. Found the solution here http://drupal.org/node/621196, #8.

Just a few details about my setup. For those of us hosted at hostgator this appears to be some weird issue with them??? Im running drupal 6.13 with Brilliant gallery 6.x - 3.6 and this is clean install. Fix is very simple and is in the image.php file. All you have to do is move the entire drupalize function found on lines 16-27 up above line 4. Save and upload to server, clear cache and all is well. Hope this helps and saves some time for others. I thought this was a more appropriate thread for the fix.

Thanks to devs for this module, really sweet.

Sadly, it didn't fix my problem.

I tried it, but there is no solution. And i can't find a way to get debug information out of the image.php source.

Status:Active» Closed (fixed)

After a week of trying, i finally fixed it.

I changed the image.php source cleaning up the comments.
Then i removed the drupalize function to the end of the source.

This didn't do the trick. It was this statement i changed.

$my_data = resizeimage_wrapper_dbcache(TRUE);

I added the word TRUE

thanks a lot maarten61085. Nothing above fixed my issue except yours :)