PDA

View Full Version : Having one image in two exhibitions...


Bundy
6th of March 2004 (Sat), 11:58
Pekka,

I have several artists that have individual EE exhibitions and they are currently apart of a group exhibit in out physical gallery. I would like to create a new EE exhibition that contains specific images from their individual EE exhibitions. Is it possible to have the same image show up in two different exhibitions without showing a duplicate image in the EE database.

I tried to Copy them to the new EE exhibition, unfortunately that creates two instances of the same image in the EE database. Is there a way to do this without showing the duplication in the EE database?

Ideally, if you could just point or link the specific images to a second exhibition that would perfect. Having the image show up twice within the All Exhibitions Combined is too confusing.

Is this already available in RC2? If not, is it a major fix or is a patch possible to cut and paste.

Thanks in advance,

Bundy

Pekka
6th of March 2004 (Sat), 13:32
I tried to Copy them to the new EE exhibition, unfortunately that creates two instances of the same image in the EE database. Is there a way to do this without showing the duplication in the EE database?

If I understood it correctly, you need to show same image in two exhibitions but do not want people to see that they are indeed same photos? To me that requirement seems illogical. EE refers to each photo by id number: hit counter and all changes you do to a photo X that is shared between several exhibitions are naturally shared between several exhibitions - it is after all physically same photo X in all cases.

To me to know that a certain photo in exhibition Y is same one used in exhibition Z is a good thing - this is exactly how a new exhibition "highlights from the whole gallery" will get view hits to photos and lure people to their individual exhibitions.

So it seems you main problem is to hide info that photo is shared?

You can hide photo page's "used in exhibitions" text in misc settings "PHOTO DETAIL DISPLAY AND ORDER" editor.

"All exhibitions combined" shows all copies of same photo now (mouse over text tells which exhibition it belongs to). This has some logic behind it, but practically is confusing as you say. I'll see how that side-effect can be removed. It affects also photo page browsing, so it is most likely not a quick patch, but you never know until you code it. I'll post it here as soon as it is done.

Bundy
6th of March 2004 (Sat), 17:02
Pekka,

It's not that I want to hide that the image is shared by two exhibitions, it's that I don't want the image to show up twice when viewing All Exhibitions Combined.

By Copying the image to another exhibition, when you select All Exhibitions Combined, it would make sense if EE was able to remove duplicates from the list pages. Displaying the image(s) twice makes it look like there's a glitch. If the names were different, that's one thing, but duplicate names should be cross checked some how.

Were you able to look into the "s and \s problem I sent you through a PM?

Thanks,

Bundy

Pekka
6th of March 2004 (Sat), 17:24
Pekka,

It's not that I want to hide that the image is shared by two exhibitions, it's that I don't want the image to show up twice when viewing All Exhibitions Combined.

Ok.

By Copying the image to another exhibition, when you select All Exhibitions Combined, it would make sense if EE was able to remove duplicates from the list pages. Displaying the image(s) twice makes it look like there's a glitch. If the names were different, that's one thing, but duplicate names should be cross checked some how.

I'll look into that. Not all solutions are always fast and easy, so I can not promise when the fix will be out.

Were you able to look into the "s and \s problem I sent you through a PM?

Yep, fixed that, you have PM. The ftp problem is PHP module bug, and I'll do you a modified version of my ftp code for your server very soon.

dani3d
6th of March 2004 (Sat), 17:55
Yes that is a real issue. I have not thought about this but I have a photo that appear in 3 diferent gallery and when I do a search for mountain, that photo is 3 times. That does complicate search and makes it less effective.

Bundy
8th of March 2004 (Mon), 18:12
Pekka,

Have you had a chance to think about this issue about the copied images showing up multiple times in the "All Exhibitions Combined"?

Dan has exactly the same issue that I was trying to communicate earlier.

A fix would make my world perfect. I know that your time is probably already short, but is there any chance of finding a solution?

Thanks,

Bundy

Pekka
8th of March 2004 (Mon), 18:44
Pekka,

