Skip to main content
答案

Learn more about Dozuki Answers.

10 Questions View all
User avatar

Should the images stay in the image directory after using them?

My Image directory has always kept my images that I've used in questions or answers. I wouldn't think this would be very useful since I'm soon going to get lost in my massive collection. I also noticed that if I delete one, that is in the directory, that the place I used it in shows an error.

Will the image always show up there or is this a bug? If you do want to show the images it would be nice to the ability to toggle between images I've used and images I haven't used.

Please see the image below for a better understanding. Please note that all of the images you see are already being using in questions or answers. Thanks

Block Image

Answered! View the answer I have this problem too

Is this a good question?

Score 1

Comments:

It looks like there's a bug in the image code with answers that you're running into. I'm sorry about that, and we're working non-stop right now to get it fixed. I'll update this later today with a description of how everything works—once we get it working. :-)

by

Thanks Kyle, I don't expect immediate solutions. Just wanted to make you guys aware. I have a talent for finding bugs or should I say they find me. Just ask Eric. Thanks again

by

Add a comment

1 Answer

Chosen Solution
User avatar

All right, we've fixed the issue.

What should happen:

  • When you upload an image and add it to a post, that image is moved from your shelf to the post. It will no longer reside in your shelf.
  • If you want to use an image again, you need to upload it again.

On some images on the site, you get a contextual menu with the option to 'copy to my images'. This is a way of reusing images that are on the site without having to download and reupload the image. We are planning on rolling out this image menu to all images eventually, so reusing someone else's answers image is as easy as clicking 'Copy to my images.'

What was happening:

  • When you put an image on a post, it did not remove the reference to the image from your image shelf.
  • Then, if you ever decided to clear your shelf by clicking 'Delete All Images,' it removed them from all the posts the image was on. This is a very bad thing. Removing images from your shelf should never cause data loss.

I'm terribly sorry about this. We take revision history on posts very seriously, and there should never be any way to lose any data from a post.

Was this answer helpful?

Score 3

Comments:

Thanks for the explanation. The way you explained it makes sense.

by

This is an issue still. All of my images are in my directory still. Is it safe to remove? I'm noticing that my users have deleted some of their old images and now the answers are missing files. See example from my site.

Thanks for any help you guys can provide.

by

As of Kyle's posting, we had fixed the problem for any newly uploaded and attached images. As of tonight's code release however, we fixed the issue for all images that were uploaded and attached to posts prior to our fix on February 28th. We also removed these older (already used) images from users' Image Drawers. In short: the problem should be completely fixed now. :)

by

Thank you. I confirmed this last night and everything so far looks to be solved. Thanks again

by

Add a comment

Add your answer

Author avatar Aaron will be eternally grateful.
TRUSTe