yaga Posted October 29, 2009 Share Posted October 29, 2009 tanya2 lagi..pas nyoba dilocalhost backgroundnya putih..begitu upload online jadi hitam..saya uda coba rubah di image.inc dapet sumber dari forum english..trust regenerate image..hasilnya sama..??di local pake 1.2.2..yg di upload 1.2.4..apa memang ada pembaharuan untuk background imagenya???terima kasih, Link to comment Share on other sites More sharing options...
yaga Posted November 10, 2009 Author Share Posted November 10, 2009 setelah mencari-cari akhirnya ketemu file image.inc dengan background image white..coba ganti terus gw generate malah muncul iniCannot write no-picture image to the category images folder. Please check the folder's writing permissions.Cannot write manufacturer images. Please check the folder's writing permissions.Cannot write no-picture image to the manufacturer images folder. Please check the folder's writing permissions.Cannot write supplier images into the supplier images folder. Please check the folder's writing permissions.Cannot write no-picture image into the suppliers images folder.Please check its writing permissions.Cannot write scene images into the scene images folder. Please check the folder's writing permissions.Cannot write no-picture image into the scenes images folder.Please check its writing permissions.Cannot write no-picture image to the product images folder. Please check the folder's writing permissions.Cannot write product image. Please check the folder's writing permissions.An error occured while thumbnails' regeneration.letak image folder cari2 nggak ktemu..terus perintah chmodnya gimana??aku cek phpnya versi 5terima kasih sebelumnya.. Link to comment Share on other sites More sharing options...
yaga Posted November 11, 2009 Author Share Posted November 11, 2009 mohon pencerahan..terimakasih sebelumnya :question: Link to comment Share on other sites More sharing options...
yaga Posted November 12, 2009 Author Share Posted November 12, 2009 image.inc line 30-45 /* Allow to keep nice look even if resized */ $white = imagecolorallocate($newImage, 255, 255, 255); imagefill($newImage, 0, 0, $white); imagecopyresampled($newImage, $imageGd, 0, 0, 0, 0, $ratioX, $size, $x, $y); imagecolortransparent($newImage, $white); /* Quality alteration and image creation */ if ($imageType == 'gif') imagegif($newImage, _PS_TMP_IMG_DIR_.$cacheImage); else imagejpeg($newImage, _PS_TMP_IMG_DIR_.$cacheImage, 86); } } return ''; } return ''; apakah ini sudah benar kalo kita generate image jadi background image white???terima kasih sebelumnya.. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted November 13, 2009 Share Posted November 13, 2009 hello mas yaga, kalau di prestashop yang ada di saya, kode dari file images.inc.php sama seperti itu dan menghasilkan background gambar putih. iseng mau buat background hitam, ternyata tidak hanya satu tempat yang dirubah. untuk memastikan kodenya untuk warna putih, cari kode berikut $white = imagecolorallocate($newImage, dan pastikan nilainya $white = imagecolorallocate($newImage, 255, 255, 255); sebab kalau saya mau pakai warna hitam, kodenya seperti berikut $white = imagecolorallocate($newImage, 0, 0, 0); kode kode di atas muncul beberapa kali, belum sempat memastikan yang mana, jadinya ganti aja semua kemunculan kode diatas.semoga berhasil. Link to comment Share on other sites More sharing options...
yaga Posted November 13, 2009 Author Share Posted November 13, 2009 makasih banyak mas ardi saya coba dulu.. Link to comment Share on other sites More sharing options...
yaga Posted November 24, 2009 Author Share Posted November 24, 2009 uda..clear..jadi putih skarang backgroundnya...thanks,,..makasih atas pencerahannya. Link to comment Share on other sites More sharing options...
muktadir Posted January 3, 2010 Share Posted January 3, 2010 You need to fix things in many places. For paid support contact me at [email protected] . Please contact in english Link to comment Share on other sites More sharing options...
abunajma Posted March 24, 2010 Share Posted March 24, 2010 mohon maaf apa bisa di jelaskan bagaimana masuk ke settingannya..?? background image produk saya koq hitam ya..saya mau ganti menjadi putih karena kalo hitam kurang enak dilihat, ini link nya http://galeriassunnah.com mohon maaf buat yang sudah pakar..penjelasannya sekali lagi Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 24, 2010 Share Posted March 24, 2010 ana lihat kok tidak hitam, itu edit file images.inc.php yang sefolder dengan index.php Link to comment Share on other sites More sharing options...
abunajma Posted March 30, 2010 Share Posted March 30, 2010 ana lihat kok tidak hitam, itu edit file images.inc.php yang sefolder dengan index.php masa si mas? coba deh kalo di view produk..jadi belakangnya tu hitam. coba mas bandingkan dengan yang di islami.web.id itu ana lihat kalau di view produk backround produknya putih. yang diganti apanya mas? afwan ana baru ni mas. jazakallahu khairan sudah membantu. Link to comment Share on other sites More sharing options...
onmysoul Posted May 9, 2010 Share Posted May 9, 2010 saya juga mengalami masalah yg sama, $white = imagecolorallocate($newImage, 255, 255, 255); sudah saya set seperti ini juga tidak berubah warna hitamnya.Tolong pencerahan-nya bro.. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted May 10, 2010 Share Posted May 10, 2010 ehm, aneh juga sih sebenarnya kok bisa begini. padahal kan itu sudah di release untuk download. coba download dari presta yg terbaru dan gunakan file images.inc.php atau edit langsung file images.inc.php cari angka 255 diganti ke 0 atau angka 0 diganti ke 255 (pilih salah satu cara) kemudian regenerate thumbnails. clear cache browser - refresh. Link to comment Share on other sites More sharing options...
exerberry Posted September 30, 2010 Share Posted September 30, 2010 uda..clear..jadi putih skarang backgroundnya...thanks,,..makasih atas pencerahannya. mas bgm cara merubahnya saya tetap hitam? padahal saya ubah jadi/* Allow to keep nice look even if resized */ $white = imagecolorallocate($newImage, 255, 255, 255); imagefill($newImage, 0, 0, $white); imagecopyresampled($newImage, $imageGd, 0, 0, 0, 0, $ratioX, $size, $x, $y); imagecolortransparent($newImage, $white);....tapi hasilnya tetap hitam. mohon sharingnya massy coba yg di threed sebelah http://www.prestashop.com/forums/viewthread/15988/#71989tapi pas dicoba ada error file permissionnya mau cari folder yang dituju nggak ketemu-ketemu Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted October 2, 2010 Share Posted October 2, 2010 sudah upgrade ke presta 1.3.2 belum ya ? soalnya itu masih presta lama dan kadang2 muncul saja. belum tahu penyebab pastinya 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