Thank you for contributing this module, I just started with Commerce and found it useful already.

Would it be possible with Commerce File to have a price field for each image style of a file (provided type is image) e.g. XL, M, S? The goal is to let users select their prefered resolution.

I don't know if this would be good design but I thought a nice feature would be to have the following setup on the product administration:

Proposol

Or could we integrate this functionality with Licence? So that we have different licence types for selected image styles?

I took a look at the code. Wouldn't it be enough to return the image style URI instead of the file URI?

Thanks
Daniel

CommentFileSizeAuthor
Clipboard01.jpg27.36 KBDaniel Schaefer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Daniel Schaefer’s picture

Issue summary: View changes