adds image ordering