SunQuest
           Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 19th, 2004, 06:41 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
Image gallery not working?

Hi there, i fixed the issue with the safe mode, but now i got the script running it wont show images!

all i see is:
<< : view all : >>
then 2 'images' with the red cross that it cant find the image.


now i checked and doublechecked the url and paths all are correct!

when i doo properties on one of the not-working-images i get this url as sourceurl:
http://www.zerocom.nl/test/modules/gallery/imgsrc.php?src=../../images/photoalbum/arnan.jpg

any ideas?

Reply With Quote
  #2  
Old May 19th, 2004, 07:11 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

if i had to guess by looking at it, even considered you've double-checked, it looks like you're not using the right path.

clicking a dead thumbnail to view a larger image provides an invalid request, and dot directories (ie ../../) should not appear within the thumbnail path.

u need the "full server path" not just the relative path.

Reply With Quote
  #3  
Old May 19th, 2004, 07:17 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

if i do the complete path: http://www.zerocom.nl/test/images/gallery
i get this:

Warning: opendir(http://www.zerocom.nl/test/images/photoalbum/): failed to open dir: not implemented in /var/www/html/test/modules/gallery/images.php on line 72

Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/html/test/modules/gallery/images.php on line 73

Warning: closedir(): supplied argument is not a valid Directory resource in /var/www/html/test/modules/gallery/images.php on line 91
invalid request

Reply With Quote
  #4  
Old May 19th, 2004, 07:22 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

that is not the complete path, your path will not start with http:// or have your domain name in it. read the troubleshooting notes at the bottom of the gallery tutorial.

looks like your path should be:
/var/www/html/test/modules/gallery/

Reply With Quote
  #5  
Old May 19th, 2004, 07:33 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

yes youre right :/ im tired...

anyway i set it to /var/www/ etc..

but still it doesnt work... altough i get no errors anymore.

the image result is still the same.

Also i noticed that the original path which you described in the toturial is just "images/photoalbum" and not the full path.

anyway got anymore ideas?

Reply With Quote
  #6  
Old May 19th, 2004, 07:50 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

did you copy and paste the code directly from the site? if so, you may need manually type the config file and imgsrc files, as invisible characters may have been transferred.

that's one assumption, because going directly to your thumbnail should not give me a "headers already sent" warning.. and unless there's a permissions issue, i don't understand why going directly to your full sized image says that the page cannot be found. does the image exist in that location or not?

Reply With Quote
  #7  
Old May 19th, 2004, 07:55 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

my idea is the script itself works quite nice... but the only thing is it does not show images

http://www.zerocom.nl/test/modules/gallery/images.php there

but if you click on the thumb it does show nothing either... not even an error. and yes the file arnan.jpg is working and not corrupt

Reply With Quote
  #8  
Old May 19th, 2004, 08:02 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

so why can't i access your image directly? just typing in the address to the image (ignoring the gallery) it does not show up.

Reply With Quote
  #9  
Old May 19th, 2004, 08:09 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

really weird... i was quite sure the image was not corrupt, since the paht is correct it must be corrupt

Reply With Quote
  #10  
Old May 19th, 2004, 08:14 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

even trying to access the directory:
http://www.zerocom.nl/test/modules/gallery/photoalbum/

says page not found..

Reply With Quote
  #11  
Old May 19th, 2004, 08:17 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

uh the image dir is at correction -> www.zerocom.nl/test/images/photoalbum/

Reply With Quote
  #12  
Old May 19th, 2004, 08:27 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

apparantly its looking in the wrong dirs... it tries to load images from /test/modules/ etc but the images are in /test/images/photoalbum/

Reply With Quote
  #13  
Old May 19th, 2004, 08:42 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Image gallery not working?

you really should put the gallery files within the same directory as your images.

Reply With Quote
  #14  
Old May 19th, 2004, 08:44 PM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

thats the easiest sollution yes... thanks for your time

Reply With Quote
  #15  
Old May 20th, 2004, 10:12 AM
Ajdegans Ajdegans is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Netherlands
Posts: 16 Ajdegans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Ajdegans Send a message via Yahoo to Ajdegans
RE: Image gallery not working?

still its not working... i put all the files in one dir, and yet its not working same problem!

are you sure the code is right?

http://www.zerocom.nl/test/testarea/images.php

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > Image gallery not working?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump