PrestaShop Forums: how can i change the background colour of the product images? - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

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.

NYC

Vous parlez français ? par ici !


how can i change the background colour of the product images?


how can i change the background colour of the product images?

#1 MaRkiTuS_11

    PrestaShop Newbie

  • 20 Sep 2009
  • Members
  • Pip
  • 11 posts

Posted 20 September 2009 - 05:15 PM

how can i change the background colour of the product images?

thanks

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 06:20 PM

http://www.digicamhe...ing/background/

#3

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 07:10 PM

you don't understand me. I want to change the colour of the white background of the mirror of the product images.

#4

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 08:06 PM

Looking for that too!

#5

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 08:14 PM

From 1253470210:

you don't understand me. I want to change the colour of the white background of the mirror of the product images.


I dont have a clue what you are talking about??

#6

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 08:34 PM

This image will explain you what I want

Attached File(s)



#7

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 09:00 PM

there is an online service here to make background transparant:-

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

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 09:03 PM

I know how create ha transparent background but i don't know how put it in the product picture

#9

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 09:08 PM

you going to have to be clearer in what you need!

#10

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 20 September 2009 - 09:26 PM

Here another explanation with an image

http://img24.imagesh.../i/sta41505.png

#11

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 21 September 2009 - 06:50 PM

I think we both want the same and that is that if the picture is smaller than picture mirror, be able to chose what color to show instead of white.

#12

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 21 September 2009 - 06:54 PM

I understand exactly what you guys are saying.

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

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 21 September 2009 - 07:02 PM

We will see if anyone can help us

#14

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 21 September 2009 - 07:12 PM

Let's hope so.

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

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 21 September 2009 - 07:30 PM

Thanks, but i prefer to change the colour of the background

#16

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 24 September 2009 - 07:24 PM

Maybe this will work. I did not try it.
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

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 24 September 2009 - 07:58 PM

Thanks, I will try it

#18

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 25 September 2009 - 02:13 AM

Topic was moved.

#19

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 25 September 2009 - 04:09 PM

jnktaylor,

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

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 04 December 2009 - 09:10 AM

I was try change the code like jnktaylor said, but nothing happen lol





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users