WordPress.org

Ready to get started?Download WordPress

Forums

DNUI Delete not used image
Idea for delete uploaded images from /upload folder (6 posts)

  1. Den999
    Inactive
    Posted 2 years ago #

    Hello again great programmer!

    I give you a new and good idea, i think.
    I have a lot of images that uploaded directly to the catalog /uploads (without date, as /uploads/2011/03)

    Can you make a new function to check these pictures too?

    Example: i was uploaded a 10 pictures into /uploads and put URL (<img src=) into my posts.

    After 3 years I removed all the old posts, but the pictures was not deleted.

    Can you do that ?

    http://wordpress.org/extend/plugins/dnui-delete-not-used-image-wordpress/

  2. nicearma
    Member
    Plugin Author

    Posted 2 years ago #

    well the original plugin did that, the problem was the logic for update the database went you delete the image, but i can put the logic again for see the image direct in the server.
    At this moment the plugin only shows image from the database.

  3. nicearma
    Member
    Plugin Author

    Posted 2 years ago #

    But you only would delete the image, not update the database, so if only for search image like a ftp

  4. Den999
    Inactive
    Posted 2 years ago #

    Thanx for answer (I sold the site to which the above was a problem), but now I have a new idea:

    example
    0. I want to post 10 photos.
    1. I open a new post and upload 10 photos via intermal media-uploader.
    2. WordPress makes for me a small pictures (add 10x3 with different sizes)
    3. I write a post and put FIRST image as BIG preview (with no link to large size).
    4. Inside in my post i use a gallery to show for visitor ALL OF 10 pictures. Like as: [gallery link="file" columns="2"]
    5. Your plugin found as "used" only FIRST image but all of 9 images as NOT USED (and i can delete it).

    But crap is here: plugin can delete all of 9 PREVIEWS images, but itis used in GALLERY!

    Look on picture: http://s56.radikal.ru/i153/1204/0c/d2da1a7f28ae.jpg

    You understand me?

  5. Den999
    Inactive
    Posted 2 years ago #

    for better understanding, i give you a link to my website (with gallery):
    http://www.thaiguests.ru/7787

    PS. If moderators think this is an advertisement - delete this link, no problemo. i no need a visitors from wordpress community.

  6. nicearma
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, i was reading about the shortcode gallery, but is a little complex implement that in the actual code of the plugin but i going to do test today, if you see one update is because i find the solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic