WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing custom ajax calls for media attachments from FrontEnd, I have everything read to use, except the actual logic.

I'm using WP E-Commerce plugin, where I want many images for one post. And I want to use thouse images on variose posts.

consider case: I have created product and uploaded 3 images for this product. Now I create another product and use one of the (3) uploaded images as this product image. Then I go to first product and delete that image I copied for the second product. Of course That will delete it for second product too. That's why I'm trying to find a solution where I can just unset/uncheck/delete_for_that_post thing.

or maybe I don't get how it works? Could someone direct my to the right direction?

Summery question would sound like this: Can I use I media attachment for many products?


share|improve this question
The "reordering" looks like a different Question. And for the first part, what are you looking for? Is it an Un-attaching function? That's what I get from "unset as attachment", but I don't understand "unset from post media"... – brasofilo Apr 12 '13 at 15:34
For example I have a post, and this post contains 5 images, I want to delete this image from this post, but not to delete the attachment at all. I still want to see this attachment in media manager, that's why I used "unset" ) – CBeTJlu4ok Apr 12 '13 at 16:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.