Have you had a chance to think about this issue about the copied images showing up multiple times in the "All Exhibitions Combined"?

Dan has exactly the same issue that I was trying to communicate earlier.

A fix would make my world perfect. I know that your time is probably already short, but is there any chance of finding a solution?

Thanks,

Bundy

Yes I'm working on it, and may have a solution coming very soon.

Actually, I already have it working great on my home machine, but I have learned to test even simple changes a lot so that no oddities happen - everything affects everything.

I'll upload the files here as soon as it is tested.

Bundy
9th of March 2004 (Tue), 13:06
As usual Pekka, you're always performing miracles!

With all of the things you have on your plate, I'm sure glad that you could fit it in. It will make my life so much easier... :D

Bundy

Guillermo Freige
10th of March 2004 (Wed), 20:44
Pekka,

Have you had a chance to think about this issue about the copied images showing up multiple times in the "All Exhibitions Combined"?

Dan has exactly the same issue that I was trying to communicate earlier.

A fix would make my world perfect. I know that your time is probably already short, but is there any chance of finding a solution?

Thanks,

Bundy

Yes I'm working on it, and may have a solution coming very soon.

Actually, I already have it working great on my home machine, but I have learned to test even simple changes a lot so that no oddities happen - everything affects everything.

I'll upload the files here as soon as it is tested.

Pekka:
This means the picture will not be added n times to the counter as it happens now?. Almost all my pictures are at 2 galleries (at least), and every time a picture is viewed, the counter is increased by 2.

Pekka
11th of March 2004 (Thu), 05:47
Pekka:
This means the picture will not be added n times to the counter as it happens now?. Almost all my pictures are at 2 galleries (at least), and every time a picture is viewed, the counter is increased by 2.

No, photo is not added twice, only once per page load. Only one counter per photo id is used. So, if same photo is used in several exhibitions each page load will add one hit to that photo id, and that new count will show in all photos using he same id.

You may get the impression that counter is increased by 2 if you open same photo from different exhibitions (I'll call them page A and page B), reload pages and forget that their counter is actully same counter: reload page A, counter of A advances by 1. Reload page B, Counter of B advances by 2 (which is correct, because you viewed the same photo in page A, and now once more).

Guillermo Freige
12th of March 2004 (Fri), 19:33
Pekka:
This means the picture will not be added n times to the counter as it happens now?. Almost all my pictures are at 2 galleries (at least), and every time a picture is viewed, the counter is increased by 2.

No, photo is not added twice, only once per page load. Only one counter per photo id is used. So, if same photo is used in several exhibitions each page load will add one hit to that photo id, and that new count will show in all photos using he same id.

You may get the impression that counter is increased by 2 if you open same photo from different exhibitions (I'll call them page A and page B), reload pages and forget that their counter is actully same counter: reload page A, counter of A advances by 1. Reload page B, Counter of B advances by 2 (which is correct, because you viewed the same photo in page A, and now once more).

Definitely NOT my case. Every time I open one photo page, the counter is increased twice in the main exhibitions index page if the photo is in two galleries.

Pekka
12th of March 2004 (Fri), 19:59
Pekka:
This means the picture will not be added n times to the counter as it happens now?. Almost all my pictures are at 2 galleries (at least), and every time a picture is viewed, the counter is increased by 2.

No, photo is not added twice, only once per page load. Only one counter per photo id is used. So, if same photo is used in several exhibitions each page load will add one hit to that photo id, and that new count will show in all photos using he same id.

You may get the impression that counter is increased by 2 if you open same photo from different exhibitions (I'll call them page A and page B), reload pages and forget that their counter is actully same counter: reload page A, counter of A advances by 1. Reload page B, Counter of B advances by 2 (which is correct, because you viewed the same photo in page A, and now once more).

Definitely NOT my case. Every time I open one photo page, the counter is increased twice in the main exhibitions index page if the photo is in two galleries.

Ok, that is a different counter and there is a bug there! Thanks! :)