I have 3 type of products that I want to put their image in my site. I have define a content type for them. there is a field that I put the image of my products and I've use imagefield crop module to crop my images but the problem is I don't want any specific ratio for my pictures or at least I have 3 define ratio for my images(each for a product). I would appreciate if you tell me how can I set the different image size for my product with just one content type? TNX

Edit: for example I have chosen the "Image with cropping" as a widget of my field in a content type and because in its option I should fill the blank of the "resolution of cropped image" I set 300x300 like this:

enter image description here

Then when I crop my product option it gave me this: for 136x65

enter image description here

After Cropping

enter image description here

or for 170x300

enter image description here


enter image description here

And I should decide whether my image is square size or rectangular ??

  • have you tried using image styles Nov 2, 2013 at 11:02
  • Yes I can show my content in the view with image style perfectly. but how can I use image style when I define a product. Nov 2, 2013 at 11:06
  • you can do that in the manage display. you can choose the image style you want Nov 2, 2013 at 12:50
  • 2
    I think this is a duplicate of drupal.stackexchange.com/questions/71242/…, could you confirm if that's what you're asking for?
    – Clive
    Nov 2, 2013 at 14:25
  • Thanks guys for your reply. @mohammed if I choose the image style in manage display it change the style for all node that has this kind of content type (but I want to have different style in one content type). clive it's not what I want. to make it clear the imagefield crop module can select and crop an image type for each node but it has an option that should be filled (the resolution to crop the image onto) and I want to choose the resolution base on the node or at least the resolution doesn't matter at all. Nov 3, 2013 at 7:47

1 Answer 1


The Image Style Selector module allows you to select a predefined image style and apply it to the uploaded image. In this way when you create a node (or any other fieldable entity), upload an image, you can choose which image style to apply to that image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.