#8239 Screenshots lightbox

v1.10.0
closed
None
General
2018-10-30
2018-09-21
No

Project admin screenshots section can manage screenshots per each project. Whereas how user can display them to outside? Is there an existing method

Can we instroduce a shortcode or something for wikis or any other option .. Please advice

Discussion

  • Dave Brondsema

    Dave Brondsema - 2018-09-21

    Yep, [[project_screenshots]] exists as a wiki macro already.

     
  • Hi Dave

    Yes it looks good. Is it better to add light box instead of normal image link ?

     
  • Dave Brondsema

    Dave Brondsema - 2018-09-25

    Yea a lightbox could be a nice improvement. We have some existing lightbox patterns, like the allura.lib.widgets.form_fields.Lightbox class - however that uses "easy widgets" which often is not easy to work with at all. I think you can do it more direclty with just html/css/js. Commit [ecf45d] might be a good reference example. Having it all inside a markdown macro might make it trickier though.

     
  • Hi.. Dave

    Okay thanks I will give a merge request

     
  • Dave Brondsema

    Dave Brondsema - 2018-09-28
    • summary: Usage of screenshots - question --> Screenshots lightbox
    • status: open --> closed
    • assigned_to: Shalitha Suranga
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2018-09-28

    Thanks!

     
  • Dave Brondsema

    Dave Brondsema - 2018-10-30
    • Milestone: unreleased --> v1.10.0
     

Log in to post a comment.