drywallbmb
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Deduper] Feature RequestIt does, thank you! We’ll see if we can replicate this and if so get a fix included in the next release.
FYI, we’ve got a new version currently undergoing testing that provides controls for number of posts per page, and also allows sorting by filesize (among a few other enhancements). Hopefully being released in the next few weeks.
Forum: Plugins
In reply to: [Media Deduper] Bulk delete of duplicate images is not workingSorry it’s not working for you. Are you familiar enough with WordPress to provide any debugging logs or anything of the sort that might help us figure out what’s going wrong or replicate the problem?
Hi TJ,
Unfortunately, that’s outside the scope of this plugin’s functionality, which is limited to identifying duplicates within the database.
Off the top of my head I don’t know of a plugin that does this… Hopefully you can find something!
Forum: Plugins
In reply to: [Media Deduper] Duplicates found should be displayed togetherThanks for writing!
We’ve got a new release currently in testing that allows for sorting media by file size, which means that identical files will be grouped together. Stay tuned!
Forum: Plugins
In reply to: [Media Deduper] Feature RequestHi there,
Thanks for writing. I’m not sure what you mean here —?deleting files shouldn’t require any re-indexing. Indexing basically just adds a postmeta value for each media item, if a media item is deleted the meta will be deleted with it but all other media items should be unaffected.
Maybe there’s a bug? Are you being told the index is incomplete after deleting media?
Forum: Plugins
In reply to: [Media Deduper] Duplicate images of WPMLHi there!
I’m not terribly familiar with the WPML Media Translation module, but it was my understanding that it didn’t actually create duplicate files, just translated content (see https://wpml.org/documentation/getting-started-guide/media-translation/ —?“WPML doesn’t duplicate the image files”).
But I may be completely misunderstanding the issue you’re having. Can you explain your problem in a little more detail?
Forum: Hacks
In reply to: Attachment metadata and filesizeUpon further review, it looks as though WP does populate filesize, but only for media types that get processed by the ID3 library. Is that right?
Ah, interesting. Closer look at the WP source (still just skimming) and it does look like WP only populates filesize for audio-video stuff, but not for images. It may just be dumb luck that the DB’s I’ve checked only contained (thousands of) image files.
Anyway, it’s still a bit of a pain. Not that it can’t be done, but…
- Hard to sort by a value lots of items won’t have, and
- Hard to sort (via DB/wp_query, anyway) via a value contained in a serialized array.
Have you actually found that to be populated?
I’ve spot-checked half a dozen wpdb’s and none of them have ‘filesize’ values stored in _wp_attachment_metadata. I admit that most of the DB’s I’ve checked are very recent versions of WP, but regardless… for me that value never seems to be present.
I’ve also briefly pored over WP’s source and didn’t offhand see anywhere in core where that value is actively being set.
Thanks.
Just so you know: Sorting by filesize is apparently nontrivial (I’ve been looking into it). Despite showing filesize in the Media UI, WordPress isn’t actually in the habit of storing the filesize information in the database anywhere. Without it in the DB, one can’t query posts and sort by filesize.
It would, of course, be possible for this plugin to add some postmeta regarding filesize for each attachment, much like it stores a hash of the file data, and then use that to sort by size. But I think that’s adding more to the DB than I’d really care to do. Maybe for a “Pro” version of this plugin?
Hi there,
Thanks for using Media Deduper, and thanks for your feedback!
We’ve got a number of potential features and enhancements on our radar, and we’ll be sure to add these as well — all perfectly good and reasonable requests that I can see the use of.
Out of curiosity, would it have been useful to you if the index had been generated in the background (via cron) instead of having to manually initiate it and leave that page open? It probably would add a not-insignificant amount of time to how long it takes to generate the index, but would eliminate the need to babysit the process.
Forum: Plugins
In reply to: [Reading Position Indicator] hide on pages?Yeah, it’d be cool if there were controls to determine if it should show on the homepage, archive pages, just single posts, posts and pages, etc.
Forum: Plugins
In reply to: [Media Deduper] Works only the first time…I’ve been trying but have been unable to duplicate this problem. I might suggest deactivating and uninstalling and trying the latest version…. but I have no idea.
Forum: Plugins
In reply to: [Media Deduper] Time to produce "Duplicate Media Files" pageDOH.
Corrected. Thanks.