Function in WordPress Plugin Not Looking in Path for Imagick
I have inherited a site with a custom plugin that is supposed to decrypt member information and a captured signature and put it into a PDF. The function uses (in this order) TCPDF to create the document; jSignature to convert the decrypted signature to Base30->Base64->Native->SVG; and Imagick to convert the signature to a JPG.
Everything works up to calling the Imagick class to handle the signature file. Imagick is in usr/bin/convert, but the function does not see the class 'Imagick'. Maybe it's not looking? Looking in the wrong place? How do I get the function to look in the right place?
EDIT
I have just realized that the site that uses this plugin is in a subdomain, but ImageMagic (and, I believe the Imagick libraries) are installed in the root. Could this be my problem? If so, how do I fix it?
Solutions
It turns out that the subdomain could not see the install in the root. The fastest way to fix it was just install in the subdomain. All is working now. Thanks, everyone, for putting some brain power to this.
Similar questions
do relative path in wordpress plugin point to wp-admin path?
Actually I saved my image generated by my plugin in a folder images_uploads under my plugin folder when I wrote my plugin where i need to include a relative path. I realise that there is error generated by Firebug. And the file actually point to wp-admin. For example: Actually is <img src = "http://example.com/wp-admin/images_uploads/image.jpg"&...
theme path to plugin path
If I throw the above file in some plugin then what will be the path name? let's say the name of the plugin is pluginzigsaw
Moving existing media items to new upload path structure not updating full URL path
Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in the wp-content/uploads directory. I decided to change this to assets and unchecked the option to store these in the date format. End goal here is to bring over all of the existing media to use that new path. I extracted all ...
Echo page path suffix only - not the title, path or permalink
Is it possible to echo a page path suffix only? ie: if the path/permalink is example.com/about, echo just "about"? My page paths are different than my page titles (ie: page title for example.com/about is "About ACME Co.") so I cannot use the_title() I am trying to echo just the suffix so it is the same name as an icon image for each page, so if the...
Also ask