Forums

Image path with custom PHP script (2 posts)

  1. witchdoc
    Member
    Posted 10 months ago #

    Had a simple php script written for me by a developer to randomly change out series of given images upon reload of the page. Worked great on both index and template pages of previous site, but now is having issues with new version of WP. Script seems to work in randomly grabbing images 1-3, but shows broken link on live page?

    Link to working beta site (bottom left image of featured belt):
    http://voodoobean.com/wpbeta/

    Link to broken beta site:
    http://voodoobean.com/wpalpha/parish/

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Error:
    GET http://voodoobean.com/wpalpha/parish/registration/images/pageimage1.png 404 (Not Found)

    Thanks much for any and all help!
    Randy

  2. witchdoc
    Member
    Posted 10 months ago #

    Newbie at Pastebin... sorry if I'm utilizing it wrong!

    Here's the PHP code.
    http://pastebin.com/kvJBHjwK

Reply

You must log in to post.

About this Topic