At a loss no more! If you want to use Johnni's most excellent Highslide Gallery with inline attachments, instead of within an attachbox, make the changes below (I worked with the prosilver theme only). Inline attachments have the advantage that, after you load your attachments, you can reorder their position by changing the location of theshortmort37 wrote:Nope. That's not it, either. At a loss.shortmort37 wrote:There's still a <div> in there between thumbs that's flummoxing up the works. The <div> is coming from inline-attachment. But, this is what is in content.css:
"inline", not "block" - the latter resulting in a <div>. So, where is it coming from?! tweaks.css, I bet...Code: Select all
/* Inline image thumbnails */ div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { display: inline; margin-bottom: 4px; }
Dan
[attachment=N]IMG_0712.JPG[/attachment]
within the posting textbox. Note that as you attach images, all [attachment=N]...[/attachment] pairs appear on a separate line in the posting textbox; after you reorder, you need to place all pairings on a single line, to prevent an offset occurring in the displayed result for each image as you move across the row.
content.css in the prosilver/theme subdir - change this:
Code: Select all
/* Inline image thumbnails */
div.inline-attachment dl.thumbnail, div.inline-attachment dl.file {
display: block;
margin-bottom: 4px;
}
Code: Select all
/* Inline image thumbnails */
div.inline-attachment dl.thumbnail, div.inline-attachment dl.file, div.inline-attachment {
display: inline;
float: left;
margin-bottom: 4px;
}
Code: Select all
.highslide-gallery ul li {
display: block;
Code: Select all
.highslide-gallery ul li {
display: inline;
Dan