wvuweb / hammer

A tool for CleanSlate theme development
https://cleanslate.wvu.edu
4 stars 2 forks source link

Add tags for generating image thumbnails #19

Closed zeroedin closed 9 years ago

zeroedin commented 9 years ago

Documented in this issue: wvuweb/cleanslate-cms#121

zeroedin commented 9 years ago

Just a note: "Thumbnails" will never be autocreated by hammer. Images will need to be added to the theme at the size they are to be displayed.

In the future it might be a good idea to implement some 3rd party image service such as http://lorempixel.com/

zeroedin commented 9 years ago

Example mock_data.yml entry for files:

files:
  - filename: 'mnd-logo'
    title: 'some title'
    name: 'some name'
    alt_text: 'some alt text'
    description: 'some description'
    download_url: '../images/mnd-logo.png'
    image_url: '../images/mnd-logo.png'
  - filename: 'wv-gold'
    title: 'some title'
    name: 'some name'
    alt_text: 'some alt text'
    description: 'some description'
    download_url: '../images/wv-gold.png'
    image_url: '../images/wv-gold.png'