• I loved the options for this much, thank you very much to the developer! =) One suggestion if any future development is in store, though: is there any way to make it such that numbers after the post id ARE possible? Might make files easier to rename..

    Unfortunately, it had one major drawback — images were displayed one per line. :S I’m not sure whether this will be modified in the future, and I actually kinda want to use it now, so I mucked around and found a way to mod it:

    1. Edit auto-post-images.php. (http://yourwordpress.site/wp-admin/plugin-editor.php?file=auto-post-images-api/auto-post-images.php&a=te might work.)
    2. Search for the line called
    $sHtml .= “<img src=\”{$sThumbnailUrl}\” alt=\”{$sThumbSearchTags}\” title=\”Click to enlarge\” />
    “;
    and remove the
    (I can’t remember if it’s
    or
    ..either way, just get rid of it.
    3. Tada!
    4. If you want your pics to stick even closer together (i.e. you don’t like the space between them), go edit kkimage.css and look at this chunk:
    .kkautopostimage {
    float:right;
    margin:5px 0px 5px 5px;
    padding:1px;
    border:1px solid #DDD;
    }

    .kkautopostimage img {
    padding:3px;
    }
    Remove all the lines that say ‘margin’ or ‘padding’ and modify it how you want. I removed the whole thing because I don’t need a border around them, and I’d prefer they float left anyway. =)

    Once again, thanks to Karthikeyan for this great plugin!

    Cheers,
    Jenn.

    http://wordpress.org/extend/plugins/auto-post-images-api/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jennkei

    (@jennkei)

    Gah, I forgot to codify it. Here’s the proper step 2.

    2. Search for the line called
    $sHtml .= "<a href=\"{$sImageUrl}\"  rel=\"ibox\" title=\"&nbsp;\"><img src=\"{$sThumbnailUrl}\" alt=\"{$sThumbSearchTags}\" title=\"Click to enlarge\" /><br /></a>";
    and remove the <br /> (I can't remember if it's <br /> or <br />..either way, just get rid of it.

    Hi,
    Sorry but there is a Syntax error ligne 99 with wp 2.8.6.
    Plugin can not be installed without correction code.
    Near here:
    var $aAdminOptions = array (
    “bDisplayDefaultImage” => ‘YES’,
    “bUseThumbnails” => ‘YES’,
    “sImageDirPath” => ”,
    “sImageThumbnailDirPath” => ”,
    “sImageDirUrl” => ”,
    “sImageThumbnailDirUrl” => ”,
    “sImageCacheDir” => ”,
    “sRegEx” => “^Image___POSTID__[^0-9]*\.[a-zA-Z]+$”,
    “bOptmizeImagesForSearch” => ‘NO’
    );

    Thanks for this work. Eric from France

    Eric,

    Thanks for the bug report. But I am unable to re-create the error.

    I upgraded my blog to WordPress 2.8.6 and Auto Post Images (API) plugin version 2.2 and I do not see any errors.

    Can you provide more information? A link to your blog and/or a screenshot maybe?

    In the meantime I will try to located the error you mention.

    Thanks,

    -KK

    Eric,

    Can you also let me know what version of PHP you are running?

    Thanks,

    -KK

    Hi,
    Special version compiled by provider: Linux php7-g5.priv.free.fr. No more info about this from provider.
    But all is ok for my website mercredi13.free.fr
    Bye

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Auto Post Images (API)] Mod for consecutive pics’ is closed to new replies.