WordPress.org

Ready to get started?Download WordPress

Forums

Display image from other site in wordpress site (4 posts)

  1. Harshida_1909
    Member
    Posted 3 years ago #

    i have wordpress site... and in the footer... i have featured project and in that i have to display the image from other site how this is possible in wordpres...?

  2. saeedqs
    Member
    Posted 3 years ago #

    hi
    just use <img src="other site image link">
    for example<img src="www.test.com/images/image.jpg">

  3. Harshida_1909
    Member
    Posted 3 years ago #

    hi thanks from reply... But i want to do this with the Iframe... in other site... i have added my project Porfirio iamge... i add want to fetch that image ... with exisit it to other site database...

  4. Harshida_1909
    Member
    Posted 3 years ago #

    $aResults = array();// we return the total of rows
    $query = "SELECT count(wp_ngg_pictures.pid) as Total FROM wp_ngg_gallery,wp_ngg_pictures WHERE "
    . "wp_ngg_gallery.gid = wp_ngg_pictures.galleryid";
    $aResults = $dexwpdb->get_results( $query, ARRAY_A );
    $iTotalRecords = (int)$aResults[0]['Total'];//here is the total records
    //** End: Count The Total Number of items **//
    ?>
    With the use of iframe i have to perform this task,.,,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.