Commit 3e81275d authored by Mike Rockétt's avatar Mike Rockétt

Chore: Add support for FieldtypeCroppableImage3

parent 1dc76aa9
......@@ -87,7 +87,7 @@ class MarkupSitemapConfig extends ModuleConfig
$inputfields->add($excludeTemplatesField);
// Add the image-field-selector field if image fields exist
if ($imageFields = $this->fields->find('type=FieldtypeImage') and $imageFields->count) {
if ($imageFields = $this->fields->find('type=FieldtypeImage|FieldtypeCroppableImage3') and $imageFields->count) {
$imageFieldsField = $this->buildInputField('AsmSelect', [
'name+id' => 'sitemap_image_fields',
'label' => $this->_('Image fields'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment