Hello.
I have a website and I have an option for adding pages. the page content has a rich editor and I can add images to the page content.
In the page-add feature I have an option for uploading a main picture to the page.
I want to make something like that:
If the user does not choose an image to upload, and he added the page, the displayed picture will be the first image the user added to the page content (not via the uploading)
Example:
my page is:
welcome "Hello" welcome <img src="test.png"> hello test
I will get the test.png from this string.