Search the Community
Showing results for tags 'thumb'.
-
Ciao a tutti. Vi è la possibilità di visualizzare un'immagine prodotto diversa per una categoria specifica? Ad esempio per il modulo più venduti? Prestashop mi pare di capire che non permette le esclusioni, altrimenti escludevo l'immagine di copertina. Grazie a chi risponderà
- 1 reply
-
- prodotti più venduti
- modulo
-
(and 2 more)
Tagged with:
-
module RenderList mostrar miniaturas de imagen
soporte_bb posted a topic in Desarrolladores PrestaShop
Hola, He hecho un modulo y quiero mostrar las miniaturas de las imágenes en el renderlist. He creado la siguiente función en el admin del módulo: public function renderList () { if (!\Tools::isSubmit('addModuleItem') && !\Tools::isSubmit('updateModuleItem')) { $this->fields_list = array( 'id' => array( 'title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs', 'type' => 'int', 'orderBy' => true, 'search' => true ), 'image' => array( 'title' => $this->l('Image'), 'orderBy' => false, 'search' => false, 'image' => 'myModuleImages', ), 'name' => array( 'title' => $this->l('Name'), 'orderBy' => true, 'search' => true ), 'link' => array( 'title' => $this->l('Link'), ) ); $helperList = new HelperList(); $helperList->shopLinkType = ''; $helperList->list_id = ''; $helperList->simple_header = false; $helperList->actions = array('edit', 'delete',); $helperList->identifier = 'id'; $helperList->show_toolbar = true; $helperList->orderBy = 'position'; $helperList->position_identifier = 'id'; $helperList->title = $this->l('Items list'); $helperList->table = "myModule"; $helperList->show_filters = true; $helperList->token = \Tools::getAdminTokenLite('AdminmyModule'); $helperList->currentIndex = \AdminController::$currentIndex . '&configure=' . $this->name; $helperList->bulk_actions = array( 'enable' => array( 'text' => $this->l('Enable selection'), 'icon' => 'icon-power-off text-success' ), 'disable' => array( 'text' => $this->l('Disable selection'), 'icon' => 'icon-power-off text-danger' ), 'divider' => array( 'text' => 'divider' ), 'delete' => array( 'text' => $this->l('Delete selection'), 'icon' => 'icon-trash', 'confirm' => $this->l('Delete selected items?') ) ); $ListItems = \myModuleClass::getAllItems(); return $helperList->generateList($ListItems, $this->fields_list); } } En la configuración del módulo, donde se listan los items, se ve la columna de la imagen de la siguiente forma (Ver captura). El minicuadradito a la derecha de los números, si se inspecciona el elemento se ve lo siguiente. <img src="/mi_prestashop/img/tmp/myModuleImages_mini__1.?time=1530265762" alt="" class="imgm img-thumbnail"> En la parte donde pone: mini__1, debería poner un numero que seria el ID, para que quedase tal que así: mini_2_1, siendo 2 el ID del elemento.- 1 reply
-
- renderlist
- thumb
- (and 4 more)
-
Hello, On prestashop 1.6 I managed to display categories thumb in the blocktopmenu module. But I can't manage to do the same in the ps_mainmenu module for Prestashop 1.7. What I like to achieve is to display category thumbs above each category labels in menu dropdown. In the admin you have a way to upload a category thumb, but it just does nothing in the Classic theme. I have attached images to show what I try to achieve using ps_mainmenu. Best regards, Quentin
-
Witam przyszło mi pracować na państwa oprogramowaniu. Chciałbym wydobyć stosowna informację, co trzeba zrobić aby miniaturki generowały się w postaci plików z przeźroczystością. Zaznaczam że została uaktywniona opcja generowania wszystkich zdjęć w formacie .PNG, nie przyniosła ona jednak pożądanego efektu. Do postu został dołączony scrn obrazujący problem. Z góry dziękuję za udzielone odpowiedzi.
- 10 replies
-
Bonjour, Après avoir modifié mon code, j'ai fait en sorte que mes miniatures de la page produit s'affichent dans "bigpic" (la grosse image produit) non plus grâce au hover, mais grâce à un clic. Le clic sur les miniatures active aussi le "zoom" ou "thickbox", j'ai donc supprimé la class="thickbox" dans le lien <a> de product.tpl. Cependant, après suppression de cette classe, le zoom n'est plus actif sur mes miniatures comme je le souhaitais, mais aussi sur la grosse image produit. Je souhaiterais pouvoir garder cette fonctionnalité de zoom sur la grosse image produit (id="bigpic"). J'ai déjà essayé pas mal de choses et cherché des réponses sur la toile sans succès. J'espère que mon explication est claire. Merci d'avance, Nathalie
-
Hello I need one help very urgent - hope some one can help me. I am using 1.4 pretashop and when I moved my site to another server no images are showing in front side and back office/admin too. in front and back its showing as attached "?" where is all images are showing on another server and localhost. We have checked and discussed with hosting and they checked and said everything is working. What i did. As there is more the 15000 products so we uploaded images via SSH from one server to another. DB size is 50MB so we uploaded via SSH I cleaned all old cache SEO URL made OFF and than ON Force to compile makde OFF and than ON Changed all image folders permission 777 Still not working So thought Regenerate thumbnails but its saying Cannot write no-picture image to (products) images folder. Please check the folder's writing permissionswh where is I have already changed persmision of img and other imgage folder to 777 Image link is not working properly and its redirection to 404.gif Can you please help me asap Thank you in advance.
-
Bonjour, J'ai modifié la page produit du thème Default pour n'avoir q'une colone. Je souhaite modifier les dimensions automatiques données aux miniatures des produits ajouté avec ce theme (264px de coté). Dans la page product.tpl j'ai : <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox_default')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}" /> Je n'ai pas de déclaration de #bigpic ni de {$largeSize.width} et {$largeSize.height}. Quel est le fichier à modifier pour modiifer les dimensions de recadrage des miniatures ? Merci pour vos retours,
-
Hello, Since a week ago when I put a new product (as Test) Prestashop does not generate the home product thumb. I tried to fix it, but I can not find where the problem comes. The products older than a week generate right the image: http://puertasalpaira.com/68-369-home/ca.jpg While the news one not: http://puertasalpaira.com/531-home/prueba.jpg The following URL (last row) you can check it: http://puertasalpaira.com/7-puertas-de-exterior Any ideas? Thanks for your help. Best regards
-
Hola! Buenas tardes! Estoy intentando que en vez de una fila con 3 imagenes, se pueda poner 2 filas con 3 imágenes dentro de la ficha de producto. Me refiero a las miniaturas. ¿Alguien sabe como podría hacer esto? Muchas gracias. Un saludo.
-
Hello! Good afternoon! I'm trying that instead of a row with 3 images, i could put 2 rows of 3 images in the product file. I refer to the thumbnails. Does anyone know how I could do this? Thank you very much. Best regards!