14

User posted a link to https://i.sstatic.net/g3aUt.png in this question. So I edited it to actually show the image. I didn't remember image syntax used here, so I used GUI button. that was much faster than reading syntax help and I expected it to gave me the same result as manual wrapping URL into image tags. I was surprised to see https://i.sstatic.net/CMZUc.png as created URL. I replaced new one with old URL and it worked good, too, so reupload wasn't really needed.

It seems each time someone will want to correct broken markup using GUI tools, new copy of image will be created. It's both a waste of time and HDD space. Could you add filter to GUI tools, so that if image is already on stack.imgur.com your tool would not try to upload it again, but would just use the copy available there?

Tested on Drupal Answers and here on meta, in this very post.

4
  • Strange. In my experience what you describe as a feature always happened....
    – Bart
    Commented Jul 10, 2013 at 8:48
  • @Bart on drupal.stackexchange.com images are consistently duplicated when using gui to create "image from the web" with stack.imgur.com images. They are not for you? On what sites you tested it?
    – Mołot
    Commented Jul 10, 2013 at 8:52
  • SO mostly...though I might have been imagining things
    – Bart
    Commented Jul 10, 2013 at 8:52
  • @Bart I just tested it, but only on the site that bothers me most. At least there it is a bit of a problem, maybe not big, but annoying ;)
    – Mołot
    Commented Jul 10, 2013 at 8:53

1 Answer 1

12

Good point. We did upload to imgur regardless if imgur was the source.

But no longer, not from the next build - if the image comes from a stack.imgur.com domain, that's what will be used.

10
  • Nice, think it also answers this other request. Commented Jul 10, 2013 at 11:00
  • @ShaWizDowArd - Thanks. status-completed that one too.
    – Oded StaffMod
    Commented Jul 10, 2013 at 11:04
  • 1
    So....I've been imagining things? That explains a lot....
    – Bart
    Commented Jul 10, 2013 at 11:23
  • 1
    @Bart - I believe the OP means they picked the image URL from the original post, clicked the button and used that URL. It would upload to imgur from that URL and return a new URL for the uploaded image...
    – Oded StaffMod
    Commented Jul 10, 2013 at 11:26
  • @Oded that's exactly what happened. I don't remember image syntax used here, so I used GUI button. that was much faster than reading syntax help and I expected it to gave me the same result as manual wrapping URL into image tags.
    – Mołot
    Commented Jul 10, 2013 at 11:28
  • 2
    @Oded Yes, that's what I understood. But I could have sworn doing that myself one day, thinking "hey, that's quite a nice feature"....If I come up with more features that work great for me, but don't actually exists, I'll let you know. ;)
    – Bart
    Commented Jul 10, 2013 at 12:02
  • 1
    @Bart - sure, just send them to my crystal ball
    – Oded StaffMod
    Commented Jul 10, 2013 at 12:14
  • Oded, seems like implementation has a little bug now :(
    – Mołot
    Commented Jul 11, 2013 at 6:40
  • 1
    @Mołot - yep. Saw that. Will get to it a bit later in the day.
    – Oded StaffMod
    Commented Jul 11, 2013 at 6:41
  • Thank you. Hopefully people will see link above before posting next bug reports.
    – Mołot
    Commented Jul 11, 2013 at 6:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .