Explore the community Forums Lectora Lectora Questions & Answers How to remove/delete unused images from images folder

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #295014 Score: 0
    Profile photo of Akash Jambhorkar
    Akash Jambhorkar
    Member
    beginner
    intermediate
    curious george
    contributor
    wise owl
    1 pt
    @Akash Jambhorkar

    In images folder there is so many images are unused and unwanted.
    How to remove/ delete them?

    Now so many images not used in lectora project.

    #295015 Score: 4
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    Three steps:

    1. In Lectora, go to “Tools > Resources > Unused tab > Remove all”. This will remove all references to unused images from the title (but will leave the images on your disk).

    2. In Lectora, go to “File > Export > As ZIP file”. Save the zip file somewhere. This will export ONLY the images referenced in your title, none of the unused images will be in the zip archive.

    3. Remove the original /images/ folder and replace it with the /images/ folder from the zip file.

    This post has received 4 votes up.
    #295093 Score: 3
    Profile photo of Laura Silver
    Laura Silver
    Moderator
    junior moderator
    verified member
    beginner
    intermediate
    contributor
    wise owl
    friend finder
    advanced
    curious george
    Group Member
    21 pts
    @lsilver

    There’s also another trick you can use if you want to permanently delete the resources from your hard drive. But watch out because there’s no “undo” for that!

    From the Tools Ribbon, select Error Check. If you have unused Resources and Variables in your title, you’ll receive a prompt to remove them with an option to delete them from your hard drive.

    This post has received 3 votes up.
    #295114 Score: 1
    Profile photo of Adam Leibler
    Adam Leibler
    Member
    beginner
    intermediate
    LUC17 Attendee
    12 pts
    @AdamLeibler

    Two quick caveats to Sergey’s reply:

    1. As a bonus, this also cleans out your media and extern folders, too, so swap them out the same way you did your images folder.

    2.I like to close my Lectora file after I export the ZIP. That way, after I’ve swapped image (or other) folders and I reopen my title, if there are any missing resources or issues, I get a popup notification to help me find the source of the trouble quickly.

    Cheers!

    This post has received 1 vote up.
    #295121 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    Yeah, actually, Tools > Error Check > Remove unused files is totally better and simpler than my way. It’d be super easy to add the same checkbox (“also delete from disk”) to Tools > Images > Unused, so users can do that from that dialog within Lectora, too. No need for zip exporting and file swapping.

    #295487 Score: 0
    Profile photo of Akash Jambhorkar
    Akash Jambhorkar
    Member
    beginner
    intermediate
    curious george
    contributor
    wise owl
    1 pt
    @Akash Jambhorkar

    Thank you all.

    With these options now I am able to remove unwanted images, audio, and external files.

     

     

    #296755 Score: 0
    Profile photo of Annette Williams
    Annette Williams
    Member
    beginner
    intermediate
    advanced
    contributor
    LUC16
    LUC16 Attendee
    wise owl
    curious george
    entry
    LUC17 Presenter
    16 pts
    @amwdmw

    OMG – I never knew about this feature.  This whole time I have been going to Unused Resources, taking a screenshot of the list, removing them using the remove feature within Lectora, then manually deleting the files from the Image or Media folders.

    I am in the middle of adjusting a template….and will be trying this out RIGHT NOW!  Thanks!!!!

    #296904 Score: 0
    Profile photo of Annette Williams
    Annette Williams
    Member
    beginner
    intermediate
    advanced
    contributor
    LUC16
    LUC16 Attendee
    wise owl
    curious george
    entry
    LUC17 Presenter
    16 pts
    @amwdmw

    Tools > Error Check > Remove unused files  works like a charm.  You have just saved me so much time!!!  🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.