json.package @p.name json.screenshots @p.screenshots do |s| json.small_image_url "https://#{request.host_with_port}#{s.image.url(:thumb, timestamp: false)}" json.large_image_url "https://#{request.host_with_port}#{s.image.url(:large, timestamp: false)}" json.version s.version end