Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit c751e30

Browse files
committed
Merge pull request #858 from Ellega/file_illustrator
Add Illustrator File to Image Magick
2 parents abe6a02 + 77047ce commit c751e30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/plugins/editor.imagick/class.IMagickPreviewer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class IMagickPreviewer extends AJXP_Plugin
3232
protected $onTheFly = false;
3333
protected $useOnTheFly = false;
3434

35-
protected $imagickExtensions = array("pdf", "svg", "tif", "tiff", "psd", "xcf", "eps", "cr2");
35+
protected $imagickExtensions = array("pdf", "svg", "tif", "tiff", "psd", "xcf", "eps", "cr2","ai");
3636
protected $unoconvExtensios = array("xls", "xlt", "xlsx", "xltx", "ods", "doc", "dot", "docx", "dotx", "odt", "ppt", "pptx", "odp", "rtf");
3737

3838
public function loadConfigs($configsData)

core/src/plugins/editor.imagick/manifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<editor id="editor.imagick" enabled="false" openable="true" order="11" iconClass="icon-picture" previewProvider="true"
33
formId="diaporama_box" text="328" title="329" icon="frame_image.png" className="IMagickPreviewer"
4-
mimes="pdf,svg,tif,tiff,psd,xcf,eps,xls,xlsx,ods,doc,docx,odt,ppt,pptx,odp,rtf,cr2" label="CONF_MESSAGE[Image Magick]"
4+
mimes="pdf,svg,tif,tiff,psd,xcf,eps,xls,xlsx,ods,doc,docx,odt,ppt,pptx,odp,rtf,cr2,ai" label="CONF_MESSAGE[Image Magick]"
55
description="CONF_MESSAGE[Image Magick viewer supports PDF and various images formats preview. Requires external library to be installed on the server.]"
66
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
77
<class_definition filename="plugins/editor.imagick/class.IMagickPreviewer.php" classname="IMagickPreviewer"/>

0 commit comments

Comments
 (0)