• Hi all,

    I am using custom-field-template plugin to upload an image for my blog pages. The problem I’m having is that these images go to the Media Library and I then assign the same image to lots of pages using my custom field template. However, if I use the ‘delete’ link on just one of the pages where I’ve assigned the image, this deletes the image from the media library and thus from ALL of the pages where I had assigned it. This isn’t what I wanted to do at all – I only wanted to delete the image from the one page and leave all of the others alone. Does anyone have a solution for this?

    Many thanks
    Kevin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter the_lar

    (@the_lar)

    Does anyone know about this one?

    Get CFT version 1.8.6 and set the new option mediaRemove to false.

    [ExtraImagesMediaLib]
    type = file
    multiple = true
    label = Extra images
    relation = true
    mediaPicker = true
    mediaLibrary = true
    mediaRemove = false

    Thread Starter the_lar

    (@the_lar)

    That sounds good – I’ll upgrade and see if that works out for me.

    Many thanks for the response!

    Regards
    Kevin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Custom Field Template] Deleting an image’ is closed to new replies.