13

I would like to propose two more edits to the Screenshot of the Week widget:

  • Have the image that appears in the widget be a smaller version of the original (Shadow's answer here pointed that out), so that it doesn't unnecessarily drain resources.
    The link might need to be rewritten, depending on the way this code is generated (PHP?), as they currently have the same target:
    <a href="https://i.stack.imgur.com/rybqs.jpg">
      <img class="wmx100" src="https://i.stack.imgur.com/rybqs.jpg" alt="">
    </a>
    
    If these links are not identical in the back-end code, we can simply replace the second with the medium-sized image generated by Imgur, i.c.
    <img … src="https://i.stack.imgur.com/rybqsm.jpg" …>
                                               ↑
    
  • The other proposal can be found here.
5
  • 1
    Worth to mention that the resources being drained are of imgur, so no big deal for SE. The more important consideration is loading speed for slow connections. Jun 23, 2021 at 8:19
  • 2
    @ShadowTheVaccinatedWizard Well, also for loading the page. That original phrasing is probably a little off, but users having slow connections might benefit from this change.
    – Joachim
    Jun 23, 2021 at 12:46
  • I also seem to recall the image being un-clickable back before it was added to the site here. Clicking it now takes you to the full image. As long as that click still takes you to the full size image, I think this would be a good idea.
    – Booga Roo
    Jun 25, 2021 at 14:11
  • @BoogaRoo Yes, definitely, hence the change in only the <img> tag.
    – Joachim
    Jun 25, 2021 at 21:23
  • @Dragonrage (or any other mod): are you mods able to change the code, or should I bring this up at Meta? I feel like these changes would improve the widget, and very quickly and easy to implement, but haven't gotten any reaction all these years.
    – Joachim
    Oct 17 at 13:42

0

You must log in to answer this question.