Gallery2 is unable to delete pictures that have quotes in the title of the picture via the dropdown menu's delete box. This results in a javascript error:
unterminated string literal
getAttribute(Object { name="q"})main.p...80d0a86 (line 10)
getRelatedTarget(Object { name="a"})main.p...80d0a86 (line 8)
lery%2Fv%2Finventory%2F', 'Olympic National Park (16\
A workaround is to rename the picture to something without quotes and then delete it.