maofree Posted April 24, 2010 Share Posted April 24, 2010 Hi, I have a question: the background of the miniatures, the various images that large, small etc.. (done in automatic by prestashop) have as the background color white is another color can change it and how?I do it with this way: creating a square background, color the background and then paste the picture, but then all the photos including the one my size would square with a colored background and the magnification of the image (Thickbox) I could not do the trick (exchange Thickbox with that which I have done my upload).Summary:What I would load the image in the process of adding product with a size varying from product to product, at this stage, once learned how to change the background color to the thumbnail example. white to pink, will create thumbnails of a square, as usual, with pink background and then viewed in the FO section product when I press on the picture, it obviously opens up the original picture without any background color and size as those of photos.Everything lies in that GetImageLink that eg. inserting a null value (in product.tpl), I return the URL of my image that I uploaded, making the replacement of the photos (between original to thickbox), Thickbox works perfectly with original photos, but to have it done automatically to any picture you need to edit Link.phpValues that can take the variable $type as well as small, large etc..?Can someone help me change the fuction GetImageLink in classes/Link.php and edit product.tpl around 117 row?Thanks Link to comment Share on other sites More sharing options...
maofree Posted April 25, 2010 Author Share Posted April 25, 2010 Hi I have found a solution to change color of the miniatures background : in image.inc.phpthere is a variable $white which assigns colors in decimal code, those changes and regenerate the images take the color you want.the other problem remainsIf you have some time can you look at my topics?http://www.prestashop.com/forums/viewthread/52722/integration/remplacer_le_link_a_thickbox_avec_la_photo_qui_ete_transferee_editer_getimagelink/or http://www.prestashop.com/forums/viewthread/19488/P15/programmazione_moduli_design_e_temi/problemi_con_le_immaginiBye Link to comment Share on other sites More sharing options...
maofree Posted April 26, 2010 Author Share Posted April 26, 2010 I have found a solution look here :-) http://www.prestashop.com/forums/viewthread/19488/P15/programmazione_moduli_design_e_temi/problemi_con_le_immaginiCiaooooo 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