• Hi, I like the idea of faster image insert allowing me to insert multiple images and not a gallery that I cannot view in edit mode.
    However, I think this plugin would be super if there is a possibility to wrap multiple images in a div, e.g.
    <div class="faster-image"><a href="link1"><img src="img1.jpg"></a><a href="link2"><img src="img2.jpg"></a></div>

    I’ve looked into the php code and the only place where I can get this to work is in
    function fast_insert_to_editor($html) by adding the div around $html in the call to addslashes
    But I have a feeling that that is not a good idea. E.g. if I now insert some images and hit enter in the editor afterwards, I get extra lines with <div class="faster-image"></div> which should not happen. Is there a better way to solve this?

    In the end, I’d like to make an option that allows to set a pre- and post-string that allows users to decide on if they what wrapping they prefer, like there is now a custom string that can be put between images.

    Cheers,

    Joes

    http://ww.wp.xz.cn/extend/plugins/faster-image-insert/

The topic ‘[Plugin: Faster Image Insert] Customized pre and post string’ is closed to new replies.