Hello;
sorry, but I cannot understand what you're willing to do.
Do you need to offer to your visitors a direct link to your images, like this:
Well, I do not understand why you need the "image_id" tag.
Please, let us know and explain it better to us, for we can try to help you.
Very sorry again to not be able to undertand what you really need.
But don't be disapointed. Someone here will soon give you the solution.
If you need to explain more, remember that an image is sometimes better than many words.
Hope you will succeed.
I will keep on surveying this topic, and try to help anytime I can.