Jump to content

Recommended Posts

Posted

When I change template of a page with images (in this case of home in default install) and the new template has no images field, the images resist in the assets folder. Is something on my local server or is this unintended behaviour?

Since image are still there and when I change template back with images field, they also aren't reinserted, which means they're not in database. So they're lost in nowhere.

Posted

I would guess that since you are not doing a specific action of removing the images field, then there is no command to delete the actual files.

Posted

But it highlights the images field and ask to really change template then deletes entries in db but physical images stay.

Posted

I think this happens because the code that removes the fields from templates doesn't know anything about specific fieldtypes. In that respect, it's different than a delete action. I'll think on this some more and see if there's an alternate way. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...