Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix insert image

Discussion in 'Misc WordPress Requests' started by lechur, Dec 6, 2017.

  1. lechur

    Guest

    insert image, by lechur

    Hi Gurus,

    I have a problem with inserting image into my pdf generator with desired size.
    As a first I get image by:

    $image = wp_get_attachment_image($first, 'full' );

    when I echo to an empty table with 1 row and 1 column:
    echo $image;
    image is inserted correctly and fits the whole page.

    When I create 3 columns and I span them image takes original size.

    How the syntax to insert image to fit full td width should looks like?
    I have tried:

    echo <td colspan="3" style="width:2435px;float:center;">; without luck.

    My table definition and columns above use width:30% but it has no impact, size is always the same and I cannot find a method to insert image to fit full width of tables across 3 columns.

    regards
    Karol

    insert image
     
    #1

Share This Page

Web Hosting