Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Is it possible to display uploaded images in the discussion list view?

Is it possible to show an image that the author has posted with their discussion and display it in the discussion list view under the discussion headline. The idea would be to set a maximum height say 200px.

Best Answer

Answers

  • Options
    peregrineperegrine MVP
    edited October 2014

    sure its possible. it would be easier to write the plugin if it was an attachment rather than inline.

    I no longer have the plugin, but here was an old example

    http://vanillaforums.org/discussion/comment/180042/#Comment_180042

    your development staff could also, modify this http://vanillaforums.org/addon/randomimages-plugin

    the question I have if your development staff can do all the work for you, couldn't they answer the questions as well, since they are doing the development, they certainly have some knowledge of vanilla, It doesn't preclude you from asking questions, just curious though.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine said:
    sure its possible. it would be easier to write the plugin if it was an attachment rather than inline.

    I no longer have the plugin, but here was an old example

    http://vanillaforums.org/discussion/comment/180042/#Comment_180042

    your development staff could also, modify this http://vanillaforums.org/addon/randomimages-plugin

    the question I have if your development staff can do all the work for you, couldn't they answer the questions as well, since they are doing the development, they certainly have some knowledge of vanilla, It doesn't preclude you from asking questions, just curious though.

    Thanks for the info here it's really helpful.

    My dev team could answer questions but the project we are developing is so big, they are new to Vanilla, and they spend most of the week "plugged in" with a lot of backend work so we don't have real-time contact.

    Rather then presenting them with tons and tons of questions about features I would like, for them to then go out and research and maybe ask on here themselves, I'm trying to help assist by seeing if things have already been done on here first by other developers that use Vanilla. This way I can help get the project moving faster and it's better if I can give them working solutions or plugins in the first instance.

    Hope that's ok, also if the solutions, fixes, and plugins are added to this forum it will surely help others in search of the same thing at any point in the future :-)

  • Options
    peregrineperegrine MVP
    edited October 2014 Answer ✓

    here's another

    http://vanillaforums.org/addon/indexdiscussionimage-plugin

    and a totally different way of displaying images per user.
    http://vanillaforums.org/addon/myattachments-plugin

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine said:
    here's another

    http://vanillaforums.org/addon/indexdiscussionimage-plugin

    and a totally different way of displaying images per user.
    http://vanillaforums.org/addon/myattachments-plugin

    Excellent you have been really helpful :-)

  • Options

    and this snippet that is not fully fleshed.

    http://vanillaforums.org/discussion/comment/179799/#Comment_179799

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.