{"id":2515,"date":"2015-01-19T06:32:26","date_gmt":"2015-01-19T06:32:26","guid":{"rendered":"http:\/\/www.abrima.com\/blog\/?p=2515"},"modified":"2021-04-25T22:58:44","modified_gmt":"2021-04-25T22:58:44","slug":"usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas","status":"publish","type":"post","link":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/","title":{"rendered":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s"},"content":{"rendered":"<div class=\"separator\"><a href=\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\"><img src=\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\" alt=\"\" border=\"0\" \/><\/a><a href=\"http:\/\/3.bp.blogspot.com\/-lP8X0klBHdA\/VLu3-4osiSI\/AAAAAAAADEs\/gfTR6pU-IIo\/s1600\/Google_Apps_Script.png\"><img src=\"http:\/\/3.bp.blogspot.com\/-lP8X0klBHdA\/VLu3-4osiSI\/AAAAAAAADEs\/gfTR6pU-IIo\/s1600\/Google_Apps_Script.png\" alt=\"\" border=\"0\" \/><\/a><\/div>\n<div><\/div>\n<p>Con el c\u00f3digo adecuado es posible usar Drive de Google como <a href=\"https:\/\/peru-libre.com\/\">alojamiento de imagenes<\/a> para poder insertarlas en nuestras Web App, evitando as\u00ed la necesidad de estar buscando servicios de alojamiento. Tomar en cuenta que tambi\u00e9n es posible hacer esto con im\u00e1genes svg, es decir que Drive no hace ninguna conversi\u00f3n sobre ellas.<\/p>\n<p>El tag &lt;img&gt; debe quedar de este modo:<\/p>\n<div>&lt;img src=\u00bbhttp:\/\/drive.google.com\/uc?export=view&amp;id=\u00bb&gt;<\/div>\n<div><\/div>\n<div>Despu\u00e9s del signo = debe colocarse parte del enlace que se obtiene al compartir la im\u00e1gen, las cuales para nuestras aplicaciones web deben ser compartidas como p\u00fablicas.<\/div>\n<div>Video tutorial<\/div>\n<div>***Enlace para obtener copia del proyecto con el c\u00f3digo ejemplo en descripci\u00f3n del video***<br \/>\n<iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/Hk4mVE7ccZU?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<div><\/div>\n<div>\n<p>Abrima es partner de G Suite, mas detalles <a href=\"https:\/\/www.abrima.com\/g-suite\">https:\/\/www.abrima.com\/g-suite<\/a><\/p>\n<p>Si quieres contratar cuentas G Suite entra a <a href=\"https:\/\/refergsuite.app.goo.gl\/M1So\">https:\/\/refergsuite.app.goo.gl\/M1So<\/a><\/p>\n<\/div>\n<div><\/div>\n<div>Fuente: <a href=\"http:\/\/google-html-service.blogspot.com\/2015\/01\/usar-google-drive-como-alojamiento-de.html\">GHS<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Con el c\u00f3digo adecuado es posible usar Drive de Google como alojamiento de imagenes para poder insertarlas en nuestras Web App, evitando as\u00ed la necesidad [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[11],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima\" \/>\n<meta property=\"og:description\" content=\"Con el c\u00f3digo adecuado es posible usar Drive de Google como alojamiento de imagenes para poder insertarlas en nuestras Web App, evitando as\u00ed la necesidad [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog de Tecnolog\u00eda - Abrima\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/abrimawebs\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-19T06:32:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-25T22:58:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abrima\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.abrima.com\/blog\/#organization\",\"name\":\"Abrima\",\"url\":\"https:\/\/www.abrima.com\/blog\/\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/abrima-soluciones-web\/\",\"https:\/\/www.youtube.com\/user\/abrimawebs\",\"https:\/\/www.facebook.com\/abrimawebs\/\",\"https:\/\/twitter.com\/abrimaweb\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.abrima.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.abrima.com\/blog\/wp-content\/uploads\/2018\/03\/abrima-logo.png\",\"contentUrl\":\"https:\/\/www.abrima.com\/blog\/wp-content\/uploads\/2018\/03\/abrima-logo.png\",\"width\":700,\"height\":700,\"caption\":\"Abrima\"},\"image\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.abrima.com\/blog\/#website\",\"url\":\"https:\/\/www.abrima.com\/blog\/\",\"name\":\"Blog de Tecnolog\u00eda - Abrima\",\"description\":\"Blog sobre todo lo relacionado con Cloud, Marketing Digital y Web\",\"publisher\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.abrima.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage\",\"url\":\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\",\"contentUrl\":\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage\",\"url\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/\",\"name\":\"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima\",\"isPartOf\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage\"},\"datePublished\":\"2015-01-19T06:32:26+00:00\",\"dateModified\":\"2021-04-25T22:58:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/www.abrima.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/b768d5411164cb8b8d58f72cdf4e11e8\"},\"headline\":\"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s\",\"datePublished\":\"2015-01-19T06:32:26+00:00\",\"dateModified\":\"2021-04-25T22:58:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage\"},\"wordCount\":170,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png\",\"articleSection\":[\"Google Apps\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/b768d5411164cb8b8d58f72cdf4e11e8\",\"name\":\"Abrima\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5cc72c9c6b371583c943a070dff20409?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5cc72c9c6b371583c943a070dff20409?s=96&d=mm&r=g\",\"caption\":\"Abrima\"},\"url\":\"https:\/\/www.abrima.com\/blog\/author\/abrima\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/","og_locale":"es_ES","og_type":"article","og_title":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima","og_description":"Con el c\u00f3digo adecuado es posible usar Drive de Google como alojamiento de imagenes para poder insertarlas en nuestras Web App, evitando as\u00ed la necesidad [&hellip;]","og_url":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/","og_site_name":"Blog de Tecnolog\u00eda - Abrima","article_publisher":"https:\/\/www.facebook.com\/abrimawebs\/","article_published_time":"2015-01-19T06:32:26+00:00","article_modified_time":"2021-04-25T22:58:44+00:00","og_image":[{"url":"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png"}],"twitter_misc":{"Escrito por":"Abrima","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.abrima.com\/blog\/#organization","name":"Abrima","url":"https:\/\/www.abrima.com\/blog\/","sameAs":["https:\/\/www.linkedin.com\/company\/abrima-soluciones-web\/","https:\/\/www.youtube.com\/user\/abrimawebs","https:\/\/www.facebook.com\/abrimawebs\/","https:\/\/twitter.com\/abrimaweb"],"logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.abrima.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.abrima.com\/blog\/wp-content\/uploads\/2018\/03\/abrima-logo.png","contentUrl":"https:\/\/www.abrima.com\/blog\/wp-content\/uploads\/2018\/03\/abrima-logo.png","width":700,"height":700,"caption":"Abrima"},"image":{"@id":"https:\/\/www.abrima.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.abrima.com\/blog\/#website","url":"https:\/\/www.abrima.com\/blog\/","name":"Blog de Tecnolog\u00eda - Abrima","description":"Blog sobre todo lo relacionado con Cloud, Marketing Digital y Web","publisher":{"@id":"https:\/\/www.abrima.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.abrima.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage","url":"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png","contentUrl":"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png"},{"@type":"WebPage","@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage","url":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/","name":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s - Blog de Tecnolog\u00eda - Abrima","isPartOf":{"@id":"https:\/\/www.abrima.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage"},"datePublished":"2015-01-19T06:32:26+00:00","dateModified":"2021-04-25T22:58:44+00:00","breadcrumb":{"@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.abrima.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s"}]},{"@type":"Article","@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#article","isPartOf":{"@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage"},"author":{"@id":"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/b768d5411164cb8b8d58f72cdf4e11e8"},"headline":"Usar Google Drive como alojamiento de imagenes para HTML Service y dem\u00e1s","datePublished":"2015-01-19T06:32:26+00:00","dateModified":"2021-04-25T22:58:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#webpage"},"wordCount":170,"commentCount":2,"publisher":{"@id":"https:\/\/www.abrima.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#primaryimage"},"thumbnailUrl":"http:\/\/2.bp.blogspot.com\/-0cRrHR-SKt4\/VLu9fy7d80I\/AAAAAAAADE8\/tgZWYjCdL_M\/s1600\/Google-Drive-icon.png","articleSection":["Google Apps"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.abrima.com\/blog\/usar-google-drive-como-alojamiento-de-imagenes-para-html-service-y-demas\/#respond"]}]},{"@type":"Person","@id":"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/b768d5411164cb8b8d58f72cdf4e11e8","name":"Abrima","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.abrima.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5cc72c9c6b371583c943a070dff20409?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5cc72c9c6b371583c943a070dff20409?s=96&d=mm&r=g","caption":"Abrima"},"url":"https:\/\/www.abrima.com\/blog\/author\/abrima\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/posts\/2515"}],"collection":[{"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/comments?post=2515"}],"version-history":[{"count":3,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/posts\/2515\/revisions"}],"predecessor-version":[{"id":8819,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/posts\/2515\/revisions\/8819"}],"wp:attachment":[{"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/media?parent=2515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/categories?post=2515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.abrima.com\/blog\/wp-json\/wp\/v2\/tags?post=2515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}