Coder Social home page Coder Social logo

komplettnettbutikk / mdimagemagick Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thirtybees/mdimagemagick

0.0 0.0 0.0 71 KB

ImageMagick module for thirty bees 1.0.0+

Home Page: https://thirtybees.com

License: Academic Free License v3.0

JavaScript 3.17% PHP 94.73% Smarty 2.10%

mdimagemagick's Introduction

ImageMagick ImageMagick

ImageMagick

Add ImageMagick support to thirty bees

Installation

Installation on Ubuntu 14.04/16.04

Make sure you use Ondřej Surý's PHP PPA (apt-add-repository ppa:ondrej/php). It's kept up to date and at the time of writing comes with PHP versions 5.5, 5.6, 7.0 and 7.1.

To install the PHP extension, issue the command:

$ apt-get install php-imagick

(yes, that's without the php7.0 prefix)

Unfortunately, the version of ImageMagick that is bundled with Ubuntu (or any version below 7.0.2) is vulnerable: https://imagetragick.com/
In order to install a safe version on production, we will have to compile it from source. First, make sure you have the necessary tools to build:

$ apt-get install build-essential git

Then download the source with git:

$ git clone https://github.com/ImageMagick/ImageMagick

Change directory:

$ cd ImageMagick

Configure:

$ ./configure

(This step might show some missing dependencies, try to locate the Ubuntu package and install with apt-get).

Compile and install:

$ make && sudo make install

You will now have the latest version available. Don't forget to update from time to time.

Module installation

  • Upload the module through FTP or your Back Office
  • Install the module
  • Check if there are any errors and correct them if necessary
  • Profit!

Compatibility

thirty bees 1.0.x

PrestaShop is not supported!!

Minimum requirements

  • PHP imagick extension 3.4.0
  • ImageMagick 7.0.2 (anything below is vulnerable and not supported!)
  • PHP 5.5
  • thirty bees 1.0.x

License

Academic Free License 3.0

mdimagemagick's People

Contributors

firstred avatar slick-303 avatar getdatakick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.