Jump to content

Search the Community

Showing results for tags 'Resize'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Hi, I have enabled the option that a user can upload an image with the ordering of a product, using custom fields. The file gets uploaded, but when I download the file from the backend, I get a resized one instead of the original file. I do need the original file for printing purposes. So I upload an image with 300dpi, and when I download it, it is only 96dpi. I need the 300 one! How can I achieve this? Thanx.
  2. Sziasztok! Azt szeretném kérdezni hogy tudtok rá valami megoldást hogyan lehetne a termék képet felnagyítani? Az alábbi képen látható a mostani állapot, és kb a piros keret méretére szeretném felnagyítani a termékképet. Tudtok rá megoldást? Köszönöm!
  3. We're can i find or what is the location of the images url.com/number-medium_default/img.jpg so i can reduce the size about 90 images on my site need to be reduced Example 2027-medium_default/ If i resize the origanal image the default images stays Regards Ramon
  4. Hey, I am trying to add a logo to my carrier but the logo goes bigger that it should be! I was wondering if there is any bug since it says in the help panel that it should be resized. Logo. Having a logo helps customers choose between different carriers more easily. PrestaShop will resize your image in order to fit in the checkout page. The logo will appear in each panel of the Carrier Wizard, as a reminder of which carrier you are editing/creating. Any help or tips are appreciated Best regards, Wasim
  5. Prestashop 1.7 default functionality limits us to only resizing images. I wonder what you usually use when you want to get desired size of an image? Do you make some code overrides or use some module? What would be the code solution/module that takes a width and height and will resize and crop the image to ensure the resulting image is the exact size I requested. The aspect ratio is maintained but parts of the image may be cropped, however the resulting image is centered? For example if I have an image that is 640 x 480 and requested 400 x 100 image, I would expect the resulting image will be resized to 400 x 300 and then the height is cropped resulting in a 400 x 100 image.
  6. Salut. Pour faire simple, en front-office le custom block, c'est ça : Et en back-office, ça se règle comme ça. Du moins, son contenu. Et moi, je voudrais que ça ressemble à ça : La question est de savoir comment atteindre ce résultat ? Que devrais-je "retailler" en css ou en template pour y parvenir ? Merci d'avance pour vos conseils avisés. Pour info : - Version exacte du prestashop : 1.6.1.15 - Date d'installation : Octobre 2018 - Mises à jour bloquées pour que cette version reste une 1.6.1.15 100% d'origine. - Ajout et adaptation visuelle du thème zKid de Zerocarts - Aucune modification sur le thème default-bootstrap - Mon prestashop est hébergé en localhost. Mais je peux fournir des captures d'écran si besoin. No problem ! - Plateforme de travail : Linux Debian 9 64 bits - Geany - Xampp - Firefox 61.0.2 - Contenu exact du code utilisé par le "custom block" : <table style="height: 220px;" width="973"> <tbody> <tr> <td style="text-align: center;"></td> <td colspan="2" style="text-align: center;"><br /> <h4><strong><span style="color: #ffffff;">Extraits d'Instragram</span></strong></h4> </td> <td style="text-align: center;"></td> </tr> <tr> <td style="text-align: center;"><img src="http://localhost/img/cms/insta1.gif" alt="" width="190" height="190" /></td> <td style="text-align: center;"><img src="http://localhost/img/cms/insta2.gif" alt="" width="190" height="190" /></td> <td style="text-align: center;"><img src="http://localhost/img/cms/insta3.gif" alt="" width="190" height="190" /></td> <td style="text-align: center;"><img src="http://localhost/img/cms/insta4.gif" alt="" width="190" height="190" /></td> <td style="text-align: center;"><img src="http://localhost/img/cms/insta5.gif" alt="" width="190" height="190" /></td> </tr> </tbody> </table> NB : J'ai naturellement essayé sans le tableau, mais cela n'a apporté aucun résultat. :-(
  7. Hello, I have a php script that resizes imagenes and I would like to convert this script into a module to be able to install it in prestashop. The idea would be to execute this code every time an image is added to a product. I can code php but I have never created a prestashop module. Can anybody provide some advise on how I could create this module ? Thank you.
  8. Bonjour, je suis nouveau sur ce forum ! J'ai suivi une formation intégrateur niveau 2 prestashop je voudrais participer au projet OpenSource, et mon formateur m'a invité à participer, ça fera même gagner des points à mon agence si on faisait un Pull Request ! Il m'a dit que je devais procéder comme ça : aller voir sur le forum, chercher, et pourquoi pas en parler. aller voir sur la forge, rechercher si l’issue est présente (elle l'est partiellement) si la demande n'est pas présente, la créer si je me sens capable de le faire, coder l'amélioration et proposer un Pull Request ça c'est la théorie, et j'ai à peu prêt compris. Venons en maintenant à la pratique, je résume ma demande : les redimensionnements des images sont vraiment très lacunaires ils ne gèrent pas de mode de redimensionnement (cover, contain, no_resize, adjust) ils ne gèrent pas d'alignement du redimensionnement (top, bottom, left, right, center) par défaut, le fond débordant est blanc. pas moyen de sélectionner une autre couleur. ce dernier point étant déjà reporté dans une issue du projet 1.5 j'aimerai donc avoir dans les options des formats d'image, un select pour le mode de redimensionnement (par défaut contain) un select pour l'alignement du redimensionnement (par défaut center center) un colorpicker pour la couleur d'arrière-plan en cas de bande-noire (blanche actuellement !) Cette amélioration est totalement rétro-compatible, je pense ? Ce sont donc 3 points qui sont liés (il affecte la même partie du code) mais qui correspondent à 3 fonctionnalités. Dois-je soumettre 1 ou 3 issues pour ces nouvelles fonctionnalités Si la demande que j'ai trouvée sur la forge est sur le projet 1.5, est-ce que ça rend cette demande obsolète ? ​si c'est le cas, dois-je créer une nouvelle demande dans le nouveau projet ? associer cette demande à l'ancienne ? déjà beaucoup de questions donc ! merci d’avance, et n'oubliez pas que je suis newbie !
  9. Hi, sorry for my english and thank you for any reply. I've a problem with resize of image in the products. This image was imported from external link with csv import, but in many product the image is very big. Are there any method for resize automatically this image? i've attach the screen of the problem. Thank you Piero big_image.tiff
  10. Hello, I made an import of products into my site from another shop, including each product image. The problem is that each of the images is very small and after the import Prestashop creates thumbnails with size of 700x879 but the photo itself is the same small photo with big white corners around it. Is it possible to resize photos that they would be 700x879 size, but made bigger and resized to this very size? As example photos looks like this: https://pasteboard.co/GX5fESa.png I need it to be full sized, without white space. Any ideas?
  11. Hey guys, recently i've done 2 Prestashop templates that needed the zoom-crop functionality for certain image types ( see timthumb to know what i mean) . My first approach (it was Presta 1.4.x) was to override the The admin tabs and do lots of unneccessary stuff, then the other project came and when i was about to copy my old code i thought of a much better solution, so here it is : 0. Read our short introduction and copy code from here: http://www.bazingade...restashop-1-5-2 or here (without introduction): http://pastebin.com/eg2tLztL 1. Go to Preferences -> Images -> Add new and set the new image size that you want to be zoom-cropped (to fit the whole area) 2. Name the new image size adding the "_btt" suffix to it 3. regenerate your pictures, use the new picture name in your templates where neccessary and enjoy *** In the attachment you will find an example of how should new image size with crop be named in the backoffice **** Remember to actually use the new image size in your templates, like: <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'fbmag_btt')}" >
  12. I have a buyblock that is smashing things together, and I would like to know how to manually resize the block and where?
  13. I have created sub-categories on my store, with images for the menu, but this also includes a really large 'cover image' when you click on the tab. The image is so big you have to scroll to find the products and therefore I want to remove the cover image but keep the thumbnails in the menu. I have tried various combinations in the category creation section of the BO but it seems to be an all or nothing option! I know there is probably an easy solution to this but I just can't find it. I don't want to have to go into coding as this really scares me (I'm likely to break something else!) Any suggestions? x
  14. Bonjour à tous, Comment peut-on désactiver la fonction image resize sur la version 1.4.6.2 pour conserver la qualité originale des images jpg uploadées par le client dans le cadre d 'un produit personnalisable ? Merci d'avance pour votre aide Christophe
  15. Bonjour, Je travaille actuellement à la mise en place d'un site de vente en ligne avec Prestashop 1.6. Je rencontre un problème au niveau de la configuration des transporteurs. Je crée mes transporteurs, mais les logos de ces derniers ne sont pas redimensionnés et explosent ma page de choix du transporteur côté front. Dans la doc, il est indiqué que le resize des logos est automatique. source: http://doc.prestashop.com/pages/viewpage.action?pageId=20840772 Dans mon cas, les inscriptions situées sous le champ d'upload du logo indiquent: Je suppose que le problème vient de la "taille actuelle indéfinie". Comment définir cette taille? J'ai bien fait un tour dans Préférences > Images mais comment savoir comment nommer mon type d'image pour qu'il agisse sur le logo des transporteurs? J'ai googlé le problème et fait une recherche sur ce forum, sans succès. Je n'ai rien contre le fait d'éditer la taille des logos à la main avec photoshop, mais ça ne s'adaptera pas à la version mobile du site automatiquement, ce qui pose problème. Et on sait tous à quel point ces dernières étapes de tunnel d'achat sont importantes. Merci d'avance pour vos réponses En espérant que nous trouverons une solution ensemble!
  16. Hi, is anybody experienced with resizing default dimensions of minicslider module and tmhtml container in the template home page. I tried to change a width of minic slider in its panel control also, I removed to 2 banners in tmhtml in their control panels. The slider didn't change its width and tmhtml container didn't make 1 column banner layout. See my attached illustrations. Is there any control to modify those module beside their control panels? Thank you.
  17. Hi, any one knows how to zoom out the default-bootstrap theme on prestashop 1.6 ? It's to big for my eyes. Now I use chrome builtin extension (ctrl - +) to zoom out or in the page. Is there such simple way to zoom out the theme? I know there is such line like @media screen (min-width: 0000px) { } , and I can modify a code in those brackets but that is to dificult.. I believe there must be the way like max-width of everything to lets say 994px and that's it. Anyway.. any help would be appreciate! Thanks in advance! Example of chrome zoom out/in:
  18. we have a website running prestashop version: the following code is in a class called annonce.php $newwidth = 45; $newheight = round($height * $newwidth / $width); $tmp=imagecreatetruecolor($newwidth,$newheight); $white = imagecolorallocate($tmp, 255, 255, 255); imagefilledrectangle($tmp, 0, 0, $newwidth, $newheight, $white); $newwidth1 = 400; $newheight1 = round($height * $newwidth1 / $width); $tmp1=imagecreatetruecolor($newwidth1,$newheight1); $white = imagecolorallocate($tmp1, 255, 255, 255); imagefilledrectangle($tmp1, 0, 0, $newwidth1, $newheight1, $white); $newwidth2 = 430; $newheight2 = round($height * $newwidth2 / $width); $tmp2=imagecreatetruecolor($newwidth2,$newheight2); $white = imagecolorallocate($tmp2, 255, 255, 255); imagefilledrectangle($tmp2, 0, 0, $newwidth2, $newheight2, $white); $newwidth3 = 600; $newheight3 = round($height * $newwidth3 / $width); $tmp3=imagecreatetruecolor($newwidth3,$newheight3); $white = imagecolorallocate($tmp3, 255, 255, 255); imagefilledrectangle($tmp3, 0, 0, $newwidth3, $newheight3, $white); $newwidth4 = 183; $newheight4 = round($height * $newwidth4 / $width); $tmp4=imagecreatetruecolor($newwidth4,$newheight4); $white = imagecolorallocate($tmp4, 255, 255, 255); imagefilledrectangle($tmp4, 0, 0, $newwidth4, $newheight4, $white); imagecopyresampled($tmp, $src, (int)(($newwidth - $newwidth) / 2), (int)(($newheight - $newheight) / 2), 0, 0, $newwidth, $newheight, $width, $height); imagecopyresampled($tmp1, $src, (int)(($newwidth1 - $newwidth1) / 2), (int)(($newheight1 - $newheight1) / 2), 0, 0, $newwidth1, $newheight1, $width, $height); imagecopyresampled($tmp2, $src, (int)(($newwidth2 - $newwidth2) / 2), (int)(($newheight2 - $newheight2) / 2), 0, 0, $newwidth2, $newheight2, $width, $height); imagecopyresampled($tmp3, $src, (int)(($newwidth3 - $newwidth3) / 2), (int)(($newheight3 - $newheight3) / 2), 0, 0, $newwidth3, $newheight3, $width, $height); imagecopyresampled($tmp4, $src, (int)(($newwidth4 - $newwidth4) / 2), (int)(($newheight4 - $newheight4) / 2), 0, 0, $newwidth4, $newheight4, $width, $height); $filename = "img/p/".$id_product."-".$id_image."-small.jpg"; //45/45 $filename1 = "img/p/".$id_product."-".$id_image."-medium.jpg"; //400/300 $filename2 = "img/p/".$id_product."-".$id_image."-large.jpg"; //430/400 $filename3 = "img/p/".$id_product."-".$id_image."-thickbox.jpg"; //600/600 $filename3 = "img/p/".$id_product."-".$id_image.".jpg"; //600/600 $filename4 = "img/p/".$id_product."-".$id_image."-home.jpg"; //183/156 imagejpeg($tmp,$filename,100); imagejpeg($tmp1,$filename1,100); imagejpeg($tmp2,$filename2,100); imagejpeg($tmp3,$filename3,100); imagejpeg($tmp4,$filename4,100); imagedestroy($src); imagedestroy($tmp); imagedestroy($tmp1); imagedestroy($tmp2); imagedestroy($tmp3); imagedestroy($tmp4); It is used to resize an uploaded in different sizes to fit different views This function code is not working However when we upload an image from the backoffice, it is always correctly resized and placed in a white box and is not distorted. can anyone please help?
  19. I have for the 20+ time done a fresh install on clean fresh hosting and when I tried to load images I get this error. Impossible to resize the image into PLEASE HELP!
  20. Hello all this is my first post Well, my prestashop weighs arround 9GB is that normal? The almost all weight are the images (7,4GB) The shop has over 4k products and the image settings in the backoffice are in 'default mode' (default mode is: I didnt touch anything since I installed). It's fine for the weight of the thumbnails and size but muy problem comes with the original image. Im not who manage the shop, im just the developer and admin but i'm not who insert the products (neither the images) So there is any way to resize the original image that prestashop saves in the products img folder? Because in the product image folder, I have the next: The original (that still dunno where prestashop use this and is too heavy ). 5 thumbnails which its weight is fine and prestashop uses for products page, categories, cart, etc (small, medium, large, and not remember what follows). Sorry for my low level english. Have fun EDIT: (4k products = 4000 products) Somebody knows how much is the weight arround 10k products? Thats the number of products will get the shop..
  21. Hello everyone! Anyone could help about how to resize the footer columns? (keeping it responsive) Thanks for helping one more time! (Presta 1.6, theme default)
  22. Does anyone know whether Prestashop creates progressive jpg files when it resizes its images? If so, great. If not, then it really should, but does anyone know how to make it do so? I presume whichever library Prestashop uses for resizing (GD/ImageMagik?) has this as an option?
  23. Good afternoon everybody, I've added a banner in the left column of the default responsive theme. I'm just wondering why this image doesn't resize (on smaller or tablets screens) just like the other banners, on top and bottom position, do. I took a look at the html code and I found out that while top and bottom positioned banners have percentage dimension (100%), the ones on the left column have fixed dimension (in px), so I guess this could be the reason why left images aren't responsive. I tried to do something in the left column code in order to fix it but I can't get the file I have to work on. Can somebody please give me some help? Thanks.
  24. Could someone advise me how i can reduce the height of the slider and images frame on default template theme. The client would prefer a smaller slider, however I am unable to do this with the back end office features. website www.nutritionnet.co.uk/prestashop Where can i locate the CSS or HTML coding for this? THANKS
  25. Hi my client has requested that the slider size to be reduced. I would like to reduce the height, not the width. I have tried to reduce image size but this doesn't make any difference. Where could i locate the CSS or HTML files to change the file size. Thank you
×
×
  • Create New...