drush image-generatefor drush 7x


Generate all derived images for a given field and style.

drush image-generate

image-generate is a Drush command from the imageinfo_cache project.

imageinfo_cache
  • Arguments


    image-generate accepts 2 argument/s:


    field_name : An image field machine name. If not provided, user may choose from a list of names.

    style : An image style machine name. If not provided, user may choose from a list of names.

  • Examples


    Pick an image field name and image style to generate.

    drush image-generate

    Pick an image style to generate for the selected image field.

    drush image-generate field_image

    Generate all images styles for all image fields.

    drush image-generate all all

    Generate images styles in use for all image fields.

    drush image-generate all inuse

    Generate all image styles for the selected image field.

    drush image-generate field_image all

    Generate image styles in use for the selected image field.

    drush image-generate field_image inuse

    Generate the selected image style for the selected image field.

    drush image-generate field_image thumbnail

  • Comments


    comments powered by Disqus