{"id":33592,"date":"2020-02-24T15:55:57","date_gmt":"2020-02-24T13:55:57","guid":{"rendered":"https:\/\/www.hostinet.com\/formacion\/?p=33592"},"modified":"2020-02-24T18:42:20","modified_gmt":"2020-02-24T16:42:20","slug":"carga-diferida-imagenes-lazy-loading-product-images-st-themes","status":"publish","type":"post","link":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/","title":{"rendered":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)"},"content":{"rendered":" <!-- x0 --><div style=\"min-height: 30px; margin-top: 0px; padding-bottom: 7px; z-index: 1;position: relative; float: none;\" class=\"social-container\"><\/div><p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33595\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera-600x281.jpg\" alt=\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images\" width=\"600\" height=\"281\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera-500x234.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera-350x164.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Si estamos usando la plantilla que viene por defecto con <strong>PrestaShop 1.6 o 1.7<\/strong> (u otras que no sean de ST-Themes) y tenemos <strong>muchos productos con im\u00e1genes<\/strong>, con el siguiente m\u00f3dulo podremos conseguir <strong>mejorar la velocidad de carga de nuestra web<\/strong>, o al menos de las im\u00e1genes de nuestros productos.<\/p>\n<p><strong>Este m\u00f3dulo es ideal para solucionar problemas en la carga de im\u00e1genes en nuestra tienda online<\/strong>, siempre que estamos usando una plantilla que no tenga el sistema de <em>\u201clazy loading images\u201d<\/em>.<\/p>\n<p>Damos por hecho que al ser una tienda enfocada hacia el comercio electr\u00f3nico (ecommerce) vamos a tener unos cuantos productos con im\u00e1genes, ya que obviamente si tenemos pocos no vale mucho la pena utilizar este m\u00f3dulo, sino que ser\u00eda mucho mejor <a href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/modulo-gratuito-optimizar-imagenes\/\">optimizar<\/a> las poquitas im\u00e1genes que tuvi\u00e9ramos, y as\u00ed ahorrarnos la instalaci\u00f3n e inyecci\u00f3n de c\u00f3digo en nuestra plantilla, pero como decimos entendemos que al tener una tienda online tendremos muchas im\u00e1genes, y es posible que nuestra web se resienta por ello, as\u00ed que <strong>Lazy Loading Product Images puede ser la soluci\u00f3n perfecta para cargar de forma escalonada nuestras im\u00e1genes<\/strong>.<\/p>\n<p>Pero, antes de todo\u2026<\/p>\n<h2><strong>\u00bfQu\u00e9 es la Carga Diferida o Lazy Loading?<\/strong><\/h2>\n<p>El tema este de la carga diferida de im\u00e1genes o lazy loading puede que nos suene un poco chino, pero no hay problema, ya que vamos a tratar de explicarlo a continuaci\u00f3n en apenas un p\u00e1rrafo:<\/p>\n<p>Si tenemos una tienda online con muchos productos con im\u00e1genes como es comentando antes, es posible que nuestra web tarde mucho en cargar, sobre todo si esta tiene que cargar todas las im\u00e1genes que tengamos en la portada o en las secciones, sin embargo, <strong>con la carga diferida lo que se consigue es que solo se cargue el contenido que veamos en pantalla<\/strong>, es decir, tendr\u00edamos que hacer scroll con el rat\u00f3n hacia abajo para que se cargara el siguiente bloque de im\u00e1genes. Y con esto lo que <strong>se consigue es reducir el tiempo de carga de la tienda online en s\u00ed<\/strong>. \u00bfGenial, verdad?<\/p>\n<p>En la siguiente web hay una especie de \u201ctest\u201d con 1000 im\u00e1genes para poder comprobar de primera mano que tal funciona este sistema de carga diferida o lazy loading:<\/p>\n<h2 style=\"text-align: center;\"><a href=\"http:\/\/ressio.github.io\/lazy-load-xt\/demo\/stresstest1000img.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Test 1000 Im\u00e1genes con Lazy Loading<\/a><\/h2>\n<h2><strong>\u00bfD\u00f3nde se puede descargar Prestashop Lazy Loading Module?<\/strong><\/h2>\n<p>El m\u00f3dulo se puede descargar de forma completamente gratuita desde la <a href=\"https:\/\/www.sunnytoo.com\/10743\/free-prestashop-1-7-lazy-loading-module-for-product-images-to-speed-site\" target=\"_blank\" rel=\"noopener noreferrer\">p\u00e1gina web de su desarrollador<\/a>, no hace falta registrarse ni nada, tan solo pinchar sobre el enlace que hay en la parte superior:<\/p>\n<h2 style=\"text-align: center;\"><a href=\"https:\/\/www.sunnytoo.com\/download\/10788\/\" target=\"_blank\" rel=\"noopener noreferrer\">Free PrestaShop lazy loading module.<\/a><\/h2>\n<p>En dicha p\u00e1gina tambi\u00e9n tenemos las caracter\u00edsticas tanto para PrestaShop 1.7 como PrestaShop 1.6:<\/p>\n<h3><em>Caracter\u00edsticas Destacadas en PrestaShop 1.7<\/em><\/h3>\n<ul>\n<li>&#8211; Funciona para el m\u00f3dulo de nuevos productos, para el m\u00f3dulo top-ventas y para el m\u00f3dulo de producto destacados de la p\u00e1gina principal.<\/li>\n<li>&#8211; Funciona para listados de p\u00e1ginas de productos.<\/li>\n<li>&#8211; Funciona para el m\u00f3dulo de venta-cruzada de productos en la misma categor\u00eda de la p\u00e1gina de productos.<\/li>\n<li>&#8211; Este m\u00f3dulo funciona correctamente con las b\u00fasquedas nativas de PrestasHop. Las im\u00e1genes de los productos se cargan de forma diferida despu\u00e9s del filtrado.<\/li>\n<li>&#8211; Las im\u00e1genes de los productos se cargan de forma diferida despu\u00e9s de irse a otra p\u00e1gina.<\/li>\n<li>&#8211; Compatible con PrestaShop 1.7.<\/li>\n<li>&#8211; Solo se necesita editar un archivo.<\/li>\n<\/ul>\n<h3><em>Caracter\u00edsticas Destacadas en PrestaShop 1.6<\/em><\/h3>\n<ul>\n<li>&#8211; Funciona para listados de p\u00e1ginas de productos.<\/li>\n<li>&#8211; Este m\u00f3dulo funciona correctamente con la nevagacion.<\/li>\n<li>&#8211; Las im\u00e1genes de los productos se cargan de forma diferida despu\u00e9s del filtrado.<\/li>\n<li>&#8211; Las im\u00e1genes de los productos se cargan de forma diferida despu\u00e9s de irse a otra p\u00e1gina.<\/li>\n<li>&#8211; Compatible con PrestaShop 1.6.<\/li>\n<\/ul>\n<p>Despu\u00e9s de descargar el m\u00f3dulo, tan solo quedar\u00eda subir el m\u00f3dulo a PrestaShop 1.6 o PrestaShop 1.7, sin tener que hacer nada m\u00e1s. No hay que activar el bot\u00f3n ni nada, hay que dejarlo desactivado.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33603\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-600x292.jpg\" alt=\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images PrestaShop 1.7\" width=\"600\" height=\"292\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-500x243.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-350x170.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Tal vez la parte m\u00e1s \u201ccomplicada\u201d es la de tener que a\u00f1adir un c\u00f3digo en la plantilla que estemos usando, y que en la propia p\u00e1gina del desarrollador tambi\u00e9n explican los pasos a seguir. Para ello podemos usar el <strong>Administrador de archivos de cPanel<\/strong> o un <strong>cliente de FTP como Filezilla<\/strong> mediante el cual poder acceder a las rutas que vamos a indicar.<\/p>\n<h2><strong>Instalaci\u00f3n en PrestaShop 1.7<\/strong><\/h2>\n<p>Para que el m\u00f3dulo funcione correctamente en nuestra web debemos <strong>editar el archivo product.tpl<\/strong> de nuestro CMS. Podemos encontrar el archivo en la siguiente ruta:<\/p>\n<p><em>\\themes\\nombredenuestrotheme\\templates\\catalog\\_partials\\miniatures\\product.tpl<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33600\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-producttpl-600x432.jpg\" alt=\"PrestaShop 1.7 product.tpl\" width=\"600\" height=\"432\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-producttpl.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-producttpl-500x360.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-producttpl-350x252.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Debemos localizar la parte que pone: \u201c<\/p>\n<blockquote><p>\u00ab&gt;<br \/>\n&lt;img src = \u00ab{$product.cover.bySize.home_default.url}\u00bb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33602\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir-600x163.jpg\" alt=\"Lazy Loading Product Images PrestaShop 1.7 C\u00f3digo\" width=\"600\" height=\"163\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir-500x136.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir-350x95.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p><\/blockquote>\n<p>Y sustituirlo por lo siguiente, b\u00e1sicamente es hacer un \u201ccopy paste\u201d del c\u00f3digo de aqu\u00ed abajo y pegarlo encima del que est\u00e1 arriba. En las im\u00e1genes se ven muy bien los cambios.<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>is_stlazyloading\u00bb&gt;<br \/>\n&lt;img src=\u00bb{$stlazyloading.img_prod_url}{$stlazyloading.lang_iso_code}-default-home_default.jpg\u00bb class=\u00bbstlazyloading_holder\u00bb width=\u00bb{$product.cover.bySize.home_default.width}\u00bb height=\u00bb{$product.cover.bySize.home_default.height}\u00bb alt=\u00bb{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name}{\/if}\u00bb \/&gt;<br \/>\n&lt;img data-src = \u00ab{$product.cover.bySize.home_default.url}\u00bb class=\u00bbstlazyloadthis\u00bb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33601\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir2-600x230.jpg\" alt=\"Lazy Loading Product Images PrestaShop 1.7 C\u00f3digo 2\" width=\"600\" height=\"230\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir2.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir2-500x192.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps17-lazy-loading-product-images-codigo-sobreescribir2-350x134.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p><\/blockquote>\n<h2><strong>Instalaci\u00f3n en PrestaShop 1.6<\/strong><\/h2>\n<p>En lo que respecta a PrestaShop 1.6, la ruta es la siguiente:<\/p>\n<p><em>\\themes\\nombredenuestrotheme\\product-list.tpl<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33599\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-productlisttpl.jpg\" alt=\"PrestaShop 1.6 productlist.tpl\" width=\"480\" height=\"500\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-productlisttpl.jpg 480w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-productlisttpl-350x365.jpg 350w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>Hay que editar:<\/p>\n<blockquote><p>is_stlazyloading<\/p>\n<p>&lt;img src=\u00bb{$img_prod_dir}{$lang_iso}-default-home_default.jpg\u00bb class=\u00bbstlazyloading_holder\u00bb {if isset($homeSize)} width=\u00bb{$homeSize.width}\u00bb height=\u00bb{$homeSize.height}\u00bb{\/if} \/&gt;<\/p>\n<p>stlazyloadthis<\/p>\n<p>data-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33598\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-lazy-loading-product-images-codigo-600x169.jpg\" alt=\"Lazy Loading Product Images PrestaShop 1.6 C\u00f3digo\" width=\"600\" height=\"169\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-lazy-loading-product-images-codigo.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-lazy-loading-product-images-codigo-500x141.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-lazy-loading-product-images-codigo-350x99.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p><\/blockquote>\n<p>Despu\u00e9s, hay a\u00f1adir este c\u00f3digo en la parte inferior de la funci\u00f3n reloadContent en:<\/p>\n<p><em>\\themes\\ nombredenuestrotheme\\js\\modules\\blocklayered\\blocklayered.js<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33597\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs.jpg\" alt=\"PrestaShop 1.6 blocklayered.js\" width=\"469\" height=\"500\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs.jpg 469w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs-350x373.jpg 350w\" sizes=\"auto, (max-width: 469px) 100vw, 469px\" \/><\/p>\n<blockquote><p>if (typeof(stlazyloading) == &#8216;function&#8217;)<br \/>\nstlazyloading($(&#8216;img.stlazyloadthis&#8217;));<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-33596\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs2-600x348.jpg\" alt=\"PrestaShop 1.6 blocklayered.js 2\" width=\"600\" height=\"348\" srcset=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs2.jpg 600w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs2-500x290.jpg 500w, https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps16-blocklayeredjs2-350x203.jpg 350w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p><\/blockquote>\n<h2><strong>\u00bfProblemas?<\/strong><\/h2>\n<p>Si obtenemos un mensaje como este: <em>\u00aben-default-home_default.jpg can not be load\u00bb<\/em>, entonces tendremos que llevar a cabo la <strong>regeneraci\u00f3n de las miniaturas de las im\u00e1genes de los productos<\/strong>.<\/p>\n<p>En PrestaShop 1.6, por ejemplo, podemos usar el m\u00f3dulo <a href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/image-regenerator-modulo-regenerar-imagenes\/\">Image Regenerator<\/a>, ya que con \u00e9l se puede solucionar el problema. En principio, en PrestaShop 1.7, al ser un proceso m\u00e1s simple, no deber\u00eda dar problemas. \ud83d\ude09<\/p>\n<p>\u00a1Y eso es todo!<\/p>\n<h2><strong>Hosting PrestaShop SSD Con LiteSpeed<\/strong><\/h2>\n<p>En Hostinet puedes contratar un\u00a0<strong style=\"font-style: inherit;\">Hosting PrestaShop SSD<\/strong> con <a href=\"https:\/\/www.hostinet.com\/hosting-web\/litespeed-web-server-todo-lo-que-necesitas-saber\/\" target=\"_blank\" rel=\"noopener noreferrer\">LiteSpeed<\/a> para hacer que tu tienda online vaya mucho m\u00e1s r\u00e1pida que la de tu competencia. <strong style=\"font-style: inherit;\">\u00a1Te garantizamos una IP espa\u00f1ola<\/strong><strong>, as\u00ed como el mejor soporte en tu idioma<\/strong><strong>!\u00a0<\/strong><\/p>\n<p>En Hostinet trabajamos desde hace m\u00e1s de 15 a\u00f1os con servidores ubicados en Espa\u00f1a (Madrid y Bilbao) para ofrecer a nuestros clientes las mejores prestaciones posibles.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.hostinet.com\/hosting-prestashop-ssd\/\" target=\"_blank\"><img decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2026\/04\/hosting_prestashop.jpg\" alt=\"Hosting PrestaShop\"><\/a><\/p>\n<div style=\"min-height: 30px; margin-top: 0px; padding-bottom: 7px; z-index: 1;position: relative; float: none;\" class=\"social-container\"><\/div> <!-- x1 -->","protected":false},"excerpt":{"rendered":"<p>Si estamos usando la plantilla que viene por defecto con PrestaShop 1.6 o 1.7 (u otras que no sean de ST-Themes) y tenemos muchos productos con im\u00e1genes, con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.\u2026 <\/p>\n<div class=\"post-more\">\n<p><a class=\"btn button\" href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/\">Sigue leyendo &rarr;<\/a><\/p>\n<\/div>\n","protected":false},"author":13,"featured_media":33595,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1918,1784,1925,2023],"tags":[],"class_list":["post-33592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-modulos-addons","category-prestashop","category-prestashop-1-6","category-prestashop-1-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)<\/title>\n<meta name=\"description\" content=\"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.\" \/>\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.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)\" \/>\n<meta property=\"og:description\" content=\"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostinet\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-24T13:55:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-24T16:42:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"281\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Raul Alaman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Hostinet\" \/>\n<meta name=\"twitter:site\" content=\"@Hostinet\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Raul Alaman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/\"},\"author\":{\"name\":\"Raul Alaman\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/person\\\/7f2d10131293f0f5f8e101ff5fc8bbff\"},\"headline\":\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)\",\"datePublished\":\"2020-02-24T13:55:57+00:00\",\"dateModified\":\"2020-02-24T16:42:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/\"},\"wordCount\":1143,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/ps-lazy-loading-product-images-cabecera.jpg\",\"articleSection\":[\"M\u00f3dulos\",\"PrestaShop\",\"Prestashop 1.6\",\"Prestashop 1.7\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/\",\"name\":\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/ps-lazy-loading-product-images-cabecera.jpg\",\"datePublished\":\"2020-02-24T13:55:57+00:00\",\"dateModified\":\"2020-02-24T16:42:20+00:00\",\"description\":\"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/ps-lazy-loading-product-images-cabecera.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/ps-lazy-loading-product-images-cabecera.jpg\",\"width\":600,\"height\":281,\"caption\":\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PrestaShop\",\"item\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/category\\\/prestashop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#website\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\",\"name\":\"Hostinet\",\"description\":\"Hosting y dominios en Espa\u00f1a. La mejor calidad a precios baratos\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\"},\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\",\"name\":\"Hostinet SLU\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/hostinet-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/hostinet-logo.jpg\",\"width\":600,\"height\":245,\"caption\":\"Hostinet SLU\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Hostinet\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/person\\\/7f2d10131293f0f5f8e101ff5fc8bbff\",\"name\":\"Raul Alaman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"caption\":\"Raul Alaman\"},\"sameAs\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)","description":"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.","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.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/","og_locale":"es_ES","og_type":"article","og_title":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)","og_description":"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.","og_url":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/","og_site_name":"Hostinet","article_published_time":"2020-02-24T13:55:57+00:00","article_modified_time":"2020-02-24T16:42:20+00:00","og_image":[{"width":600,"height":281,"url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg","type":"image\/jpeg"}],"author":"Raul Alaman","twitter_card":"summary_large_image","twitter_creator":"@Hostinet","twitter_site":"@Hostinet","twitter_misc":{"Escrito por":"Raul Alaman","Tiempo de lectura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#article","isPartOf":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/"},"author":{"name":"Raul Alaman","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/person\/7f2d10131293f0f5f8e101ff5fc8bbff"},"headline":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)","datePublished":"2020-02-24T13:55:57+00:00","dateModified":"2020-02-24T16:42:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/"},"wordCount":1143,"commentCount":0,"publisher":{"@id":"https:\/\/www.hostinet.com\/formacion\/#organization"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg","articleSection":["M\u00f3dulos","PrestaShop","Prestashop 1.6","Prestashop 1.7"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/","url":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/","name":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)","isPartOf":{"@id":"https:\/\/www.hostinet.com\/formacion\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#primaryimage"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg","datePublished":"2020-02-24T13:55:57+00:00","dateModified":"2020-02-24T16:42:20+00:00","description":"Con el siguiente m\u00f3dulo podremos conseguir mejorar la velocidad de carga de nuestra web, o al menos de las im\u00e1genes de nuestros productos.","breadcrumb":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#primaryimage","url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg","contentUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2020\/02\/ps-lazy-loading-product-images-cabecera.jpg","width":600,"height":281,"caption":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/carga-diferida-imagenes-lazy-loading-product-images-st-themes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.hostinet.com\/formacion\/"},{"@type":"ListItem","position":2,"name":"PrestaShop","item":"https:\/\/www.hostinet.com\/formacion\/category\/prestashop\/"},{"@type":"ListItem","position":3,"name":"Carga Diferida de Im\u00e1genes con Lazy Loading Product Images (By ST-Themes para PS 1.6 y PS 1.7)"}]},{"@type":"WebSite","@id":"https:\/\/www.hostinet.com\/formacion\/#website","url":"https:\/\/www.hostinet.com\/formacion\/","name":"Hostinet","description":"Hosting y dominios en Espa\u00f1a. La mejor calidad a precios baratos","publisher":{"@id":"https:\/\/www.hostinet.com\/formacion\/#organization"},"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.hostinet.com\/formacion\/#organization","name":"Hostinet SLU","url":"https:\/\/www.hostinet.com\/formacion\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/logo\/image\/","url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2016\/06\/hostinet-logo.jpg","contentUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2016\/06\/hostinet-logo.jpg","width":600,"height":245,"caption":"Hostinet SLU"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Hostinet"]},{"@type":"Person","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/person\/7f2d10131293f0f5f8e101ff5fc8bbff","name":"Raul Alaman","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","caption":"Raul Alaman"},"sameAs":["https:\/\/www.hostinet.com\/formacion\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/33592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/comments?post=33592"}],"version-history":[{"count":5,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/33592\/revisions"}],"predecessor-version":[{"id":33618,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/33592\/revisions\/33618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/media\/33595"}],"wp:attachment":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/media?parent=33592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/categories?post=33592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/tags?post=33592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}