How to rename images? (1 post)

  1. Jeff-H
    Posted 3 years ago #

    I want to know if there is a way to change the naming system WordPress uses to name the different size images it makes once you upload an image?

    For an example:
    If I upload image1.png in my uploads folder there will be different copies of image1.png like image1-150x150, image1-300x100.png and so on.

    What I would like is instead of image1-150x150.png is image1-thunb.png, instead of image1-300x100.png is image1-small.png and so on. Is this possible?

    The reason I want to do this is so I can use JavaScript to swap the image files for different size browser windows but I don't want to have to write a separate function for each image on the site. I guess I could upload the different sizes myself and delete the ones WordPress makes but there must be a easier way.

Topic Closed

This topic has been closed to new replies.

About this Topic