Setting up dynamic image selection in corona SDK.