View Full Version : More path problems
sh0tzy
5th of October 2002 (Sat), 14:15
Hi, I am running Apache 2.0, RedHat 7.3, MySQL. I am having problems with my path, similair to what others have had. None of the posted solutions seem to apply to me.
I have double, triple checked my paths, but I cannot get the thumbnail images to show up on the Exhibition Editor, therefore the Exhibition doesn't work.
The sample that came with the install works just fine. I have chmod 777 all of the directories according to the FAQ. HELP!
Pekka
5th of October 2002 (Sat), 14:39
What does path analyzer say?
Can you access images through browser using same path as you have defined in EE?
Are there any special characters or spaces in filenames or paths, and are filename extensions in lower case (EE 1.3 will handle all these, but not 1.22)?
PS. Apache 2.0 is not supported by current PHP releases, so odd problems may occur.
Mail me path to your editor if you want me to take a look of the problem.
sh0tzy
5th of October 2002 (Sat), 15:26
no, all of my extensions are uppercase! is that the problem?
sh0tzy
5th of October 2002 (Sat), 15:36
hmmm, so if that is the problem, is there a easy way to rename *.JPG to *.jpg?
sh0tzy
5th of October 2002 (Sat), 16:07
ok, I got all the .JPG renamed to .jpg and didn't seem to help.
Pekka
5th of October 2002 (Sat), 16:55
Can you mail me privately the address to your input folder and I'll have a look.
sh0tzy
5th of October 2002 (Sat), 19:57
Yes, I tried to use the mail function from the boards, but doesn't seem to be going through.
I sent you the details from my Yahoo mail account.
Thanks again for your help!
Pekka
6th of October 2002 (Sun), 04:47
Hi,
I fixed the paths, the problem seemed to be that in URL you had relative path and in relative paths paths were wrong. There is a bug in the text, it should say "relative to the input folder", not "from gallery root folder", maybe that was confusing.
../microthumbs path does not seem to contain any images.
Other important thing that will prevent your gallery working is that EE works so that each folder (thumb/microthumb/big/small/) need to have an indentical set of filenames, only in different sizes. Now your thumbs are renamed, so if you make a new photo based on that filename you'll never see big photos because their filenames are different.
Cheers,
Pekka
sh0tzy
6th of October 2002 (Sun), 08:02
Hi, thanks for fixing the paths. I fixed the microthumbs, they had the .JPG extension, once I changed to lowercase extension they showed up. The only issue now is that when I view my exhibition, I only get one photo, and it is not the first or last photo in the folder. Any ideas?
Pekka
6th of October 2002 (Sun), 08:18
use "ADD ALL UNUSED PHOTOS" in photo editor.
sh0tzy
6th of October 2002 (Sun), 09:39
Ok, that took care of that, thank you again for your help. If I ever have the opportunity to use this for any type of commercial work you can be sure I'll donate to you!
The only other issue I have is getting the large photo when I click the thumbnail, I am guessing this may go back to the path or the extension, going to check those next!!
sh0tzy
6th of October 2002 (Sun), 09:56
I guess I was wrong, the myphotos dir has all lower case extensions, permission and owner same as thumbs and microthumbs.
sh0tzy
6th of October 2002 (Sun), 10:20
Well, I am slowly figuring some things out here. Now what I have determined is that when you click a thumbnail, I go to the page where the full size photos should appear, but get no photo. What is happening is that it is trying to display the thumbnail again, not the full size photo..is this right? Obviously the reason it is not working is that the thumbnail doesn't exisit in the dir I have for the full size jpeg's.
I changed the path for the variable 'default' to /photos/thumb/ and now I can see the thumbnail...but I believe I should be seeing the full size photo after clicking the thumbnail. Not sure where we tell the script to get the right photo at?
Pekka
6th of October 2002 (Sun), 12:33
I'd like to suggest that you should read the FAQ, it tries to explain it all very carefully.
Basic rules are:
1. Each size, thumb and microthumb have identical filename which the database refers to.
2. In EE 1.22 don't use any spaces or special characters in paths or filenames, and you must use small file extensions.
3. When you put a filename in the end of a size path and try that directly on browser: if you see a photo, EE will see a photo, if you don't EE don't either.
Example:
you have set path
http://www.mysite.com/photos/big/
and you have a filename
xxxxxxxx.jpg
now you can try pasting
http://www.mysite.com/photos/big/xxxxxxxx.jpg
to browser address line and see if it shows you a photo - if it does you have set it right.
sh0tzy
6th of October 2002 (Sun), 14:22
Well, I would like to apologize for being an IDIOT! I am sorry I wasted your time!
I thought I had things setup correctly, however, after reviewing your last post I carefully looked at what I was doing and realized what the problem was. The software I used to make my thumbnails had add "TN_" to the beginning of each file name. I know it seems hard to believe I overlooked such a simple thing, but I knew I had made thumbs from the original file and therefore I ASSUMED that the thumbs had been named the same and failed to catch this. I ran a batch rename on all files and things are working 100% now.
Again, I am sorry!
Pekka
6th of October 2002 (Sun), 15:11
No problem, glad to hear we worked this out :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.