-
Reduce image size using Photoshop, smush.it, or any other decent compressor. A decent rule is .jpg for photos with lots of colors and/or details and .gif for text and under 256 colors with less details.
-
Use exact image sizes, if you use php to resize the images make sure they are cached versions of the re-size.
-
Use a CDN or a non shared fast host.
-
Make the user cache the image in his browser by using;
ExpiresByType image/jpeg "access plus 1 month"
or
<FilesMatch "\.(gif|jpg|png|js|css)$"> Expires 2592000
if your on apache ( insert your own numerical values).
By far the most important thing to do is proper compression an sizing.
Related Posts:
- add_image_size() for specific Post Types
- Creating an Image-Centric Custom Post Type?
- How to disable generation of default image sizes for some custom post types?
- Why does my custom WP role need edit_posts to edit images?
- List most recent image uploads, but only for specific custom post type
- set_post_thumbnail_size in percent, not pixels?
- How to add a CSS class to every image in a Custom Post Type
- Custom post type Admin Page
- Extract image src from a post and send it to an external form
- Removing Image Sizes for Custom Post Type
- Image size filtering in Media uploader according to custom post type
- Count all images of a certain post type
- How to get source of custom meta image?
- Stopping WordPress from Auto Generating Image Files for Sizes
- Uploaded image not appearing in custom post type
- Return Attachments from Custom Post Type
- How to get category image custom post type taxonomy in wordpress?
- add_image_size for post type
- Set Custom Image Size Just For Specific Custom Post Type
- Issue to get wp_get_attachment_image with cmb2
- How to rename image at uploading on specific plugin or post-type in WordPress
- How to insert multiple images into a single post within a CPT
- Adding class to featured image
- Change post featured image on hover
- List all images from a single post meta value
- Custom Image Thumbnails of Different Sizes
- How to move image thumbnails into custom folder for custom post type
- uploading images to specified directories
- Get image post ID in media upload
- Link to full size post thumbnail
- Hide editor while keeping add media button in custom post type
- Custom Post Type with image gallery
- Multiple featured sizes / images / excerpts
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- How to Create an Image Upload Box for Custom Posts?
- Add custom image size for custom post type or taxonomy
- How to automatically set ‘default image size’ for specific Custom Post Type
- Problem: wp_query outputs all images on site
- Problems with image size on the server WordPress
- frontend image post uploader
- Adding custom image sizes and post types to a plugin or to a theme?
- How do you get the full size url of an attachment image
- How to add multiple images to a custom post type without plugin [closed]
- How can i link a custom post type thumbnail to intermediate size
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- How do you output an unknown number of images in a custom post type with desired markup?
- copy images from custom field to another custom field
- Using Image Sizes for Custom Post Types outside the Loop
- link featured image to external link
- Thumbnails Not Generating
- Should i use custom post type for a custom footer?
- Returning an image url from its attachment ID using a custom post type plugin
- Images not load on custom post type sidebar, related posts
- Not Able to Add New Class To CPT Attachment Image
- DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front
- How can I add image sizes for a specific custom post type?
- Change picture attachment meta of all occurrences of a picture
- Dupplication of Custom Post Type while adding attachment
- Media is not showing on post page
- Looping through image object using ACF and CPT UI [SOLVED]
- Multi Photo Upload with Caption on Front End for Custom Post Type
- Displaying image instead of post label in wordpress
- Links Image in “Catalog” Page to Posts
- How do I set a specific size for my image?
- Trying to get custom post type attachment images to function in indexed array
- Working with gallery shortcode and get gallery images
- Image paths on custom post types getting /post_type/ added to path
- Retrieve post data via WPDB class
- How to Create a Frontend Html-list Editable in the Backend?
- Allow authors to create article image
- Add Image field to CPT
- img src not working correctly in custom post type
- Add a background image into a post [closed]
- Front end post or photo or both
- Using wp_insert_post to create custom posts with ACF image field
- set_post_thumbnail or media_sideload_image adds image multiple times in media library
- How to Create Grey Background for Product Images on Website Display but Retain White Background on Downloaded JPGs?
- Get list of registered custom post types
- Issues when rewrite rules collide?
- Search results ordered by custom post types are not grouped
- Limit Authors to their Own Posts on front-end excluding admins
- Display Posts of a Category in Alphabetical Order (Custom Post Type)
- Add information above a custom post type listing of all posts page
- Making a Custom Post type only visible to non-users via a specific link
- Search doesn’t find tags or categories in custom post types
- Add custom post type archives to search results?
- Archive template for custom post type only lists first 10
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- single-{cpt}.php ignored
- Disable block with taxonomies at post page
- Use image gallery like woocommerce in custom post type
- Select event where start date is smaller than current date and end date is greater than current date
- Template files for Custom Post Type and Taxonomy
- how to set a WP Plugin’s url
- WordPress menu with custom taxonomy
- Values from meta-box not on $_POST
- Custom posttype content metabox
- Manually build WP_Query
- WordPress Custom Post Type and sort by Tags
- No error in debug mode, wordpress template can not be loaded