Notifications
Clear all

The original size of the attached image.

3 Posts
2 Users
0 Reactions
956 Views
Posts: 5
Topic starter
(@adminrufond)
Active Member
Joined: 4 years ago

Hi! Attached images do not open in their original size, but stretch to the full screen. it looks very bad. I looked at the code and see the set width parameter of 2560 pixels, it can be changed, configured? Is this a bug just for me, or are the programmers just tired? 🙂 Thanks.

2021 06 08 111448
2 Replies
Posts: 5
Topic starter
(@adminrufond)
Active Member
Joined: 4 years ago

In general, while the people are thinking, I decided to do this:

2021 06 08 232656

===================

In the original, the code was like this:

2021 06 08 232922

===================

Checked on several images, so far everything works well 🙂

Reply
1 Reply
 Tom
Admin
(@tomson)
Joined: 10 years ago

Famed Member
Posts: 4213

@adminrufond,

Please note that if an image s too large, WordPress and wpForo cannot create resized versions of the image, the memory of your hosting service doesn't allow to process such a large data. That's why you should not upload images with more than 1900px. Some servers can perform even images with 3500px, but I don't think it's your case.

Also, make sure your server image extensions are enabled for PHP. The library names are:

You should enable both to make it more powerful and support high resolution images. You should contact to hosting service to enable them for the PHP.

 

More info: https://www.creuna.com/fi/blogit/high-performance-wordpress-image-processing-with-vips/

Reply
Share:
Scroll to top