Viewing 1 replies (of 1 total)
  • Plugin Author karunanidhi

    (@karunanidhi)

    hanimausi,

    for #2 you can use custom CSS classes and list that class name in the “Container style class” to set the styling for the images, something like

    .apiimages {
    float:left;
    clear:left;
    }

    for #1: it is possible to do that currently by modifying the code directly. if you do that then only the full size image is not available and only the thumbnail is available. seems like the functionality you are asking for is to be able to upload full size images and then have the plugin show only a smaller/thumbnail size image in the post. to do that you can change the line 409 in file auto-post-images.php

    FROM

    $sHtml .= “<img src=\”{$sThumbnailUrl}\” class=\”{$this->sImageClass}\” alt=\”{$sThumbSearchTags}\” title=\””.ucwords($post->post_title).”\” />
    “;

    TO

    $sHtml .= “<img src=\”{$sThumbnailUrl}\” class=\”{$this->sImageClass}\” alt=\”{$sThumbSearchTags}\” title=\””.ucwords($post->post_title).”\” />
    “;

    I will make a change to the code in the next version to make the image non clickable if “Use thumbnails to link to full size images?” is to “No”. If it is set to yes then the thumbnail will be clickable.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Auto Post Images (API)] 2 Changes’ is closed to new replies.