Jump to content

Recommended Posts

Posted

Hey,

How do I delete an image? I just gave $user->user_photo->remove() a go, and accidentally deleted the entire user ...

Basically, I wan to replace the old image with a new one, though $user->user_photo = new simply adds the new one, still keeping the previous ...

Thanks

Lars

Posted

I usually search using Google, because the forum search function can't really compete using:

site:processwire.com/talk insert query here

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...