Jump to content

Unable to upload images to products


bacowarrior

Recommended Posts

Hi all,

 

Everything has been working fine on my install of Prestashop 1.6.1.4 but this afternoon, I started getting a problem uploading images to my products.

 

After looking on the error_log on the server, I'm gettig this error everytime I try to upload an image:

 

[24-Mar-2016 17:31:54 GMT] PHP Fatal error:  Class 'Imagick' not found in /home/xxxx/public_html/giftprezzy.com/store/override/classes/ImageManager.php on line 81

 

This is the code snippet in the file.

		//Set Imagick Object values
		$src_image = new Imagick();
		$src_image->readImage($src_file);
		$src_image->setImageCompression(Imagick::COMPRESSION_JPEG);
		$src_image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
		$src_image->setImageCompressionQuality(82);
		$src_image->gaussianBlurImage(0.05,0.05);
		$src_image->stripImage();
		$src_image->thumbnailImage($dst_width, $dst_height, Imagick::FILTER_TRIANGLE, 1);

I recently installed the Attribute Pro Module and I needed to turn off the disable all overrides so the attributes appeared in the checkout and back office. Since then I can't upload images. 

 

If I turn the setting on, then I can upload images but the attribute options don't appear in the cart.

 

 

Is there a way to fix this issue if I have the override set to yes?

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...