@teh_g Thanks! It would come in handy. I'll do that.
boiserck
Posts
-
Iframely size -
Iframely sizeI 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; }
-
Iframely sizeI'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
-
[nodebb-plugin-iframely] IFramely EmbedsI hope I'm not posting this in the wrong location. I'm trying to run the self hosted iframely to use with my forum. It seems to work fine when I go to the end point of my server in a browser however, when the call is made from Nodebb using the plugin, I see this error in bash. The link is displayed as a normal url in the forum. I'm sure it's just me doing something dumb and not seeing the obvious.
uri.match is not a function
TypeError: res.sendJsonCached is not a function
at respondWithError (/home/user/misc/iframely/app.js:97:9)
at Object.errorHandler [as handle] (/home/user/misc/iframely/app.js:128:7)
at next (/home/user/misc/iframely/node_modules/connect/lib/proto.js:185:17)
at Object.logErrors [as handle] (/home/user/misc/iframely/app.js:58:3)
at next (/home/user/misc/iframely/node_modules/connect/lib/proto.js:185:17)
at next (/home/user/misc/iframely/node_modules/connect/lib/proto.js:187:11)
at next (/home/user/misc/iframely/node_modules/connect/lib/proto.js:195:7)
at Object.handle (/home/user/misc/iframely/app.js:37:3)
at next (/home/user/misc/iframely/node_modules/connect/lib/proto.js:190:15)
at multipart (/home/user/misc/iframely/node_modules/connect/lib/middleware/multipart.js:64:37)If this post belongs elsewhere feel free to shoo me along to the right spot.. Thanks for the help!