WordPress.org

Ready to get started?Download WordPress

Forums

How to get the URL for the first image in a post? (5 posts)

  1. Anonymous
    Unregistered
    Posted 5 years ago #

    Hi there!

    I would like know if it is possible to extract the URL for the first image in a post and store it as a variable?

    I am using Postie to add posts through e-mail and my cellphone and I would like to add one uploaded image, from each post, as the Custom Field value for 'Image' to be able to use it as thumbnails and so on.

    Hope that you have a sollution for me and I would like to thank you for it in advance :-)

    Best Regards Krezz

  2. Anonymous
    Unregistered
    Posted 5 years ago #

    Found a sollution to this! Regards Krezz

  3. alainS
    Member
    Posted 5 years ago #

    Sharing a solution would be really helpful for other users with same issue.
    Thanks.

  4. Bull3t
    Member
    Posted 5 years ago #

    Thanks for your help Krezz! This thread will help thousands of people.

  5. cychiu
    Member
    Posted 5 years ago #

    yes, i would also appreciate if the solution to find the url of the first image of a post... i need it! krezz!! come back!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags