Im using a plugin that requires the rel-element to look like this.
you can get the rel attributes that returns the string "useZoom: 'cdonZoom', smallImage: '1.jpg'". Than you can split the string using ":" and get the last array item.
I hope it's helpful