Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
how can i change the background colour of the product images?
#1
Posted 20 September 2009 - 05:15 PM
thanks
#3
Posted 20 September 2009 - 07:10 PM
#4
Posted 20 September 2009 - 08:06 PM
#5
Posted 20 September 2009 - 08:14 PM
From 1253470210:
I dont have a clue what you are talking about??
#6
Posted 20 September 2009 - 08:34 PM
Attached File(s)
Sin título-2.jpg (573bytes)
Number of downloads: 1043
#7
Posted 20 September 2009 - 09:00 PM
http://www.gifworks....m=transfer_open
(remember to turn pop-up blocker off) also copy and paste the link into your web browser the link seems to be broke when posted !
also:-
www.gimp.org is some amazing free image manipulation software
cheers.
#8
Posted 20 September 2009 - 09:03 PM
#9
Posted 20 September 2009 - 09:08 PM
#10
Posted 20 September 2009 - 09:26 PM
#11
Posted 21 September 2009 - 06:50 PM
#12
Posted 21 September 2009 - 06:54 PM
I really think prestashop needs to strip out the automatic resizing/image processing.
It absolutely sucks. It's really counter intuitive for designers. I'm struggling with the same problem. I have my thumbnails the exact size I want them, but prestashop scales them, then re-scales them on my product pages, and its absolutely mind blowing how horrible this is.
Here is a link to my development shop so you can see how I'm having image/color problems as well.
http://97.74.74.236/...p?id_category=8
#13
Posted 21 September 2009 - 07:02 PM
#14
Posted 21 September 2009 - 07:12 PM
I've tried to overwrite the files located in img/p by locating the generated thumbnail file, and manually uploading the correct image (this would be tedious and a real problem if it even worked). But it doesn't. It seems prestashop has 'locked' write access to these folders. I've tried to chmod them and recursively change permissions to no avail.
I think a much more 'flexible' system, would to allow users to upload as many images they want, without cropping and resizing. Why does anyone need this feature in the first place? Honestly, most people designing shops have photoshop already, and would like more control over their images anyway. I feel i should be able to upload a thumbnail, and a separate product image for the detail page. Oh, and the files should be uploaded *AS IS*. I don't trust your code to make my files look better.
The resize/crop should just be an added feature option for people who are probably using the standard theme or configuration anyway.
This just really sucks guys. I'm going to have to abandon all the work i've done on this site if this is not doable. I simply cannot sacrifice product images and branding because the software won't let us use our own images.
UPDATE:
You can change the thumbnail size by going to Preferences > Images and changing the 'home' values to the width and height of your pre-prepared images.
This does not however, solve the problem of having different images for the product detail page!
#15
Posted 21 September 2009 - 07:30 PM
#16
Posted 24 September 2009 - 07:24 PM
Find global.css in your template folder and look for the following code.
center_column div.products_block a.product_image {
display: block;
background-color: transparent;
width: 129px;
height: 129px;
margin-left:2px;
}
Change the background-color to any color you want.
Jack
#17
Posted 24 September 2009 - 07:58 PM
#18
Posted 25 September 2009 - 02:13 AM
#19
Posted 25 September 2009 - 04:09 PM
The problem with this, is that no matter what the files are converted to .jpg's. So even if i upload a png file with transparency, it will resize and automatically render a white background since JPG does not support transparency.
#20
Posted 04 December 2009 - 09:10 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











