• basically I want the images that are inserted into the post to have the code that designates their width and height… I used width=”100%” height=”100%” but that is not working how I would like it to… I really each image to have their respective width and height tide to it.

    I narrowed it down to this but unfortunately my abilities stop there :-/

    please help

    {
    $att = wp_get_attachment_image_src( $att_ID, $_POST[‘itp_image_size’] );
    $image = ‘<img src=”‘.$att[0].'” alt=”” title=”” class=”‘.$_POST[‘itp_url_align’].'” />’;
    }

    to look like this

    {
    $att = wp_get_attachment_image_src( $att_ID, $_POST[‘itp_image_size’] );
    $image = ‘<img src=”‘.$att[0].'” alt=”” width=”actual width of image” height=”actual height of image” title=”” class=”‘.$_POST[‘itp_url_align’].'” />’;
    }

    http://wordpress.org/extend/plugins/images-2-posts/

Viewing 1 replies (of 1 total)
  • I know this is really not a solution, just my two cents, but it looks like this part of the plugin hasn’t been developed yet. You’ve no doubt noticed the dropdown for image size doesn’t offer an actual choice, so I’m assuming this is still being worked on.

    Sorry I can’t be of more assistance. Your code looks like it would work, if only the interface gave us a way to actually enter those values.

    I’m making a post after this that will address this and other things I’d like to see – this plugin is really quite useful already and it looks like it’s being maintained/updated regularly.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Fuxy's WP Images 2 Posts] how to enter image size?’ is closed to new replies.