{"id":7088,"date":"2021-06-27T15:31:47","date_gmt":"2021-06-27T15:31:47","guid":{"rendered":"https:\/\/max-drake.cc\/?p=7088"},"modified":"2021-06-27T15:31:50","modified_gmt":"2021-06-27T15:31:50","slug":"wordpress-and-importing-images-problem","status":"publish","type":"post","link":"https:\/\/max-drake.cc\/?p=7088","title":{"rendered":"WordPress and importing images problem"},"content":{"rendered":"\n<p>Recently I&#8217;ve been having issues with images not coming into WordPress Posts. I load an image from a screenshot and I get the following error:<\/p>\n\n\n\n<figure class=\"wp-block-image size-cosmic-thumbnail-AUTOx100 is-style-default\"><img decoding=\"async\" width=\"412\" height=\"100\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-412x100.jpg\" alt=\"\" class=\"wp-image-7093 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-412x100.jpg 412w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-300x73.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-768x186.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-50x12.jpg 50w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-206x50.jpg 206w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-100x24.jpg 100w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1-640x155.jpg 640w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-1.jpg 985w\" data-sizes=\"(max-width: 412px) 100vw, 412px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 412px; --smush-placeholder-aspect-ratio: 412\/100;\" \/><\/figure>\n\n\n\n<p>Adding an alt attribute just shows the alt attribute when looking at the web page so that solution doesn&#8217;t work. <\/p>\n\n\n\n<p>I&#8217;ve looked on the web and there is not that much out there about this issue, but some of the solutions seem a bit odd. <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Adding an alt attribute just shows the alt attribute<\/li><li>rename the file to a single name &#8211; <span style=\"color:#cf2e2e\" class=\"color\">doesn&#8217;t seem to work<\/span><\/li><li>update PHP on the server where WP is located <strong><span style=\"color:#cf2e2e\" class=\"color\">(done)<\/span><\/strong> <\/li><li>Drag\/drop onto a page instead of inserting from file with normal dialogue box &#8211; <span style=\"color:#cf2e2e\" class=\"color\">loads but ends with same issue a lot of the time<\/span><\/li><li>Clean the site up with a WordPress plugin for database and site. <span style=\"color:#cf2e2e\" class=\"color\">I did this but it didn&#8217;t seem to make any difference<\/span><\/li><\/ol>\n\n\n\n<p>This video <span style=\"color:#cf2e2e\" class=\"color\">demonstrates the Drag\/Drop image<\/span> into the page at about 7.45min into the video:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to use WordPress Gutenberg Editor Like a Pro - Markdown, Drag Images, More\" width=\"678\" height=\"381\" data-src=\"https:\/\/www.youtube.com\/embed\/mECCopSI3go?start=466&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The only method I&#8217;ve had some success with is to select the image error box and change the settings to medium from Thumbnail , but that usually means the image is not as sharp, and you have to rescale up the image size. A lot of bloody work where there wasn&#8217;t any before. <\/p>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"338\" height=\"1024\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-338x1024.jpg\" alt=\"\" class=\"wp-image-7099 lazyload\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-338x1024.jpg 338w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-99x300.jpg 99w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-50x151.jpg 50w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-100x303.jpg 100w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-33x100.jpg 33w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-211x640.jpg 211w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots-357x1080.jpg 357w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/2021-06-28-13_22_42-C__Users_drake_Downloads_______Screenshots.jpg 383w\" data-sizes=\"(max-width: 338px) 100vw, 338px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 338px; --smush-placeholder-aspect-ratio: 338\/1024;\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Handy Hint aside- Start YOUTUBE VIDEO at a specific playtime<\/h3>\n\n\n\n<p>A quick hack for getting video above to start at a specific time is using the share button for the video and using the Start at Tick Box <\/p>\n\n\n\n<figure class=\"wp-block-image size-medium is-resized is-style-default\"><img decoding=\"async\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-300x194.jpg\" alt=\"\" class=\"wp-image-7097 lazyload\" width=\"800\" height=\"517\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-300x194.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-768x497.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-50x32.jpg 50w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-77x50.jpg 77w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-100x65.jpg 100w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-155x100.jpg 155w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them-640x414.jpg 640w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/them.jpg 833w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/517;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-medium is-resized is-style-default\"><img decoding=\"async\" data-src=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-300x194.jpg\" alt=\"\" class=\"wp-image-7098 lazyload\" width=\"800\" height=\"517\" data-srcset=\"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-300x194.jpg 300w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-768x496.jpg 768w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-50x32.jpg 50w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-77x50.jpg 77w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-100x65.jpg 100w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-155x100.jpg 155w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in-640x414.jpg 640w, https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/in.jpg 800w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/517;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">End comment<\/h3>\n\n\n\n<p>I&#8217;m sure I&#8217;m, going to be doing some more searching on this topic in future and hopefully find a good simple solution. I&#8217;ve got the post set up now so can come back to it and try\/add other possible solutions.<\/p>\n\n\n\n<p> I added, about a year ago SMUSH plugin for images and maybe that has been an issue, I unloaded it and reloaded it, that may need to be investigated further. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I&#8217;ve been having issues with images not coming into WordPress Posts. I load an image from a screenshot and I get the following error: Adding an alt attribute just shows the alt attribute when looking at the web page so that solution doesn&#8217;t work. I&#8217;ve looked on the web and there is not that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7100,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-7088","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"featured_image_src":"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-2-600x400.jpg","featured_image_src_square":"https:\/\/max-drake.cc\/wp-content\/uploads\/2021\/06\/the-2-600x600.jpg","author_info":{"display_name":"Max Drake","author_link":"https:\/\/max-drake.cc\/?author=1"},"_links":{"self":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/7088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7088"}],"version-history":[{"count":0,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/posts\/7088\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=\/wp\/v2\/media\/7100"}],"wp:attachment":[{"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/max-drake.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}