Should work with responsive images now. Problem was that a wrapper div kept being added.