Iframely size

General Discussion
  • I'm new to nodebb so, I may be missing something obvious.

    I'm in the process of setting up nodebb as a photography forum and need to provide a way for users to present their photos. Flickr is by far the most used image hosting for these forum users. In other forums, we simply used the bbcode embed option from flickr or converted 500px html to bbcode for those that host images on that site.

    I'm really digging Iframely as a solution on nodebb but... the size of the image is very small on my forum. The size is the same regardless of which site is linked.


    I'm not sure if this has anything to do with it but, I do have the settings>uploads>Resize images down to specified width (in pixels) set to a large size 1600px (I have tried various sizes and as expected, do not change anything related to iframely embeds)

    Is this the expected behavior of Iframely? Is there any way for me to increase the display size of the embed? Any other ideas? I do prefer that users link to images on their preferred image hosts to avoid as much liability as possible with their photos.

    Thanks a million for any help 🙂

  • I figured it out 😉

    If this comes up in a future search and can be of help to anyone. I changed the max width in the node_modules/nodebb-plugin-iframely/static/style.less file.

    iframely-container {
                    margin-top: 15px;
                    max-width: 900px;
                    img, iframe {
                            max-width: 100% !important;
  • @boiserck You should put an enhancement request on their github page to add that as an option in the admin panel.

  • @teh_g Thanks! It would come in handy. I'll do that.

Suggested Topics