Hm, $imgClass was set up as a string, so concat'ing on to that string should be sufficient, but I'll leave this one up to @saipetch.