[Skip to main content](#vessel-content)

#   Otro problema con las imágenes?

##

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile") Topic Author
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 month ago [\#67149](#67149) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  *[Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67149 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")* was created by *[vilo](/forum/user/7826-vilo "View vilo's Profile")*

Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo "tabla" y en este modo no se muestran las miniaturas. Viendo las propiedades de las imágenes que no se muestran estas hacen referencia a la ruta "/media/com_hikashop/upload/thumbnail_100x66/image004.jpg" y este directorio no existe o no fue creado.

Ahora bien, en el checkout la miniatura aparece porque hace referencia a la ruta "media/com_hikashop/upload/thumbnail_100x100/image004.jpg" y este directorio (100x100) sí esta creado.

La miniatura también aparece cuando configuro la vista de categoría como "Bloques" ya que temabién la ruta señalada es "media/com_hikashop/upload/thumbnail_100x100/image004.jpg"

El problema lo tengo solamente con la vista de categoría en modo "Tabla". Por algun motivo el script no está generando la carpeta correspondiente o está solicitando la imagen en un directorio erróneo.

Yo necesito mostrar los productos en modo "Tabla".

Hace unos días tuve elmismo problema al cargar la última versión en un sitio existente, pero en esa oportunidad el problema lo tenía en el checkout que no mostraba la miniatura, el cual se solucionó descargando e instalando nuevamente el componente Hikashop 1.6.0. Ahora lo tengo en la vista de categorías en modo "Tabla" a pesar de que acabo de instalar la última verdsión de Hikashop.

Muchas gracias y esero su respuesta.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67294](#67294) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67294 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Hi,

From what I understand, the problem comes from the fact that you had edited one of the view files of HikaShop via the menu Display-&gt;Views before updating to the newest version of HikaShop.
Because of that, you didn't get the modifications required for the new thumbnails display system.
I would recommend to check the different files of the view "product" via the menu Display-&gt;Views and if some have been edited, to restore the original file and that should solve the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile") Topic Author
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 month ago [\#67328](#67328) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67328 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Gracias Nicolas por su respuesta.

Vovlí a restarurar el archivo listing_table.php a la versión original que trae Hikashop 1.6.0 y la miniatura aparece, pero no respeta el tamaño configurado en configuracion &gt;&gt; pantalla &gt;&gt; Archivos/Imágenes. A pesar de configurar las medidas de las miniaturas a 100x100 píxeles y las medidas de las imágenes de los productos en 250x250 píxeles, en la vista de categoría en modo tabla la miniatura se muestra del mismo tamaño que la foto del producto (250x250 px).

El código referente a la imagen en modo Tabla en el archivo listing_table.php es el siguiente:
Code:

&lt;div style="height:&lt;?php echo $divHeight;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;div style="position:relative;text-align:center;clear:both;width:&lt;?php echo $divWidth;?&gt;px;margin: auto;" class="hikashop_product_image_subdiv"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name),"","", $width ,$height); $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; $horizontal = '0'; $vertical = -'10'; $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, $vertical, $horizontal); $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;/div&gt;

Y el código que aparece para la imagen en la vista "Bloques" es:
Code:

&lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;div style="position:relative;text-align:center;clear:both;width:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_x;?&gt;px;margin: auto;" class="hikashop_product_image_subdiv"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name), '' , '' , $this-&gt;image-&gt;main_thumbnail_x, $this-&gt;image-&gt;main_thumbnail_y); $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; $horizontal = '0'; $vertical = '0'; $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, $vertical, $horizontal); $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;/div&gt;

Lo que hice fue reemplazar esto último en el archivo listing_table.php y funcionó bien.

Desearía me indicara si es correcto esto que realicé.

Por otro lado, creo que es un bug serio el hecho de que se muestre en modo "Tabla" la imagen del producto del mismo tamaño que se muestra en la vista de producto.

Muchas gracias y espero su respuesta.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67353](#67353) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67353 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Could you try to replace the lines:

$height = $this-&gt;config-&gt;get('product_image_y');
$width = $this-&gt;config-&gt;get('product_image_x');

to:
$height = $this-&gt;params-&gt;get('image_height');
$width = $this-&gt;params-&gt;get('image_width');

in that view file and try again ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile") Topic Author
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 month ago [\#67364](#67364) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67364 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Nicolas: ¿En que archivo están esas líneas de código?

Yo estoy editando el archivo listing_table.php y no encuentro esas líneas que me nombra.

Muchas gracias por su ayuda.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67463](#67463) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67463 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Yes, that's in the listing_table.php file.

It's just a few lines before the lines you posted in your second post.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile") Topic Author
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 month ago [\#67465](#67465) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67465 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

Nicolas: Su opción también funciona! Muchas gracias!

Una última consulta: ¿Hay alguna posibilidad de que Usted corrija esto para que cuando instalemos de nuevo Hikashop 1.6.0 en otro sitio nuevo no tengamos que corregir este código?

Espero su respuesta.

Muchas gracias desde ya por toda su ayuda.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 1 month ago [\#67673](#67673) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Otro problema con las imágenes?](/forum/3-bug-report/67149-otro-problema-con-las-imagenes#67673 "Acabo de instalar Hikashop Business 1.6.0 (descargado hoy de vuestra Web) y tengo un problema con las miniaturas. Tengo configurada la vsita de categorías en modo &quot;tabla&quot; y en este modo no se...")*

That has been changed on our end and will be in next release of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82NzE0OS1vdHJvLXByb2JsZW1hLWNvbi1sYXMtaW1hZ2VuZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
