I did a new install on one of my sites that did not have a gallery before I moved it to my current licensed site and I found a problem.
When I uploaded a photo and then moved it the image to another category. The thumbnail in my Recent Photos on the PP front page does not display. It says No Thumbnail.
I went to the admin functions did these and it does not fix it.
Check for and create missing thumbnails.
Rebuild all thumbnails
Rebuild all medium images
Check here to recalculate photos/posts numbers and check children
Check here to scan for duplicate entries for same photo
Check here to update your user table last photo field
Any help would be appreciated before I move this to my licensed site.
I switched off the category cache, but it didn't help. On the frontpage, I can see the thumbnail in the "Random Images" area, but in "Recent Photos" or "Most Popular Images" I still get the "no thumbnail" message.
Some more info: the thumbnails show up 15-20 minutes after I've moved a picture. Looks like some sort of cache problem to me, so I changed Global Options->"Minutes to cache index page data for featured photos" to 0, which solves the problem. I don't know if there will be any performance implications though.
Could this be fixed by some option to invalidate the cache when i picture is moved or edited?
I took a look at the database, and the timestamp in the pp_cache table changes to another non-zero value immediately after I move a picture. No thumbnails, though. If I manually reset the timestamp to 0, the thumbnails become visible.
Does this give you any clues?
Where does that source code come from, BTW? I tried to grep for it and found occurences of "move_image_cat" in 4 files, but none of them had the code in your quote.
Oddly enough I'm experiencing the same problem. I moved some photos from a personal album to a sub category. Now the thumbnails in recent pictures show "No Thumbnails"
I have cleared cache in browser and don't have category cache enabled in options...