Viewing 8 replies - 1 through 8 (of 8 total)
  • use $poster.url

    Thread Starter hrenshaw

    (@hrenshaw)

    I’ve tried this also, but it gives me a box with a question mark as if it can’t find the picture url.

    well, in the code as downloaded the <img> tag looks like
    <img src='{$poster}' width="100" height="100">

    changing it to:
    <img src='{$poster.url}' width="100" height="100">

    did the trick, sure you replaced the correct $poster variable?

    Thread Starter hrenshaw

    (@hrenshaw)

    Positive it’s in the correct places. Still gives me a question mark or broken picture. Beginning to think it could be code elsewhere that leads it to the image?

    After Almost 7 months, no fix for this, so I debugged myself.. come on wordtour folks, time for a bugfix update..

    The offending line of code seems to be in class.event.php around line 670 .. Change:

    $event_poster_id = $data[“event_thumbnail”] ? $data[“event_thumbnail”][“id”] : $this->get_thumbnail(“event”);

    to this:

    $event_poster_id = $data[“event_thumbnail_id”];

    And images will display again ..

    Hope this helps anyone that was as confused as I was

    Thread Starter hrenshaw

    (@hrenshaw)

    Xanuman – I do not see any code containing $event_poster_id in my class.event.php file. This is the code I have around 670:

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

    Thanks for posting! Any help is appreciated.

    Are you checking the new “class” folder for class.event.php? its in /plugins/wordtour/class/class.event.php .. I am using 1.2.5

    Thread Starter hrenshaw

    (@hrenshaw)

    hmm…I’m using the same version, but I don’t see it anywhere in that file.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WordTour] Images not showing’ is closed to new replies.