Announcement

Collapse
No announcement yet.

Images show inline, but shows Attached Files at end of post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Images show inline, but shows Attached Files at end of post

    When I create an article, I'm uploading an image and selecting "show inline". The image shows inline, but then I've got an "Attached Files" at the bottom of my post with a paper clip and my image file. Looks terrible as you can see from the attached image.

    How do I remove this from my posts?

    Click image for larger version

Name:	Screen shot 2010-04-26 at 9.36.39 AM.png
Views:	1
Size:	43.4 KB
ID:	3715780

  • #2
    Originally posted by cmeinck View Post
    When I create an article, I'm uploading an image and selecting "show inline". The image shows inline, but then I've got an "Attached Files" at the bottom of my post with a paper clip and my image file. Looks terrible as you can see from the attached image.

    How do I remove this from my posts?

    [ATTACH=CONFIG]44842[/ATTACH]
    Indeed. Is this something we can disable?
    I don't see how the inline images should be shown as attachments..

    Comment


    • #3
      Bump. I'm having this problem too. Not one of my posts have been answered on here though, and it seems plenty of others' are ignored too. Where on earth is the support????

      Comment


      • #4
        Ok, I've managed to come up with something. On postbit_legacy find the following code:


        <vb:if condition="$show['attachments']">
        <div class="attachments">

        <vb:if condition="$show['thumbnailattachment']">
        <fieldset class="postcontent">
        <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
        {vb:raw post.thumbnailattachments}
        </fieldset>
        </vb:if>

        <vb:if condition="$show['imageattachment']">
        <fieldset class="postcontent">
        <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
        {vb:raw post.imageattachments}
        </fieldset>
        </vb:if>

        <vb:if condition="$show['imageattachmentlink']">
        <fieldset class="postcontent">
        <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
        <ul>
        {vb:raw post.imageattachmentlinks}
        </ul>
        </fieldset>
        </vb:if>

        <vb:if condition="$show['otherattachment']">
        <fieldset class="postcontent">
        <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
        <ul>
        {vb:raw post.otherattachments}
        </ul>
        </fieldset>
        </vb:if>

        <vb:if condition="$show['moderatedattachment']">
        <fieldset class="postcontent">
        <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
        <ul>
        {vb:raw post.moderatedattachments}
        </ul>
        </fieldset>
        </vb:if>

        </div>
        <!-- / attachments -->
        </vb:if>

        and replace it with:


        <vb:if condition="$show['attachments']">
        <div class="attachments">

        <vb:if condition="$show['thumbnailattachment']">
        <fieldset class="postcontent">
        {vb:raw post.thumbnailattachments}
        </fieldset>
        </vb:if>

        <vb:if condition="$show['imageattachment']">
        <fieldset class="postcontent">
        {vb:raw post.imageattachments}
        </fieldset>
        </vb:if>

        <vb:if condition="$show['imageattachmentlink']">
        <fieldset class="postcontent">
        <ul>
        {vb:raw post.imageattachmentlinks}
        </ul>
        </fieldset>
        </vb:if>

        <vb:if condition="$show['otherattachment']">
        <fieldset class="postcontent">
        <ul>
        {vb:raw post.otherattachments}
        </ul>
        </fieldset>
        </vb:if>

        <vb:if condition="$show['moderatedattachment']">
        <fieldset class="postcontent">
        <ul>
        {vb:raw post.moderatedattachments}
        </ul>
        </fieldset>
        </vb:if>

        </div>
        <!-- / attachments -->
        </vb:if>


        Hope this helps others too.

        Comment


        • #5
          Ok, scratch that. Doesn't work.

          Please can anyone help??

          Comment


          • #6
            BUMP. Still having this problem.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X