Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 7, 20231 yr I see this constantly on my sites and wind up going in and manually editing posts whenever I do see it. Members just randomly insert images between text or at the end of a line of text and the formatting gets all wonky and disrupted. Is there any way to set something in the software where I can force a return line before and after every image? Example like this Then they continue on here or down here Edited October 7, 20231 yr by Clover13
October 7, 20231 yr Solution If you want to update all images regardless, you can add this CSS to your theme: img.ipsImage.ipsImage_thumbnailed { display: block; } This will move all images to a new line, even ones left inline on purpose, though. Instead, if you want the editor to add a new line before and after the image only when first inserting it, you'll need a custom modification since it requires altering how the javascript works.
October 7, 20231 yr Author On 10/7/2023 at 4:36 AM, teraßyte said: If you want to update all images regardless, you can add this CSS to your theme: img.ipsImage.ipsImage_thumbnailed { display: block; } This will move all images to a new line, even ones left inline on purpose, though. Instead, if you want the editor to add a new line before and after the image only when first inserting it, you'll need a custom modification since it requires altering how the javascript works. The CSS did the trick, just added some top and bottom margin to give little better spacing between the image and additional text or images. Thanks @teraßyte 👍