Solved

Removing unused image files - debut theme

Sirrah
Excursionist
58 1 8

Hi,

 

Is there a way to see if an image on the site is actually in use?  I've got a site with multiple versions of the same image and I want to easily remove the ones that aren't in use.  How do I find out which image files are being used and which aren't?

 

Here's an example:  3 images in the files.  Only 1 is in use so I want to delete the other 2 - how can I tell which one is in use?

 

image screenshot.JPG

Accepted Solution (1)

Sirrah
Excursionist
58 1 8

This is an accepted solution.

This is the accepted solution. I originally asked this question in 2019 when this option didn't exist (it's now 2024...finally resolved!)

 

Hello, I have the same issue and I figureit out just now, and I want to share this. 

Go to Content>Files>and If the image in reference tab in just dash it means it is not used. you may now delete. Hope it helps.

View solution in original post

Replies 10 (10)

oscprofessional
Shopify Partner
15905 2378 3087

Hello 

You can see name/path of the image by inspecting image from frontend and compare that name/path with this name.
And remove those image which are not in use. 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
frankw83
Excursionist
19 0 5

hello, is there a more professional solution for this meanwhile? greetings frank

frankw83
Excursionist
19 0 5

Huhu??

Mathias_Meyer
Excursionist
72 0 6

Hello, did you find an app or something to do remove the unused images of your website ? Thanks

chickswhorip
Visitor
1 0 1

yes but where is the delete button to delete the unused image? i know which image but i dont know how to delete all other unused images.

 thanks, am

mayaV96
Visitor
1 0 0

Lucky that u know the images to be deleted, once u select them, u can see the delete option/button floating below side. Hope this might help someone still looking out for the option. 

 

Celine-NL
Shopify Partner
1 0 0

Did someone already find a solution or app for this? We would like to see what images aren't used in the live theme so we can delete them (preferably in bulk). Thanks!

johngebco
Visitor
1 0 0

Hello, I have the same issue pls help.

Sirrah
Excursionist
58 1 8

This is an accepted solution.

This is the accepted solution. I originally asked this question in 2019 when this option didn't exist (it's now 2024...finally resolved!)

 

Hello, I have the same issue and I figureit out just now, and I want to share this. 

Go to Content>Files>and If the image in reference tab in just dash it means it is not used. you may now delete. Hope it helps.

Filippo5
Visitor
1 0 0

Actually, this is only true if images are used on product pages. If it is in the blog or other pages there is still the dash even if they are in use.. So be careful.