New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@precision-nutrition/imgix-photo

Package Overview
Dependencies
Maintainers
20
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@precision-nutrition/imgix-photo

Common component for photos displayed via Imgix

  • 3.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-88.24%
Maintainers
20
Weekly downloads
 
Created
Source

imgix-photo CircleCI

Provides a low-level component for rendering images that use the Imgix service.

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Installation

ember install @precision-nutrition/imgix-photo

Usage

<ImgixUrl
  @alt="Some helpful alt-text"
  @url="http://sub.imgix.com/path-to-image.jpg"
  @params="{{hash"
  w="300"
  }}
  class="Some Classes Here"
/>

Where @params uses the {{hash helper to specify any supported option for Imgix.

Other Properties

  • autoSetDimensions: set to false if you don't want the rendered <img to have its width and height properties set. This is useful if you want a "responsive" image.

Class Names

  • Loading images will have an .is-loading class
  • Completed images will have an .is-complete class

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 01 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc