DPI (as saved in image metadata) does not really apply to displays since pixel density is property of hardware.
You can fake this by resizing image with smaller dimensions in HTML, but saving with higher JPEG compression might make more sense.
Default compression level WP uses is 90
(out of 100) and it can be modified by filters:
jpeg_quality
(this seems to be legacy one)wp_editor_set_quality
(in newWP_Image_editor
class)
Related Posts:
- Minimum Dimensions Requirement for Featured Image?
- media-library: how to insert thumbnails with a fixed width, regardless of landscape/portrait orientation
- Images uploaded on frontend display correctly but not in media editor.
- How to get image title/alt attribute?
- How to Fix HTTP Error When Uploading Images?
- How do you get the post thumbnail size?
- set_post_thumbnail_size vs add_image_size
- Generate Thumbnails only for Featured Images
- How to get all featured image sizes and their URLs?
- Display thumbnail only if requested size exists
- the_post_thumbnail responsive srcset not populating with custom image size
- How to add multiple image sizes of the same size with add_image_size
- New image size version only for the Featured Image file
- Can’t extract and set SVG dimensions
- Getting custom-sized featured image’s URL?
- Featured image with the same height thumbs returns wrong thumb
- How to change the naming of the resized image files
- Change Output for Images in Content
- Can WordPress crop only the post thumbnails?
- Allow user to manually set crop area of default/custom image sizes on upload [closed]
- How to get the image sizes, in a function, as per the sizes mentioned in the media settings?
- Resizing Images to lower Disk Space Using Plugins
- How to change _wp_attachment_metadata specific value in SQL?
- Autogenerated Thumbnail compression depending on size
- Only create image size when used in featured image
- WordPress resizes image to the same size as uploaded
- add_image_size and add_filter(‘image_size_names_choose’, ‘my_custom_image_sizes’) not working with wordpress 3.5.2
- Customising the size of images served in Visual Composer elements [closed]
- Custom post type thumbnail / Media Library WP_DEBUG notice [closed]
- How to scale up post thumbnails/featured image?
- Upload 3 different featured image sizes to WordPress
- Use wp_remote_get to add image to media library
- Can a thumbnail of an animated gif be animated?
- Replicate featured image functionality
- WordPress Uploader Editor shows broken image
- Images are randomly deleted from server
- add_image_size not working with the_post_thumbnail
- Need clear explanation about medias/files/attchments
- How to get full absolute url for post attachment?
- Thumbnail Cropping with add_image_size?
- thumbnails are getting clipped down, want to resize instead
- How check that there is post thumbnail feature image or not on wordpress?
- How to get cropped thumbnail source for custom post type
- Exclude featured image from attachment loop
- offload media to external services [closed]
- 2 image size for post
- adaptive featured images wordpress 4.4 grid
- Featured Image Not Working when loaded from sub-domain
- How can I see where in my themes and plugins certain image sizes are used?
- Generate image for newly added size
- How to both crop (with tool) and resize thumbnails having only a max width constrain?
- “Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine
- How to replace featured image upload option with the post media image option
- How to create resized versions of images added with wp_insert_attachment
- Original image not saving?
- Custom image size in the_content loop
- remove and disable image link in functions.php
- specify size of post preview image (not post thumbnail)
- Display featured image file size, extension, filename, type, orientation?
- Redirect to another page using contact form 7? [closed]
- the_post_thumbnail(‘my_image_size’) always outputs full image
- How to bring files from the upload directory to the media gallery?
- Server B handling add_image_size() differently than Server A
- Post thumbnail throwing size limit parameters in
- Get thumbnail image according to the screen
- Image with large file size not cropping
- Trying to show link “Use as featured image” from Attachment window from t31os script
- WordPress image crop probems
- Make image full width
- Unrestricted height thumbnails
- WordPress not creating “large” thumbnails
- Is wordpress compressing my images? if so, how to prevent it?
- Custom caption output for custom image size
- Display post thumbnail in foreach loop
- How to attach images that I “insert from url” into the post?
- the_post_thumbnail(‘medium’) still gives thumbnail-size img
- Attachment Image using wrong src?
- Create an instance of add_image_size
- custom image size not being fetched
- Custom image sizes showing in Classic Editor only when upladed directly to post
- Thumbnail (featured image) and Media Library cleanup queries help needed
- Thumbnails are hard cropped not matter what
- Featured image size always cropped bottom
- Set featured image from auto generated video thumbnail url php
- After migrating media library is not showing thumbnails
- Using the_post_thumbnail do not rollback to original image if specified thumbnail does not exist
- Missing image size
- Post thumbnail not displaying correct size
- Making a ‘featured image’ become the image for a full banner (top of page) image in a blog post?
- wp_get_attachment_image_src() works on index, but not on Archives
- Redimension thumbnail crop without creating new images
- Featured Image, and Image in post
- Setting featured image based on related post
- Trouble Retrieving Thumbnail URL on Front-Page
- Always generate thumbnail after sideloading image
- Custom image sizes are not used
- Editing featured image
- wordpress featured image
- Why some images are not allowed to be edited only for thumbnails?
- How can I use an image from an external source without uploading it to the media library