Image Alignment and Size Default Value
-
Is there a way to automatically set the default value of image alignment and size upon media upload? I already tried a couple of steps to isolate the issue, but unfortunately nothing works:
1. I set the default value of image alignment and size in
2. I added a PHP code in functions.php that will force set the alignment and size of images by default.
update_option( ‘image_default_align’, ‘center’ );
update_option( ‘image_default_link_type’, ‘none’ );
update_option( ‘image_default_size’, ‘full-size’ );
3. I deactivate all the plugins, to check if there’s any conflict with existing plugins
4. I changed the theme to ‘Twenty Fifteen’ to isolate if it’s an issue with the theme.
5. I cleared all cache, checked it in Incognito, and tried in different browser.
6. I manually set the image alignment and size, then tried to upload a new image, to check if the settings will saved via cacheThe page I need help with: [log in to see the link]
- The topic ‘Image Alignment and Size Default Value’ is closed to new replies.