Image File Size

General Discussion

Suggested Topics

  • 0 Votes
    4 Posts

    The changes need to be made to the files of a Persona theme, found the directory like this:


    I was try to do this on my forum and I did it, this is what you need to do:


    You need edit 2 files - topic.tpl and post.tpl

    /node_modules/nodebb-theme-persona/templates/topic.tpl /node_modules/nodebb-theme-persona/templates/partials/topic/post.tpl Copy and remove this code in the topic.tpl <div class="tags tag-list inline-block hidden-xs"> <!-- IMPORT partials/topic/tags.tpl --> </div> Paste this in the post.tpl after {posts.content}

    <div class="content" component="post/content" itemprop="text">

    <div class="tags tag-list inline-block hidden-xs"> <!-- IMPORT partials/topic/tags.tpl --> </div>


    Now run the command to build Nodebb and that's it, ready.


    (note that when the screen size is a mobile phone the tag is not even displayed in the post/header.)

    Yes, you right. To show tags on mobile you need remove hidden-xs in the div class.

    <div class="tags tag-list inline-block"> <!-- IMPORT partials/topic/tags.tpl --> </div>
  • 0 Votes
    7 Posts

    It's internal only but I'll see if I can get it opened for testing.
    I now see that some browsers are seeing the different images but why some still aren't is beyond me.
    This has to be a problem of caching somewhere and now unrelated to nodebb.

    I actually rarely suspect nodebb, it seems to be top notch code.

  • 0 Votes
    4 Posts

    I understand what you're asking for. The reason you aren't getting an answer is most likely because no, they're isn't a ready-built plugin with exactly what you want.

    There area couple close ones, including the iframely plugin, but none with the popup feature.

  • 0 Votes
    2 Posts

    @datcangio I believe image size settings are only applied to images uploaded locally to your instance.

  • 0 Votes
    14 Posts

    Imgur will allow you to upload gifs (I should hope so!)... I don't think there's a way to pull a png back from imgur (that's actually a png)