Hispanico Posted October 16, 2010 Share Posted October 16, 2010 Hi, my images on new items are not displaying on IE but with FF it is ok. I kept on thinking and configuring my css codes to make it show until I try to check the demo page of prestashop.Can someone help me figure this thing out? Thanks!I included this 'homeSize' => Image :: getSize ( 'home' ), in newproducts.php and prices-drop.php but does not work!!!! HELPPPPPPPPPPPP PLEASE!!!!!!! Link to comment Share on other sites More sharing options...
brandonc503 Posted October 16, 2010 Share Posted October 16, 2010 if you can link your site i could take a look Link to comment Share on other sites More sharing options...
Hispanico Posted October 16, 2010 Author Share Posted October 16, 2010 Link is http://www.prestashop.netsons.org/HELPPPPPP!!!!! I'm going crazy! Link to comment Share on other sites More sharing options...
brandonc503 Posted October 16, 2010 Share Posted October 16, 2010 um i see in the source you have width="" height="" for the image on the product page Link to comment Share on other sites More sharing options...
Hispanico Posted October 16, 2010 Author Share Posted October 16, 2010 What should I do? I put in the administration of immaigni prestashop. Link to comment Share on other sites More sharing options...
brandonc503 Posted October 16, 2010 Share Posted October 16, 2010 go to the /themes/(theme name)/product.tpl file and change the width there. in back office it that just makes the file of the picture certain widths and heights, in the template (tpl) file is what is displayed. if you take out the height="" width="" it might show up to the size of the picture in file.. but puting ="" ie will see this as ="0"i would remove the height="" width="" and use the css style sheet to make its size values Link to comment Share on other sites More sharing options...
Hispanico Posted October 16, 2010 Author Share Posted October 16, 2010 I opened the file product.tpl and inserted "" on the height and width but the result does not change.I'm sorry but I'm not very experienced, well can you tell me how? Link to comment Share on other sites More sharing options...
brandonc503 Posted October 16, 2010 Share Posted October 16, 2010 make sure you are in the right theme directory. then look for the following code around line 101. there are two parts.. if have image and else.. {if $have_image} getImageLink($product->link_rewrite, $cover.id_image, 'large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic"/> {else} name|escape:'htmlall':'UTF-8'}" /> {/if} it should be in the first part of the if statment getImageLink($product->link_rewrite, $cover.id_image, 'large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic"/> again make sure you are in the right theme file too. i do that all the time. manipulate the default prestashop theme instead of mine and dont see why till i start getting irate.if you wana join our chat for live help let me know here.. ill give you directions to join.. its simple*edited after post.. the code may not be exaclty the same.. posting it took some of it out after the Link to comment Share on other sites More sharing options...
Hispanico Posted October 17, 2010 Author Share Posted October 17, 2010 I started using prestashop for 15 days and so I'm inexperienced. I made the changes you told me and I did not get any positive results.I'm sorry for English not good but I'm Italian.Do you have other suggestions? Link to comment Share on other sites More sharing options...
Hispanico Posted October 18, 2010 Author Share Posted October 18, 2010 other suggestions?? Link to comment Share on other sites More sharing options...
tuk66 Posted October 18, 2010 Share Posted October 18, 2010 Search for width="" height="" in product.tpl of your current theme. This is the source code from the product detail page http://www.prestashop.netsons.org/giubbotti/31-guardone.html: and width="" height="" is your problem. Link to comment Share on other sites More sharing options...
Steppo Posted October 18, 2010 Share Posted October 18, 2010 Hi,The problem is in the css - i had the same problem in a theme with the same css as in 1.2.5 but in the new version´s css it is added width and height in px, for me it where in the cart summation - hold on ill get the line in the css soon.can you specify what images it is about - a link perhaps?//Stefan Link to comment Share on other sites More sharing options...
Hispanico Posted October 18, 2010 Author Share Posted October 18, 2010 Thanks, I corrected the template and was able to solve! Link to comment Share on other sites More sharing options...
Steppo Posted October 18, 2010 Share Posted October 18, 2010 Hi,This can be the issue:Find #primary_block #image-block in global css in you templates css folder. (line 1695 in a fresh install of V1.3.2. In my edited 1.2.5 css it is line 3012).Do you have a pixelsize 300px x 300px there? If not put it in and it should be ok. //Stefan Link to comment Share on other sites More sharing options...
Steppo Posted October 18, 2010 Share Posted October 18, 2010 Great! There where now issue in you css btw - put the thread solved and good luck:)Stefan Link to comment Share on other sites More sharing options...
Steppo Posted October 18, 2010 Share Posted October 18, 2010 Just a tip:Check if you can see the little thumb in you cart summation in IE. If you cant (witch you css looks like) you will need to add to with and heigt (depending what imagesize you have there) to css:td.cart_product a img { border: 1px solid #d0d1d5; height:45px; width:45px; }Cheers 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