Jump to content
Gowator

Gallery

Recommended Posts

Guest emetib

from looking at your source.

 

is the gallery, albums, album01 directories 755?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

Ahh.

Its pretty big and my BW is only 128kb UPLOAD (512 down) + Im running Limewire

Ill change that liunk to a smaller image !

Share this post


Link to post
Share on other sites

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.... ??

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ....

Share this post


Link to post
Share on other sites

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 !!!!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

[OT on]

Nice looking guys on the photo :g-balloon:

Are they available? Or can tyme build an rpm of them, so you can get both in a package? :woops:

[OT off]

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...