Support » Fixing WordPress » How to rename images?

  • 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-150×150, image1-300×100.png and so on.

    What I would like is instead of image1-150×150.png is image1-thunb.png, instead of image1-300×100.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.

  • The topic ‘How to rename images?’ is closed to new replies.