[Plugin: Auto Post Images (API)] Mod for consecutive pics
-
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. (https://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.https://www.ads-software.com/extend/plugins/auto-post-images-api/
- The topic ‘[Plugin: Auto Post Images (API)] Mod for consecutive pics’ is closed to new replies.