Lars282 Posted December 16, 2012 Posted December 16, 2012 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
Lars282 Posted December 16, 2012 Author Posted December 16, 2012 Thanks Soma, the first thread helped! Somehow didn't find this when searching myself...
arjen Posted December 18, 2012 Posted December 18, 2012 I usually search using Google, because the forum search function can't really compete using: site:processwire.com/talk insert query here
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now