Is there is specification on sizes of product images? Any best practices on how image should be?
at the time of writing, ReactionCommerce comes with 4 image sizes out of the box. When ImageMagick is installed, all uploaded images should be resized into those 4 formats.
- image: “1000px x 1000px”
- medium: “600px x 600px”
- small: “235px x 235px”
- thumbnail: “100px x 100px”
These formats will be used in different templates for displaying the product images in the browser. This means, that the original image should be at least 1000px x 1000px, but it will not be served directly to the client, AFAIK.
You’ll find the corresponding code in /lib/collections/collectionFS.js
Thanks for your response. Just trying to understand how photo upload process works together with imageamgick, is there any documentation or forum that you can direct me to.
https://github.com/CollectionFS/Meteor-CollectionFS/wiki/Image-Manipulation describes how to work with the CollectionFS and ImageMagick together to resize images.
More documentation from their wiki: https://github.com/CollectionFS/Meteor-CollectionFS/wiki
@machiko @prinzdezibel I have hosted my app on galaxy and I believe they don’t have imagemagick installed.
What is the way around in scenario where app is hosted on PAAS and I cannot install imagemagick?
Looks like Galaxy’s base image comes with imagemagick according to their docs: http://galaxy-guide.meteor.com/base-image-packages.html