Sometimes, after syncing items to your Android phone's storage card, the stock gallery application will start acting like it's force-closing immediately it's opened.
Here is how to fix it without having to back-up your SD card and format it, then restore.
Settings > Applications > Manage...