Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-09-21 15:14:46
- Qwest
- Member
- From: London, UK
- Registered: 2007-01-24
- Posts: 112
batch deleting images? Is it possible?
I’ve just been uploading 4000 images to textpattern, and it’s going swimmingly, however, i’ve uploaded 100 or so that are thumbnails as opposed to full-size images.
Is there a quick way of removing them? Or do i have to go through each one hitting the ‘X’ and then hitting yes, then waiting for the page to refresh?
Offline
Re: batch deleting images? Is it possible?
Not from within standard TXP, but you could fire up PHPmyAdmin and mass-delete there and do the same with the actual image files.
Offline
Re: batch deleting images? Is it possible?
sql query (thanks igner)
delete from txp_image where id between 43 and 167;
where image number 43,167 and every image in between get deleted.
Offline
#4 2007-09-23 06:22:16
- Qwest
- Member
- From: London, UK
- Registered: 2007-01-24
- Posts: 112
Re: batch deleting images? Is it possible?
I was hoping there’d be a plugin that’ll allow me to view the images page like the articles page, and i could just tick the boxes, and then hit delete… Maybe that’s an idea for a future plugin!?
Thanks for the ideas tho, I’ll look into it. I’m not too confident when it comes to phpmyadmin
Offline
Re: batch deleting images? Is it possible?
It’s something that really belongs in core, just like it’s done for articles.
Offline
Re: batch deleting images? Is it possible?
ruud wrote:
It’s something that really belongs in core, just like it’s done for articles.
just curious, would this be something expected in 4.0.x? or is that too much of a change?
Offline
Re: batch deleting images? Is it possible?
Probably not in 4.0.x. It’s not a minor change.
Offline