Basically the variable "attachment.url" gives in return the full size of the image, I've been through a case where I needed to pick a specific cropped size, otherwise the images shows up in a bad resolution on the front-end.
The Wp media editor gives in return two arguments, props has an object with the selected size, and attachment has almost everything about the file, including the sizes with it urls.
I fixed it for my self, and I wanted to share it with others, and hopefully it may be helpful :).
Basically the variable "attachment.url" gives in return the full size of the image, I've been through a case where I needed to pick a specific cropped size, otherwise the images shows up in a bad resolution on the front-end.
The Wp media editor gives in return two arguments, props has an object with the selected size, and attachment has almost everything about the file, including the sizes with it urls.
I fixed it for my self, and I wanted to share it with others, and hopefully it may be helpful :).
Thanks for the good work guys, keep it up!