• Resolved mbutrim

    (@mbutrim)


    I have SEVERAL charts that pull in from another site. Since iframe doesn’t work anymore – your tablepress works perfectly.

    This is the data pulled in: http://www.mediabase.com/mmrweb/FMQB/charts4.html
    (It has arrows http://www.mediabase.com/mmrweb/FMQB/mb_bullet.gif)

    They dont show in the import because it gets truncated to img src=”mb_bullet.gif”.

    I tried using JS to rewrite the src – which works in theory and in the preview, but not when I update it. I assume because the actual html is housed in tablepress and not on the page. Is there a …lazy…easy…way to replace this code automatically so that the image src loads the correct url?

    • This topic was modified 2 years ago by mbutrim.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I see what you mean. Indeed, the problem is that this image is loaded from a relative URL (with just the file name). This essentially results in the browser trying to load the image from the URL https://deanemediasolutions.com/mediabase-ac/mb_bullet.gif

    Now, you could use a bit of custom PHP code that hooks into e.g. the tablepress_cell_content plugin filter hook and does a search and replace there.
    Or, and maybe easier, you just copy the image to your server, in the newly added mediabase-ac folder, so that the URL from above works.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Can you change imported data?’ is closed to new replies.