Custom Field Template
Deleting an image (4 posts)

  1. the_lar
    Posted 5 years ago #

    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

  2. the_lar
    Posted 5 years ago #

    Does anyone know about this one?

  3. sanderbontje
    Posted 5 years ago #

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

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

  4. the_lar
    Posted 5 years ago #

    That sounds good - I'll upgrade and see if that works out for me.

    Many thanks for the response!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Field Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic