Change Displayed Images in Dashboard Based on Filter

Comments

4 comments

  • Avatar
    Ido Darnell

    this is awesome!

    0
    Comment actions Permalink
  • Avatar
    Tommy

    This can also be extended to embed iframes. The change needs to be made if the link provided is a webpage that you would like to embded:

     

    You'll change this:  $(y).find('td span')[0].innerHTML = '<img src="'+ val +'"></img>';

     

    To this: $(y).find('td span')[0].innerHTML = '<iframe src="'+ val +'" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';

    0
    Comment actions Permalink
  • Avatar
    Sergio Alvarez

    Hello,

    I attached this custom widget to my dashboard, but when I try to see this widget in the IPAD, it appears incomplete like "cut",

    When I see my dashboard in my computer , the image appears complete,

    Can you help me with this issue?

    Best Regards,




    20150826_0912494.jpg
    0
    Comment actions Permalink
  • Avatar
    Avinash

    Can I adjust the logo size? I am finding that no matter how small I make the actual logo image, it comes up as a massive logo on the front-end. Has anyone else seen the same and managed to solve the problem?

    0
    Comment actions Permalink

Please sign in to leave a comment.