Making images from URL's (without image tag markup) in content (2 posts)

  1. md1984
    Posted 5 years ago #


    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).

    For example:

    [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?

  2. md1984
    Posted 5 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic