Gowator Posted May 16, 2004 Report Share Posted May 16, 2004 Well I guess the link says it all. http://lepeanuts.homelinux.com/gallery/ I installed and when i browse (even as admin) I get blank images. They rescale, I can read the exif info etc. theyre just blank!!! HELP !!! Ideas gratefully received. (Can pm passwd) Quote Link to comment Share on other sites More sharing options...
Guest emetib Posted May 16, 2004 Report Share Posted May 16, 2004 from looking at your source. is the gallery, albums, album01 directories 755? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 16, 2004 Report Share Posted May 16, 2004 Are your images owned by apache? Do they have the right permissions? Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 16, 2004 Report Share Posted May 16, 2004 Gowator - check the file permisions for the images, and the image directory - when I tried to get the image, I was told 404 error. Check that the file permissions are: folders: 755 pages / images: 644 Should work then..(maybe :P) Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 16, 2004 Author Report Share Posted May 16, 2004 (edited) http://lepeanuts.homelinux.com/gallery/alb...lbum01/DSCN0016 This Should (works for me) be a picture of Roland and I taken in Lyon. However its actually there, I did a chmod -R apache:apache (on the gallery tree) Permisisons arte totally open (right now) ??? Edited May 17, 2004 by Gowator Quote Link to comment Share on other sites More sharing options...
spinynorman Posted May 16, 2004 Report Share Posted May 16, 2004 Yep, I can see it, but it took literally 5 minutes to load on 512kb broadband... :huh: Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 16, 2004 Author Report Share Posted May 16, 2004 Ahh. Its pretty big and my BW is only 128kb UPLOAD (512 down) + Im running Limewire Ill change that liunk to a smaller image ! Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 17, 2004 Author Report Share Posted May 17, 2004 Anymore ideas..... I dont think its file permissions anymore since tthey are wideopen (and I can see them when referenced directoly) but perhaps its some apache directive.... ?? Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted May 17, 2004 Report Share Posted May 17, 2004 I have something similar on my site for my screenshots (see signature) and I needed both mySQL and a couple of php libs installed for it to display properly. The php libs I needed were: php-gd-4.3.6-1mdk gd-utils-2.0.22-1mdk I don't know if your script is exactly the same, but try installing those and restarting apache and see what you get. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 17, 2004 Author Report Share Posted May 17, 2004 Ohh. That could be it !!! :D :D Quote Link to comment Share on other sites More sharing options...
fred_the_fish Posted May 17, 2004 Report Share Posted May 17, 2004 Now the gd library should only be needed if your atually creating the images. Sorry, I'd assumed that you were storing the pictures on a filesystem some-where. If actually you are storing them within a database, then yes you would need to use the gd library to redraw them. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 17, 2004 Author Report Share Posted May 17, 2004 Well its using imagemagic or netpbm to 'make' the images at different resolutions. but they are made OK ... that is i can upload em using the tools and then ifd I browase the /var/www/html/....../images they are all there and I can see em .... Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 17, 2004 Author Report Share Posted May 17, 2004 AHHHH LZ .... [root@shuttle sp]# ls -lrt total 55264 -rw-rw-rw- 1 apache apache 2874 Aug 5 2003 sp_g_footer.tmpl -rw-rw-rw- 1 apache apache 4212 Aug 5 2003 sp_g_header.tmpl -rw-rw-rw- 1 apache apache 4518 Aug 5 2003 index.php -rw-rw-rw- 1 apache apache 3938 Aug 5 2003 sp_g_layout.tmpl -rw-rw-rw- 1 apache apache 8421 Aug 5 2003 sp_images.php -rw-rw-rw- 1 apache apache 5040 Aug 5 2003 sp_conf.php -rw-rw-rw- 1 apache apache 4602 Aug 5 2003 sp_d_template.tmpl -rw-rw-rw- 1 apache apache 8796 Aug 5 2003 ReadMe.txt -rw-r--r-- 1 apache apache 43249 May 18 04:15 simplephoto_v1.0.zip -rwxr--r-- 1 apache apache 1062277 May 18 04:18 dscn0344.jpg* -rwxr--r-- 1 apache apache 960348 May 18 04:18 dscn0345.jpg* -rwxr--r-- 1 apache apache 926295 May 18 04:18 dscn0346.jpg* -rwxr--r-- 1 apache apache 895459 May 18 04:18 dscn0347.jpg* ....... Yet https://lepeanuts.homelinux.com/sp/ ???????????????????? I must be doing something STUPID !!!! Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted May 18, 2004 Report Share Posted May 18, 2004 First off, my entire html folder is 755 for permissions. Not sure if that has anything to do with it. Did you install those 2 files I suggested? I'm still not sure what else would be needed. I took a long time figuring out what I needed to get my script (SimplePhoto) working. I emailed the author of the script to ask him before I remembered that I needed the 2 files I listed above. Oh, I had to have MySQL as well. Not sure why, but it was necessary. Quote Link to comment Share on other sites More sharing options...
chris:b Posted May 18, 2004 Report Share Posted May 18, 2004 [OT on] Nice looking guys on the photo Are they available? Or can tyme build an rpm of them, so you can get both in a package? :woops: [OT off] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.