solved Tag and image links still apply long after being deleted

lornawebber
@lornawebber
6 years ago
334 posts
This issue needs a bit of explanation...
I have noticed that when tags are deleted from an image, those tags are still associated with that image long after they have been removed. The image will be presented in a search even if those tags were removed from the image weeks ago.
I discovered this because we require artwork images to have a photo reference link and I have been tagging "nolink" for those that don't. When I search "nolink" to follow up on these images, I get ones that have since been corrected and had that tag removed.

Similarly, regarding the url scanner providing linked thumbnail images: Artwork images have a link to the reference photo in their Image Caption and this generates a thumbnail of the artwork on the photo image page. It has been reported that if the link on the artwork is changed, the original photo still shows a thumbnail of the artwork, months later.

What is the mechanism for resetting this kind of link so that the site shows current settings?
updated by @lornawebber: 06/06/18 10:54:52AM
brian
@brian
6 years ago
10,148 posts
lornawebber:
This issue needs a bit of explanation...
I have noticed that when tags are deleted from an image, those tags are still associated with that image long after they have been removed. The image will be presented in a search even if those tags were removed from the image weeks ago.
I discovered this because we require artwork images to have a photo reference link and I have been tagging "nolink" for those that don't. When I search "nolink" to follow up on these images, I get ones that have since been corrected and had that tag removed.

I've tested the tag deleting here, and I'm not seeing any issues. Is it specific tags that you are seeing this for?

Quote:
Similarly, regarding the url scanner providing linked thumbnail images: Artwork images have a link to the reference photo in their Image Caption and this generates a thumbnail of the artwork on the photo image page. It has been reported that if the link on the artwork is changed, the original photo still shows a thumbnail of the artwork, months later.

What is the mechanism for resetting this kind of link so that the site shows current settings?

Right now I believe this is an automatic setting - it's checking I believe 100 URLs either hourly or daily - it's probably way too small to be able to keep up with the number of images on your site. I'll look into making that a configurable option.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
lornawebber
@lornawebber
6 years ago
334 posts
brian:
Is it specific tags that you are seeing this for?

I am only certain of this with the "nolink" tags because they are easiest to check, but I will test further. I was going to use that tag to keep tabs on images that need review. I could use a Photo Album but I am not the only Admin who checks images so a tag would be the most convenient. Unfortunately the way it is now, I can't take images off the review list by deleting the tag. Is there an easier way?

brian:
Right now I believe this is an automatic setting - it's checking I believe 100 URLs either hourly or daily - it's probably way too small to be able to keep up with the number of images on your site. I'll look into making that a configurable option.

Yes that would help a lot, thanks. Obviously not a significant problem but it does make people ask..
brian
@brian
6 years ago
10,148 posts
lornawebber:
Unfortunately the way it is now, I can't take images off the review list by deleting the tag. Is there an easier way?

If you cannot remove a tag, then that is a problem - we don't want to spend time trying to develop a workaround - we need to figure out why tags aren't removing. I have tested removing tags here and don't see any issues, so I need to know an image where you have added the "nolink" and it's not been removed (or still showing in a search for "nolink").

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
lornawebber
@lornawebber
6 years ago
334 posts
This image https://pmp-art.com/sarah-edmondson/gallery/193048/beautiful-boy used to have a tag of "nolink" but doesn't now, yet it still comes up in searches.
That said, I may have been a bit too quick with my comments because there are fewer images coming up than I thought.
I have recently deleted some nolink tags, for example on this one https://pmp-art.com/sparrowshand/gallery/225210/arnika and this one https://pmp-art.com/cmagai/gallery/235078/snowy-day-in-february which are still being found but I will look again later to check.

