modify for joomla gallery with K2 items