TACC/Core-CMS

Support `img-fluid` Class on Generic Image Plugin

Closed this issue · 1 comments

Goal

Support Bootstrap Picture's "Responsive image" feature on Generic Image plugin.

Direction

Add option (model property, plugin field) to add img-fluid class, or a class that achieves the same in a standalone* instance. The solution shoudl also workin non-standalone* instances.

* Standalone means not nested within nor extended by a TACC plugin.

Background

  1. All TACC plugins that support image plugin (extension or nesting) do not support Bootstrap Picture.
  2. #278 deprecated Bootstrap Picture plugin.
  3. @tacc-wbomar realized that the only user-friendly way to block new Booststrap Picture plugin instances is to ensure Generic Image plugin (or implementations of it) has all the useful features Bootstrap Picture plugin has/d, like:
    • "Responsive image" i.e. the img-fluid class.

Fixed. I don't remember when.