|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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/ |
|
#5
|
|||
|
|||
|
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? |
|
#6
|
|||
|
|||
|
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? |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
|||
|
|||
|
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
|
|
#10
|
|||
|
|||
|
RE: Image gallery not working?
even trying to access the directory:
http://www.zerocom.nl/test/modules/gallery/photoalbum/ says page not found.. |
|
#11
|
|||
|
|||
|
RE: Image gallery not working?
uh the image dir is at correction -> www.zerocom.nl/test/images/photoalbum/
|
|
#12
|
|||
|
|||
|
RE: Image gallery not working?
apparantly its looking in the wrong dirs...
|
|
#13
|
|||
|
|||
|
RE: Image gallery not working?
you really should put the gallery files within the same directory as your images.
|
|
#14
|
|||
|
|||
|
RE: Image gallery not working?
thats the easiest sollution yes... thanks for your time
|
|
#15
|
|||
|
|||
|
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 |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Image gallery not working? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|