Kay van Aarssen Posted April 7, 2011 Share Posted April 7, 2011 Ik ben pas bezig met Presta Shop.Over het algemeen lukt het me aardig maar ik loop tegen een probleem aan.Afbeeldingen die ik upload bijvoorbeeld bij een product (die ik upload in PNG) transparant dus.Zijn na het uploaden en laten zien niet meer transparant en blijken veranderd te zijn naar JPG.Hoe kan ik dit tegen gaan bij zowel de banner op de site edit boxes, categorieën etc?Jullie reacties zijn van harte welkom. Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 9, 2011 Author Share Posted April 9, 2011 Iemand? die hier een antwoord op heeft? Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 bij de header heb ik het handmatig gezet op .png dat is wel mogelijk Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 En hoe bedoel je dit zodat hij automatisch PNG's pakt?Of heb je de extensie van PNG naar JPG veranderd.En waar heb je dat aangepast dan? Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 bij \themes\prestashop\header.tpl op regel 78daar zie je jpg staan even veranderen naar .png dan zet je je logo in \img\logo.png Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 Oke, en als ik dan dus een logo in PNG upload bij images dan pakt hij hier ook de PNG want hier gaat het me eigenlijk om. Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 product image niet alsje dat bedoelt. dit gaat alleen om de header logo Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 Ja voor het header logo wat links bovenin staat idd. Zodat de klant zijn logo erin kan zetten als dit gewijzigd moet worden. Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 dat zal je dan bij de admin upload ergens moeten aanpassen. zal er wel even vanavond naar kijken Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 Dat zou echt super zijn.Dan hoor ik graag van je. Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 Gaat niet lukken. No, you can’t. All image URLs are hardcoded as .jpg so that URL rewriting can work. Although you can upload a GIF or PNG, it will be converted to a JPG when PrestaShop creates the thumbnails. That’s right. If you upload a PNG file through the Back Office, there is no way to stop it being converted to a JPG file. PrestaShop does this to keep the file sizes small and so all images have a predictable file extension that can be used in friendly URLs.In some cases, like with the shop’s logo, it is possible to upload a PNG file using FTP so that it doesn’t get converted, then edit header.tpl to change the file extension. Doing the same for product images would be much more difficult. Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 Dat is minder, want nu krijg ik dus dit resultaat.http://imm.io/4Y7lEn inderdaad bij de afbeeldingen in het wel minder maar hoe zit het dan als ik een andere stijl toepas?Dan moet dit neem ik aan toch ook veranderd worden met de kleuren... Link to comment Share on other sites More sharing options...
2245 Posted April 13, 2011 Share Posted April 13, 2011 dan zou ik gewoon het middelste stuk helemaal wit maken Link to comment Share on other sites More sharing options...
Kay van Aarssen Posted April 13, 2011 Author Share Posted April 13, 2011 Dus je bedoeld waar de afbeeldingen staan?En hoe doe ik dit los van de verdere achter grond..(ben beginnend met php scripts enz ) :$ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now