I tested it several ways:
1. I reinstalled all vbgallery files and templates. Problem is still there.
2. I reinstalled all vbulletin and vbgallery files, then reinstalled all forum and gallery templates. Problem is still there.
3. I installed fresh copies of vbulletin and vbgallery on a local machine (running XAMPP Version 1.6.8). Created categories in vbgallery, uploaded several pictures. Problem is still there.
For some reason it won't show image id and show different category id when you go to the image display page from gallery home page or upper level categories and click on "next" or "previous" links.
e.g. It gives this URL before clicking on "next" or "previous" links:
when it should be:
(no error warning yet)
When I click on "next" or "previous" from:
I get this:
with error warning.
It's gotta be a bug. May be it has to do with UTF-8 encoding? But why would it?
Try testing it locally. When creating database, select utf8_unicode_ci collation. Snapshot is attached.
Upload forum and gallery files. Edit language in admincp (set to UTF-8). Upload several pictures and test it.
I know you know all the steps, I just want you to be able to reproduce the bug. Update:
I just tested it locally with latin1 (latin1_swedish_ci), same results. So, it has nothing to do with encoding. At least now I know for sure UTF-8 is not a suspect.