|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Creating an Image Gallery Tutorial Problem
Hi there...
I have been doing this tutorial, and I think it's great. It is exactly what I've been searching for. Later I will be adding a lot to it. However, right now, I have a problem. It doesn't seem to work quite right. I can get the thumbs to appear and link to the larger image, but the only way of doing that is if I add my own line of code and remove the imgsrc.php file from use. And I don't want to do this. For some reason it isn't catching the Instead I end up with nothing but blank spaces, however if I were to add a width and height element, I would get the image box (broken) and further the properties would give me the correct image path. Plus, when I added: I could see my image. So I'm rather confused, why isn't it linking to the imgsrc.php file? Thanks in advanced. :0) |
|
#2
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
oh and if you want to take a look
here is the address: http://tayhawk.com/Doors/images.php |
|
#3
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
hm.. just a guess here but do you have any periods in your main PATH (in config.php)? cause that's supposed to be the full server path to your directory and shouldn't contain any periods.
i'm noticing that the path being sent to your imgsrc.php contains a period and that's probably what is throwing it off. |
|
#4
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
Ok... I was using a period I had this:
So I replaced it with the entire directory path, but then I kept getting 'invalid request'. So Now it is: But I'm back to the same problem. The images only show up without the imgsrc.php I tried putting echo "hello"; Into the second line of imgsrc.php but even that will not show up. Any other ideas? |
|
#5
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
make sure you have a leading slash, and that you're using the FULL path, it should be:that should solve the problem
|
|
#6
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
I don't understand.
My full path would be this: 'http://tayhawk.com/public/Doors/gallery/' or ftp://tayhawk.com@ftp.tayhawk.com/public/Doors/gallery/ |
|
#7
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
the server address can be found within your phpinfo() page.. it'd probably look something like this
/home3/tayhawk/public_html/doors/gallery/ if you can't find it, just link me your phpinfo() page and i'll find it for you |
|
#8
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
thanks, I got it finally!
Was all warped because of my hosting company. They like to keep things secret eh? ;) |
|
#9
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
Ok now I am totally fustrated.
The path they gave me is not working. AND I can't find it in phpinfo. I am not getting an error message with their path which was /services/webpages/t/a/tayhawk.com/public/Doors/gallery/ but it's not showing the images either phpinfo page is now here: http://tayhawk.com/Doors/phpinfo.php Hope you can help, I give up. |
|
#10
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
hmm.. well, that should be it:
/services/webpages/t/a/tayhawk.com/public/Doors/gallery/ what are the permissions on this folder? since imgsrc.php has the correct path, you may want to force some error checking to see where the problem is exactly.. my assumption is that for some reason, the following line in imgsrc.php doesn't think the file exists it might be a permissions issue |
|
#11
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
also, i'm noticing the links to the larger images is working.. looks like the code displaying the thumbnails might have been altered during the troubleshooting. which makes me think it's not a permissions issue.
you might try using the original un-altered code, to start from scratch, now that you have the correct path for the config file.. |
|
#12
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
I really did cut and paste the code, but I'll try again tonight and see if it works, for now I'm just too fustrated and taking a break.
Thanks though, I'll let you know if it works out tomorrow! It is a great tutorial if it would just work for me. ha |
|
#13
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
Ok
So I've checked over my coding I've rechecked the coding. I have the path in as should be. I've reviewed phpinfo NOTHING. I am STILL having the same problem after two days. I even cut and pasted the code directly from the tutorial. I don't understand what is going on. Incredibly fustrated now. Does anyone know WHY it won't work? |
|
#14
|
|||
|
|||
|
RE: Creating an Image Gallery Tutorial Problem
there's no reason i can think of why it wouldn't be working. if you want, feel free to message me on aim or yahoo anytime after 8pm CST and i will help you troubleshoot until the problem is solved.
my only other suggestion would be to add your own error checking, so you can figure out which portion of the code exactly is causing the problem, or whether it has something to do with the server configuration. i'm sorry that this is frustrating you, because of the fact that it's my code i really would like to help you figure out what the problem is. |
|
#15
|
|
|
|