I want to retreive image URL’s from “the content” (without the image tag markup) and add the image tag markup to each URL “the content” contains (by code).
[Code moderated as per the Forum Rules. Please use the pastebin]
Making an image from the first URL works, but not from the second URL. This script displays two images from the same URL, while it should display two separate images.
Also the content of the array $url is weird. Only the first URL is stored correctly within the array.
Can anybody help me?