{"id":52345,"date":"2025-02-27T20:57:30","date_gmt":"2025-02-27T19:57:30","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=52345"},"modified":"2025-06-03T22:08:18","modified_gmt":"2025-06-03T20:08:18","slug":"previsualisation-dimages-en-ligne-feuilles-de-calcul","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-features\/inline-image-previews-spreadsheets\/","title":{"rendered":"Automatiser les aper\u00e7us d'images en ligne dans votre feuille de calcul"},"content":{"rendered":"\n[et_pb_section fb_built=&#8221;1&#8243; theme_builder_area=&#8221;post_content&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221;][et_pb_row _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; type=&#8221;4_4&#8243; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<p>Managing visual data alongside text records can be tricky\u2014especially when working with images stored in Google Drive. If your spreadsheet lists <b>image file names in Column A<\/b> and their <b>Google Drive URLs in Column B<\/b>, you can automate inline previews directly in your sheet. Here\u2019s how.<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h2><b>The setup<\/b><\/h2>\n<p>Let\u2019s say you have a structured spreadsheet:<\/p>\n<ul>\n<li><b>Column A<\/b> \u2013 The exact file name of each image (matching its Google Drive name).<\/li>\n<li><b>Column B<\/b> \u2013 The full Google Drive URL of each image.<\/li>\n<\/ul>\n<p>Instead of manually clicking each URL, you can automate image previews using a simple <b>Google Sheets formula<\/b> that combines the IMAGE function and REGEXEXTRACT.<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h2><b>How to enable inline image previews<\/b><\/h2>\n<h3><b>1. Set up your spreadsheet<\/b><\/h3>\n<p>Make sure your spreadsheet follows this structure:<\/p>\n<p><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p>File Name\u00a0<\/p>\n<\/td>\n<td>\n<p>Google Drive URL\u00a0<\/p>\n<\/td>\n<td>\n<p>Image Preview\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>image1.jpg<\/p>\n<\/td>\n<td>\n<p>https:\/\/drive.google.com\/file\/d\/xyz123\/view<\/p>\n<\/td>\n<td>\n<p>(will display image preview)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h3><b>2. Extract the image id from Google Drive URLs<\/b><\/h3>\n<p>Google Drive URLs contain a <b>unique image ID<\/b>, which you need to extract for embedding. The standard format for displaying an image looks like this:<\/p>\n<h2>\n<\/h2>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243; module_class=&#8221;spreadsheet-function&#8221;]<p>=IMAGE(&#8220;https:\/\/drive.google.com\/uc?id=image-id&#8221;)<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h3><b>3. Automate image extraction with REGEX<\/b><\/h3>\n<p>Since Column B contains the full URL, you can use the REGEXEXTRACT function to isolate the image ID automatically. In Column C, enter this formula:<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243; module_class=&#8221;spreadsheet-function&#8221;]<p>=IMAGE(&#8220;https:\/\/drive.google.com\/uc?id=&#8221;&amp;REGEXEXTRACT($B$2,&#8221;d\/([a-zA-Z0-9_-]+)&#8221;))<\/p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h4><b>How this works:<\/b><\/h4>\n<ul>\n<li><b>IMAGE<\/b> \u2013 Displays an image from a URL directly in a cell.<\/li>\n<li><b>REGEXEXTRACT(B2, &#8220;d\/([a-zA-Z0-9_-]+)&#8221;)<\/b> \u2013 Extracts the unique image ID from the URL in Column B.<\/li>\n<li><b>&amp;<\/b><b> (concatenation)<\/b> \u2013 Joins the extracted ID with the IMAGE function\u2019s required URL format.<\/li>\n<\/ul>\n<p>Here\u2019s the final result :\u00a0<br \/><\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2025\/02\/automate_inline_images_in_spreadsheets_1.webp&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; alt=&#8221;automate inline images in spreadsheets 1&#8243; title_text=&#8221;automate_inline_images_in_spreadsheets_1&#8243; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; theme_builder_area=&#8221;post_content&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<h2><b>Why this matters<\/b><\/h2>\n<p>By automating image previews, you <b>save time<\/b>, <b>reduce errors<\/b>, and create a more streamlined workflow. This method is perfect for managing <b>large datasets<\/b> efficiently\u2014helping you focus on insights instead of manual tasks.<\/p>\n<p><b>Start automating today for a smoother, smarter spreadsheet experience!<\/b><\/p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>Managing visual data alongside text records can be tricky\u2014especially when working with images stored in Google Drive. If your spreadsheet lists image file names in Column A and their Google Drive URLs in Column B, you can automate inline previews directly in your sheet. Here\u2019s how.The setup Let\u2019s say you have a structured spreadsheet: Column [&hellip;]<\/p>\n","protected":false},"author":48,"featured_media":44470,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[37],"tags":[],"class_list":["post-52345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-features"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/52345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=52345"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/52345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=52345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=52345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=52345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}