There is already some screenshot code in Allura/allura/ext/admin/admin_main.py and Allura/allura/controllers/project.py
Also, update forge-classic hook to update gutenberg.
Need to dig into SFX some, to see the constraints (image dimensions, image file size, number of images, caption length, etc) and decide which to keep.
Updates are on allura and forge classic js/1913. To test:
1) Create a project
2) Go to /p/xyz/admin/screenshots and add a screenshot
3) Confirm screenshot shows up on /p/xyz/home/
Also make sure delete and caption edit work. If you try to add more than 6 screenshots it should show you an error message saying you can't have more than 6.
merged to forge:dev @ [f15b58f], forge-classic:dev @ [d6725a7]
I was just taking a look at this since it's a fairly big new features. Two things:
I've added the permission checks in. Please add a new ticket for the thumbnail size once we get a final design for the project summary page.