PDA

View Full Version : Problems creating new exhibition


pigasus
3rd of May 2002 (Fri), 14:21
Hi Pekka,

I've got myself tied up in knots again. I tried to create a second exhibition. I created a new directory for the files - all sizes plus thumbs - and put the jpegs for one photo in the files. I created paths for the new files in EE. I created a new exhibition and gave it the appropriate paths. It isn't seeing the thumbs.

So i decided to delete the exhibition and start again. Still no joy and now I'm stuck with an entry call UNIQUE PHOTO BACKUP.

Any advice? And can I get rid of the BACKUP entry as well?

Thanks,
pigasus

Pekka
3rd of May 2002 (Fri), 18:28
If it worked on one exhibition there is no reason it won't work on second. Just to make sure: have you patched this bug: http://photography-on-the.net/forum/showthread.php?t=2796 ?

One thing: do the thumbs paths have a valid server path (relative path) like ../photos/thumbs/ ?
With trailing slash?
Thumbs you see in editor are retrieved from relative path.

You can delete an exhibition entirely if you delete all photos from it, or move all photos to another exhibition.

EE makes ALL possible efforts to preserve unique photos in database from accidental erasure, that is why the system is like it is. If you need to really delete photos off the database, use photo editors "multidelete" output choice for easy deleting, or you can do it in photo editor one by one.
Photos in database don't take much space and do not slow things down at all, so it's perfectly ok to have some exhibitions there hidden and as a storage.

Usually there is no point starting from scratch unless the database is corrupted (and you'll see if it is corrupted by dozens of PHP error messages in dialogs).

pigasus
3rd of May 2002 (Fri), 19:57
I've corrected the bug (at least I think I have - just removing [0] in one place?) Still not working.

I've set up a full set of new folders. For thumbs, for example, it follows the same general path as ...\D30_photos\thumb except it is ...\Fuji_photos\thumb

My path for the new exhibition is definitely set to http://127.0.0.1/gallery/Fuji_photos/thumb etc. On the Exhibition Edit page, however, the thumbs window for the Fuji exhibition shows the path as ".../thumb/". On the Exhibition Edit page for the D30 exhibition, on the other hand, the thumbs window shows the path as ".../D30_photo//thumb/". If I set the thumb path for the Fuji exhibition to the D30 path, it brings up the D30 thumbs, no problem.

I'm begining to think it might be easier just to put all the photos regardless of exhibition in the D30 folders!

I think this is a case of me trying to run before I've mastered walking. :(

Pekka
4th of May 2002 (Sat), 04:59
If your gallery is
http://127.0.0.1/gallery/index.php
and your thumbnails are placed in
http://127.0.0.1/gallery/Fuji_photos/thumb/
and you microthumbs are placed in
http://127.0.0.1/gallery/Fuji_photos/microthumb/

In this case the relative paths (calculated from the editor folder) for thumbs is
../Fuji_photos/thumb/
and for microthumbs
../Fuji_photos/microthumb/

The relative path system works like:
../ means 'step one folder back'
./ means 'this folder'
name/ in the end of path means 'folder called name'
name in the end of path means 'file called name'
/folder/folder/ / in the beginning of the path means server root which is usually the httpd folder

pigasus
4th of May 2002 (Sat), 05:14
Pekka wrote:
If your gallery is
http://127.0.0.1/gallery/index.php
and your thumbnails are placed in
http://127.0.0.1/gallery/Fuji_photos/thumb/
and you microthumbs are placed in
http://127.0.0.1/gallery/Fuji_photos/microthumb/

Yep, that's what it is.

In this case the relative paths (calculated from the editor folder) for thumbs is
../Fuji_photos/thumb/
and for microthumbs
../Fuji_photos/microthumb/
Nope, it's showing up as ../thumb/ and as ../microthumb/

Maybe I shouldn't be trying to put photos from a FUJI camera in such an elegant gallery. :)

Could this have something to do with an index.html file?

Sorry if I'm being dense!
pigasus

Pekka
4th of May 2002 (Sat), 05:37
No index.html has no effect there other than preventing browser access to that folder.

I could reproduce your problem now, though.

Go to multieditor and check microthumb and thumb paths: you must have backward slashes \ instead forward slashes / there, like

..\Fuji_photos\thumb\
..\Fuji_photos\microthumb\

Correct way is:

../Fuji_photos/thumb/
../Fuji_photos/microthumb/

pigasus
4th of May 2002 (Sat), 06:05
I was being really DUMB! It wasn't the direction of my slashes though. When I set the ULR in the path editor, I didn't actually reset the path. I guess I was assuming that the path would just reflect the ULR and reset itself.

I promise not to try anything new for the next week! :D

At least this gives you an idea of how much detailed instructions you need to provide in your ultimate help file for learners like me.

Again, thanks for all your help. When I get my site on line, I'll include numerous recommendations and links to your sites!

By the way, I created a new set of actions from LS (which I call Pekka Sharpen) by pruning out the linear conversion steps. I have been using it on my Fuji photos. Your HQ sharpening actions give the most realistic, photo-like sharpening I have found (and I was using the highly priced nik SharpenerPro before I discovered your actions).

Have a good weekend.
pigasus

Pekka
4th of May 2002 (Sat), 15:27
pigasus wrote:At least this gives you an idea of how much detailed instructions you need to provide in your ultimate help file for learners like me.

Yes, I'll prepare CLEAR instruction set for all.

Again, thanks for all your help. When I get my site on line, I'll include numerous recommendations and links to your sites!

Cool.

By the way, I created a new set of actions from LS (which I call Pekka Sharpen) by pruning out the linear conversion steps. I have been using it on my Fuji photos. Your HQ sharpening actions give the most realistic, photo-like sharpening I have found (and I was using the highly priced nik SharpenerPro before I discovered your actions).

That's interesting. Maybe I'll release a PSharpen actionset!

Have a good weekend.
pigasus

You too.

Pekka