Thumbnails always broken - Not file size or Ads

Hello and thanks for this script!

Bug: Thumbnails won't work at all

Facts:

Version: phpAlbum_v0.4.1.14

URL: www.elmiraquakers.org/phpalbum

Won't work on these OS:

  1. iMac OSX 10.4.10
  2. ...also IBM ThinkPad MS XP

Won't work on these Browsers:

  1. MS IE V6.0.2900.2180 (Show as red X)
  2. Mozilla Fire Fox V 2.0.0.6. (Show as small, white verticle rectangle)
  3. Safari 2.0.4 (419.3) (show as red X)
  4. Opera 9.23 (white rectangles)

Notes:

  • Thumbnails have not worked once
  • Host is paid, no Ads, no other known host issues - unsure of OS
  • File size has been tried from 56kb @ 245x271 through 1.8mb @1656x1822 (apparently not a file size or memory problem)
  • Have tried clearing cache, restarting, reloading, etc.
  • Actual images show when broken thumbnail is clicked
  • Have tried to open thumbnail URL in separate window, still will not work
  • My thumbnail URL is the same as the path in the working demo (with the exception of domain and filename)
  • Thumbnail URL is http://www.elmiraquakers.org/phpalbum/main.php?cmd=imageview&var1=CIRCLE.JPG
  • Thumbnail "location" http://www.elmiraquakers.org/phpalbum/main.php?cmd=thmb&var1=CIRCLE.JPG&var2=150_50_true
  • Thumbnail file size is 0 KB
  • Permission for Cache set to 777

This would be of great use to my small community site, except for this one issue. I would be encourged to donate some money if it were fixed. I am sorry if I have made an obvious mistake, but have spent hours on the forums and experimentation trying to get it to work. Any help at all would be greatly appreciated!

Could you send me your admin

Could you send me your admin login/password to your phpAlbum. If i do not find the problem you could then send me your ftp account info and i could repair it for you.

Patrik

E-Mail: support(at)phpalbum.net

I sent the info. Thanks for

I sent the info. Thanks for looking into this.

- Elm

Your PHP installation is

Your PHP installation is missing GD2 Library, it must be enabled in php.ini file. Ask your provider for it if you do not have access to this file.

This library is used for manipulating of pictures, no automatic php album will work without this one...

Patrik

You're absolutely right -

You're absolutely right - and I never would have thought about it. Thanks so much....I'm off to find that donate link.

I have this issue with a twist

Ok, I just uploaded this and like it other than the thumbnails not working. It is odd though because some of them do work and some don't. if you look here you can see some that do work.

http://www.dementedcustoms.com/phpAlbum/main.php?cmd=album&var1=other_projects%2Fmarine_dog/

and here are some that don't work.

http://www.dementedcustoms.com/phpAlbum/main.php?cmd=album&var1=other_projects%2Fhok_training/

These were uploaded at the same time right next to eachother. If I view the original size they seem to work fine. Is this a lack of GD2 as well?

Thanks,
Chad

ok, so I think this is a

ok, so I think this is a image size issue. I shrunk some of them down and they show up fine now.

No Thumbnails

Hi. I have full control of my php and Apache installations for my site. Thumbnails do not appear. My Apache logs contain the following error:

PHP Fatal error: Call to undefined function imagecreatefromjpeg() in C:\\HTTP\\archhughes-org\\phpAlbum\\main.php on line 356, referer: http://www.archhughes.org/phpalbum/main.php?cmd=album&var2=

I have removed the comment (semicolon) from the GD2 include in the config.ini file for PHP. I have stopped and restarted my HTTPD server under Apache several times.

Any suggestions?

Thanks much
Arch

My versions...

If it helps: Apache/2.2.17 (Win32) PHP/5.2.17. I'm on WinXP SP3.

I loaded and installed phpAlbum just last night, but have been running PHP (but with limited use) for awhile. Except for the thumbnails, it appears perfect for my needs!

GD2 is not enabled,

GD2 is not enabled, obviously it is not enough to remove the semicolon in config.ini
The GD2 Library is just not there. You have to install it or compile it in you Apache.

Error tracking...

So, I looked in your information and found the suggestion to check phpinfo(). It made no reference to GD2. I checked my Apache error log and it reports:

PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - The specified module could not be found.\r\n in Unknown on line 0

Oh...the config file is called "php.ini", sorry, not "config.ini".

I found in there that the "extension_dir" parameter was set to its default, "./". So I extended it to point to "./ext" and restarted my HTTP server.

Things are much better now. Problem solved. Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">