Wordpress cutting images size

I'm currently working on a page's banner , and after a while i've noticed that my images are with slight

I'm currently working on a page's banner , and after a while i've noticed that my images are with slight worst quality that i expected.

I was uploading the images with the 1920x1024 size, but after i checked admin dashboard i noticed they have been shrunk to 1024x575 ! Is there any reason why this happens ? And is there anyway to prevent this ?

Thanks in advance!

I'm currently working on a page's banner , and after a while i've noticed that my images are with slight worst quality that i expected.

I was uploading the images with the 1920x1024 size, but after i checked admin dashboard i noticed they have been shrunk to 1024x575 ! Is there any reason why this happens ? And is there anyway to prevent this ?

Thanks in advance!

Share Improve this question asked Feb 28, 2020 at 12:37 Pedro FerreiraPedro Ferreira 1791 silver badge10 bronze badges 2
  • 1 Are you using the original image or are you using one of the other image sizes such as large or medium? WP creates multiple copies of the image in various sizes, but it always keeps the original uploaded image file – Tom J Nowell Commented Feb 28, 2020 at 13:59
  • Yes it was that :) found the error just now , thanks ! – Pedro Ferreira Commented Feb 28, 2020 at 14:17
Add a comment  | 

1 Answer 1

Reset to default 1

Maybe the method you're using to display the banner is using a specific image size. Usually wordpress can use a defined (or not) image size to display a media item, but if you check the media item, you'll be able to see the original upload.

Can you provide some code where you're displaying the banner?

You should check out the add_image_size, get_the_post_thumbnail methods and also if you should change the method to display the image.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744708122a4589177.html

相关推荐

  • Wordpress cutting images size

    I'm currently working on a page's banner , and after a while i've noticed that my images are with slight

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信