• Hello,
    My images are displaying with cropped image dimensions at the end like so:
    /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09-300×300.jpeg
    How do I remove the “-300×300” in the image url?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • How else do you want the cropped images to be identified?

    Note that the images with these dimensions in the file name are only the cropped versions or generated thumbnails. The ORIGINAL images remain with their ORIGINAL names.

    Thread Starter sheikhabdullah321

    (@sheikhabdullah321)

    Thank you so much for your response but I want to remove dimensions in the image link.
    for example, my image link is /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09-300×300.jpeg but I want /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09.jpeg.

    for example, my image link is /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09-300×300.jpeg but I want /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09.jpeg.

    First, let me reiterate what I said earlier:

    /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09.jpeg is the ORIGINAL, full-size image you uploaded. This mage is already on your server. Your original images are never automatically deleted or overwritten when you edit/crop an image or generate thumbnails.

    /uploads/2021/03/2F592927-C118-4966-9D36-DE35093DAE09-300×300.jpeg is the 300x300px “thumbnail” version of the same image generated by WordPress. (There are probably more files or versions of the same image: “medium”, “large”, and other dimensions generated by your theme or some plugin.)

    A smaller image dimension will have a smaller file size (though often of less quality), thereby loading faster. So WordPress generates and uses these different image sizes where appropriate, in other to speed up your website.

    The name of the image file should not be a concern to you, as it’s of no consequence. Rather, what you should be concerned about is if the appropriate SIZE (and quality) of the image is being served.

    With that in mind, now to your question…

    If I understand your intent, the real question is about serving the original, full-size image, instead of the generated 300×300 thumbnail.

    Where are these “image links” with the 300×300 image you mentioned appearing on your website? Can you give an example page on your site so I can take a look?

    If you inserted the image into your post/page, then, when inserting the image, just make sure to use the FULL-SIZE image, instead of any generated thumbnail. See screenshot below.

    On the other hand, if the “image link” is a featured image thumbnail automatically inserted by your theme (eg in blog post listings, category archive pages, search results), then the theme’s code will have to be tweaked to use the original full-size image, instead of the thumbnail.

    If I still haven’t fully addressed your issue, please give a live link to your website with the images in question, so I can take a look and help you (English is not my first language, so please forgive me if I’m misunderstanding your request.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removed Dimension With Link’ is closed to new replies.