I was under the impression that putting quotation marks around words searched for that exact string. If that's not the case, I have to re-evaluate my testing. I find that my lovely assistant has been tagging "no link" instead of nolink. I thought if I searched "no link" in quotes, the search would only return images with those two words together. If that's not the case, Search is finding all images with the word 'link' so that would explain why some of them don't have the tag "no link". D'oh.
Is there detailed JR documentation about how the search works? I've looked and can't find it. I need to re-write my site documentation as a result of this misunderstanding.
lornawebber
@lornawebber
6 years ago
334 posts
I just noticed the nolink tag is in the profile's tag cloud. Does the image search look at that too?
brian
@brian
6 years ago
10,148 posts
lornawebber:
I just noticed the nolink tag is in the profile's tag cloud. Does the image search look at that too?

A regular site search would for sure, but just searching images - no.

lornawebber:
I was under the impression that putting quotation marks around words searched for that exact string. If that's not the case, I have to re-evaluate my testing. I find that my lovely assistant has been tagging "no link" instead of nolink. I thought if I searched "no link" in quotes, the search would only return images with those two words together. If that's not the case, Search is finding all images with the word 'link' so that would explain why some of them don't have the tag "no link". D'oh.
Is there detailed JR documentation about how the search works? I've looked and can't find it. I need to re-write my site documentation as a result of this misunderstanding.

Quotes are correct - that should get you what you want - HOWEVER - since the word "no" is shorter than 3 characters, it gets a bit more complicated since this is too short to use the full text search indexes that JR maintains, so it has to jump into the Datastore to do an actual "like" check - this could be where there's a disconnect happening, but I will have to test to be sure how that plays out once it all gets parsed.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
lornawebber
@lornawebber
6 years ago
334 posts
Ah yes. Thanks, that makes sense.
If tags shorter than 3 characters cannot be searched, shouldn't they be rejected on entry? Or was it accepted becasue it was part of of multi-word tag?
brian
@brian
6 years ago
10,148 posts
lornawebber:
Ah yes. Thanks, that makes sense.
If tags shorter than 3 characters cannot be searched, shouldn't they be rejected on entry? Or was it accepted becasue it was part of of multi-word tag?

Sorry I didn't make it clear - you can search any length - that's not a problem. However, if your search term is under 2 characters in length it has to use an alternate path to get the results. In this case however, that doesn't matter since the search is in quotes.

I've updated the Marketplace with version 2.0.1 of the Search module, and updated it on your site. The problem here was that the search word parser was pulling apart quoted search terms when it shouldn't have been - so what was happening is it was expanding:

"no link"

into:

"no AND link"

which could bring up no results or results that did not match.

I've got that fixed up now so exact search results _should_ return only those items that have the exact string.

Let me know if that looks better.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
lornawebber
@lornawebber
6 years ago
334 posts
Today I've done the "no link" Images search in quotes. It returned the following which had the "no link" tag deleted 2 or 3 days ago :
https://pmp-art.com/mary-vermersch/gallery/46701/barn-in-the-snow
https://pmp-art.com/sharonrc/gallery/208109/enter-title-here
https://pmp-art.com/zenspun/gallery/208281/end-of-the-day
https://pmp-art.com/leahgee/gallery/213129/enter-title-here
https://pmp-art.com/km425a1/gallery/229059/cherry-blossom
https://pmp-art.com/leahgee/gallery/213133/portrait

That last one had "no link" in the tag cloud after the tag had gone, but I see it has now disappeared from the tag cloud so that's good.

I also did the search on the other tag 'nolink' (without the space or quotation marks), and it is still returning the images I first reported.
https://pmp-art.com/sarah-edmondson/gallery/193048/beautiful-boy has not had a 'nolink' tag for some weeks.
On these next two I deleted the tag when I opened this forum discussion, so 4 days ago, and they are still being returned in the search...
https://pmp-art.com/sparrowshand/gallery/225210/arnika
https://pmp-art.com/sue-pearson/gallery/189193/kitty-walking
and there are a couple of others.
brian
@brian
6 years ago
10,148 posts
Hi Lorna -

This is fixed in Search version 2.0.2 - I've updated your site and that should be working better. Let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
lornawebber
@lornawebber
6 years ago
334 posts
Thank you so much Brian. You're the man!

Tags