Album - Am I missing a library or something?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Album - Am I missing a library or something?

Post by boscopup »

I just installed Album 0.6.0 on my local dev machine with CMSMS 1.0beta5, just to try it out and such. When I uploaded an image, it couldn't create the thumbnail. And when I go to view the album, it also gives me the error. Here's the error I'm getting when viewing the album:

Code: Select all

Warning: getimagesize() [function.getimagesize]: Read error! in /var/www/cmsmstest1b5/modules/Album/lib.functions.php on line 104
Since this is a desktop Linux installation, I may be missing an image program that most web hosts usually have. Is that what's going on here? And if so, which program am I needing? :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Album - Am I missing a library or something?

Post by calguy1000 »

it sounds like a permissions problem to me.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Re: Album - Am I missing a library or something?

Post by boscopup »

Ok, I looked at line 104, and basically, it's trying to read the thumbnail, which doesn't exist. That's why I think it's not able to create it because I'm probably missing the program that does that.
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Re: Album - Am I missing a library or something?

Post by boscopup »

Ok, I figured it out. :)

Turns out, my PHP installation didn't include GD. So I installed php-gd and its dependencies, restarted Apache, and now I have thumbnails! Yipee! Turns out that the CMSMS config file has a link to a nice wiki page that talks about how you need GD installed in your PHP.
Post Reply

Return to “Modules/Add-Ons”