WordPress.org

Ready to get started?Download WordPress

Forums

ABASE
[resolved] External Image not loading (4 posts)

  1. dipeshthetime
    Member
    Posted 2 months ago #

    Hey Richard,

    I am working on a website called HousenKid.com

    If you go to my site and search for something like "Tivo" (one of the items we sell), you will see that on the left side, you get image but it does not show up.

    The reason being that the plugin seems to add the base url housenkid.com/ before the actual external url from amazon. How do I stop that from happening? I have tried quite a bit of things. Any help would be greatly appreciated.

    https://wordpress.org/plugins/abase/

  2. dipeshthetime
    Member
    Posted 2 months ago #

    The code below gets rid of the problem of having the extra url before actual url. But the image shows up as text link now. Any idea on what I am doing wrong? Thanks. Only thing I added in below code was (<>^) to get rid of the extra url before actual url. Please help. Thanks.

    [abase table="HNKID" columns="LargeImageURL!'width:50px;vertical-align:-25px;',ItemName,Price" images="(<>^)LargeImageURL" style="width:500px;"]

  3. dipeshthetime
    Member
    Posted 2 months ago #

    Hi Guys,

    After some work. I found the solution. So here is my new code.

    [abase table="HNKID" columns="(Product Images)^LargeImageURL!'50;50;-25',(Item Name)^ItemName,(Current Amazon Price)^Price" images="LargeImageURL" style="width:100%;"]

    Notice that Images code has not change it is simply pointing to the right url column called LargeImage URL.

    Here is what has changed! I went to the abase.php in plugins and searched for the words: <img src

    There are two places where this is used. They are two rows at link 2137 and 2138. Just change those two rows to following and it will solve the problem.

    $abase_row .=""."<img src='".$sqlRowKey."' style='".$element_style."'>";
    $ntt .=""."<img src='".$sqlRowKey."' style='".$element_style."'>";

  4. dipeshthetime
    Member
    Posted 2 months ago #

    Please feel free to ask for help.

Reply

You must log in to post.

About this Plugin

About this Topic