Hello, I have a little issue, but it got me a little itchy and maybe somebody can help me with an easy way or a feature in Wordpress. In the insert media when inserting an image to a post. I have 4 sizes to choose from Small, Medium, Large and Original. Now every time i have to insert an image i have to change from the default set Original to large. I know it is not much work, but it would be much more convenient as it will save me two less clicks every time i insert an image Anyone can help? Thanks.
Hello there, You can set the sizes you want.. simply go to Settings>Media and you can adjust the sizes.. make thumb and medium to 0 height and 0 width to deactivate them... then choose the size of the Large area or leave it as default... Goodluck
Thanks for the reply, but this does not answer my question! I am simply trying to have the size set to the large size by default when i open the "insert media". That is so i don't have to change it from original to large every time.
hello, ok, here is another explanation , Add this Code to your theme's Functions.php File : function blueseodesign_setup() { // Set default values for the upload media box update_option('image_default_align', 'center' ); update_option('image_default_link_type', 'media' ); update_option('image_default_size', 'large' ); } add_action('after_setup_theme', 'blueseodesign_setup'); Code (markup): If you want the default link action to be none, then change this line : update_option('image_default_link_type', 'media' ); to : update_option('image_default_link_type', 'none' ); Goodluck
Thanks a lot! i have already called the functions a little different: add_action('after_setup_theme','default_attachment_display_settings'); function default_attachment_display_settings(){ update_option('image_default_align','none'); update_option('image_default_link_type','media'); update_option('image_default_size','large');}