Gutenberg Block Image resolution

Posted by Prem Tiwari | Updated on

To get another URL from the onSelect Callback.

Before I had this:

Then I console logged the media parameter, where I could find the different size URLs, so I changed it to this for my use:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers