[1.6] find unused media items [dev: garvin]
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
[1.6] find unused media items [dev: garvin]
.. discussion here ...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: [1.6] find unused media items [dev: garvin]
what is the goal for this?
Ian
Ian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [1.6] find unused media items [dev: garvin]
Hi!
Lux or someone else requested a feature to find mediadatabase items that are not referred to in any post or staticpage. So we'd need to have a database lookup that checks for each item in the mediadatabase and if it's used. Not only by the path, but also by the media id. I'm not sure yet if this can really work out.
Regards,
Garvin
Lux or someone else requested a feature to find mediadatabase items that are not referred to in any post or staticpage. So we'd need to have a database lookup that checks for each item in the mediadatabase and if it's used. Not only by the path, but also by the media id. I'm not sure yet if this can really work out.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: [1.6] find unused media items [dev: garvin]
and then do what?garvinhicking wrote:requested a feature to find mediadatabase items that are not referred to in any post or staticpage.
Is it just to cleanup unused items, this idea isn't good at all, since you can hold ML items for future posts, or have the downloadmanagers ML option enabled.
Cheers,
Ian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [1.6] find unused media items [dev: garvin]
Hi!
Regards,
Garvin
Yes, mostly to check and delete those media items. Personally I also wouldn't need it, but Lux and others might want it just to keep their installation footprint small. He also requested a manager that deals with other maintenance tasks like purging statistic tables, spamblock logs etc.Timbalu wrote:and then do what?garvinhicking wrote:requested a feature to find mediadatabase items that are not referred to in any post or staticpage.
Is it just to cleanup unused items, this idea isn't good at all, since you can hold ML items for future posts, or have the downloadmanagers ML option enabled.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: [1.6] find unused media items [dev: garvin]
You are not forced to use it ...Timbalu wrote:Is it just to cleanup unused items, this idea isn't good at all, since you can hold ML items for future posts, or have the downloadmanagers ML option enabled.
I know quite a lot of people, including myself, who downloaded a complete media gallery and copied the download to the serendipity upload directory (or a subdirectory). Depending on the size, you need to increase php limits in case you want to refresh the previews.
Cheers
Dirk
Re: [1.6] find unused media items [dev: garvin]
Actually, it would really be nice to have functions that not only allow us to find "orphaned" media but also to parse entries for media/images that are actually used in an entry. Or do we have sth. like this already?
How could this be useful? I'm currently thinking of an image slider for featured entries at the top of the blog's frontpage. I'm aware that these sliders are highly controversial But anyway, there certainly are other good things for such functionality.
How could this be useful? I'm currently thinking of an image slider for featured entries at the top of the blog's frontpage. I'm aware that these sliders are highly controversial But anyway, there certainly are other good things for such functionality.
Re: [1.6] find unused media items [dev: garvin]
Hi
I just wanted to clean up one of my Media library's and found it quite annoying to erase and find each item one by one. Do we not have something to check them all (by page) for deletion?
If this is missing, we could combine it with these development wishes.
Btw, would it be good to have this in core or by an additional plugin?
So we have wishes for:
I just wanted to clean up one of my Media library's and found it quite annoying to erase and find each item one by one. Do we not have something to check them all (by page) for deletion?
If this is missing, we could combine it with these development wishes.
Btw, would it be good to have this in core or by an additional plugin?
So we have wishes for:
- find orphaned media items + (keep dependency if dlm is used)
- find entry-linked media items + sortable (pass to frontend)
- delete multiple media items in once
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: [1.6] find unused media items [dev: garvin]
You have to check for relative and absolute URLs.Timbalu wrote:Is there even more?
Saying this another plugin checking external links for existance would be nice as well.
Cheers
Dirk
Re: [1.6] find unused media items [dev: garvin]
Well, Yes, but my "question" indicated to be something related to the Media Library. Personally I think it would be good to add list N°1 and 3 into core and list N°2 as a plugin, which could also handle the external links question (and even other maintenance tasks).
We also have this [http://board.s9y.org/viewtopic.php?f=11&t=16799] too.
We also have this [http://board.s9y.org/viewtopic.php?f=11&t=16799] too.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: [1.6] find unused media items [dev: garvin]
N°3 added as 'multidelete items in media library', according to entries, comments, etc, to dev-Serendipity branch 2.0.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian