Added some necessary markup to enable imageId harvesting and new
selected status application