 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
March 2nd, 2007, 03:32 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 24
| Image "copies" do not show up in search results
I mentioned this in another thread but wanted to put it in a separate thread.
I was doing an album search for specific keyword in a title but the image I expected to see in the search results wasn't there. What I discovered was that this image was a retitled "copy" of another one I had uploaded.
Is this a bug or just the "nature of the beast"?
|
| |
March 2nd, 2007, 06:36 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
It is the nature of the beast. Users complained about seeing the same photo showing up multiple times in the program. The original image is the only stored image on disk. The rest are just copied inserts in other cats
|
| |
March 2nd, 2007, 07:45 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2007
Posts: 24
|
That makes sense |
| |
March 9th, 2007, 02:08 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Well, I think instead of opening a new thread I'll attach to this one. Of course, it makes perfect sense not to show the copies of images in the search results - who wants to see three times the same picture? But wouldn't it make the same sense not to show copies of images when using the "Last 1 day" "Last 7 days" function? If I do that, I see most of the images twice, because it shows copies to other categories (several users already contacted me and asked whether I could delete their duplicate imagery that in fact was not duplicate at all). How can this be fixed?
Thanks,
cellarius
|
| |
March 9th, 2007, 07:43 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
well possibly add this at line 740 of showgallery.php?? Code: Content visible to verified customers only.
|
| |
March 9th, 2007, 10:29 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
No, that does not fix it.
|
| |
March 9th, 2007, 10:48 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
that should work fine. Your adding the storecat in that line Code: Content visible to verified customers only.
|
| |
March 9th, 2007, 01:44 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Yes, that's exactly what I added. Doesn't work, I'm afraid.
Have a look at: http://www.roma-antiqua.de/forum/gal...=last7&cat=all
And thats copied from the file, beginning at line 727, bold is what I added: Code: Content visible to verified customers only.
|
| |
March 14th, 2007, 09:46 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
So, the offered solution does not work - but if putting images in several categories is a feature, then this is clearly a bug, and the offered solution does not work. Any other proposals?
|
| |
March 14th, 2007, 11:08 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Here is the entire code block there one more place to put it Code: Content visible to verified customers only.
|
| |
March 16th, 2007, 10:18 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Ahhh! This did the trick. |
| |
March 16th, 2007, 10:34 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Yes, it did the trick for the "last x days"-function. But now pictures that are sorted into more than one category don't get displayed on a category's gallery home.
Example:
Image XYZ is sorted into user album A and category B. If I apply the code change you proposed, the following happens:
- the double-image bug is fixed. No more double images in the "last x days"-function
- the image is still visible in gallery view of user album A.
- the image is not visible in gallery view of category B.
Clearly, this is not a feasible option, so I undid the changes to showgallery.php. Sorry to be a nuisance, but I think this is quite fundamental.
|
| |
March 16th, 2007, 11:51 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Albums and categories are two separate things. The change I noted in showgallery is valid to not show duplicates. album photos do not show on a category anyway so your losing me here with your description. If one assigns an album to a category all you see is an album block with an thumb representation. Those are two separate queries and nothing has changed there
|
| |
March 18th, 2007, 04:05 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Of course album photos show up in categories. What else would the "copy to category"-function be good for? That's what we are talking about in this thread, are we not? This was never about assigning whole albums to a category, but about assigning single images to a second category.
Obviously, I did not fully analyze the code. But the index pages of categories are called by showgallery.php, and that's where the changes are made. After the changes, the single photos copied to a category from a User Album are not shown in the index of that category any more. If you say that there can be no connection, I have to say that there has to be, since this is the only change I made to showgallery.php and I'm able to switch this behaviour on and of by applying and removing the code changes.
O.K., let's see, once again:
I have a single Photo. This single photo I upload to my User Album (showgallery.php?cat=564) and at the same moment I copy it to a category (showgallery.php?cat=502).
If I leave showgallery.php unpatched, I see the single photo in my User Album and in the index of the category I copied it to. But: If I use the "Last x days" function, I see the photo twice.
Now I apply the patch to showgallery. The "Last x days" function now works perfectly well, and I can still see the photo in my User Album. But it has vanished from the category index now. If I call the category index (showgallery.php?cat=502), the photo does not show up anymore. Once again: This is not about assigning an album to a category.
|
| |
March 18th, 2007, 03:23 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Okay now you are making more sense here.
There is a reason the code is the way it is then. You must allow showing multiple Photos in the ALL scenerio's if you want things to work right when viewing albums therefore back out and use the unaltered code.
|
| |
March 20th, 2007, 09:40 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
As I and several other user in this forum have stated several times: The overall handling of image-copies does not make any sense at all. I made a statement over at suggestions, but up to now nobody cared to explain to me or the many other customers what sense it may be to show images twice in some places and not at all in other places (see first and second posting in this thread). The handling is just inconsistent.
|
| |
March 20th, 2007, 09:47 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Since showgallery handles displaying both categories and albums it must be coded as noted. If you add a statement to not show those duplicates there when viewing a category or album you will never see the images that are copies so only must show them on VIEW ALL etc because they are in essense being treated as a real photo. We can remove duplicates out of photo blocks little stuff like that but on the overall scheme of things these are true full photos just only one photo is kept on disk
|
| |
March 22nd, 2007, 10:02 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Yes, I understood that quite well. I just think it's nonsense.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:14 AM. | |