Simple Image 1.0b1
for Typesetter CMS ver. 5 and newer
Unpack the ZIP into your /addons directory and install it via
Admin Toolbox → Plugins → Manage → Available → Install
At first glance, the editor component looks pretty much like the one from Responsive Image, but it has no fancy focuspoint feature and there is no caption. In fact the image preview area has (at least up to now) no functionality–I might add a non-destructive cropping feature in a future version.
The [Select Image] button will bring up Typesetter’s file manager (AKA Finder) where you can, guess what… :o)
The second element is the Alternative Text (the image’s alt attribute). When empty, it’s value will be auto-generated from the image’s file name by replacing undersores with blanks and stripping the file extension. Clicking the [A] button will perform the same action, replacing any already set value.
The field below is for linking. Type or paste an URL here. An autocomplete dropdown will suggest internal page URLs. The button with the file icon will pop up Finder to select a file to be linked.
The dropdown select for sizing has 4 options:
Alignment will–for obvious reasons–only apply in cases where the image’s size is smaller than the section size. This is always the case when …
Vertical alignment will only apply (or, to be precise, be visible) when the section has a defined height. A defined section height may derive from a height or min-height style attribute set in Section Attributes (via the Options icon in Section Management) or CSS classes + rules defined in your theme stylesheet or in Layout Editor. (Hint: display:table + display:table-cell or display:flex may be your friend in cases when equal column heights with vertically centerd images are needed).
This will load the link target into Colorbox. Internal pages will only load the page content (without nav, sidebars, footer, etc.) but this will only work when you’re logged off for technical reasons. You might already know this option from the Responsive Image plugin .
Also already known from Responsive Image: Uses the browser’s fullscreen mode.
Simple Image 1.0a1 is an early work-in-progress version subject to changes in functionality. Since a new, more powerful CMS built-in default image component is already under consideration, which will presumably cover all of Simple Image’s features (and likely some more), this plugin might never make it into Typesetter’s official addon respository. We’ll see. Stay tuned ;^)