symbolism Posted November 10, 2006 Share Posted November 10, 2006 Have a slight problem with images on one of my sites basically If the same image appears twice on the page, such as in the product info and in the reviews box the small_image_width statement seems to being ignored and the image is displayed full width the problem can be seen here http://www.glosticks.co.uk/150mm-15mm-glow-sticks-p-44.html have tried harcoding the image width in products reviews, but with nojoy any help would be appreciated thanks in advance Chris Link to comment Share on other sites More sharing options...
jdvb Posted November 10, 2006 Share Posted November 10, 2006 I had that problem too on a few of my websites... especially on a website that gets its images from elsewhere so the getimagesize() function does no longer work. if so you will need to modify the $src for this function to work. in includes/functions/html_output.php change: if ($image_size = @getimagesize($src)) { to: $source = "CORRECTION TO YOUR ABSOLUTE IMAGE PATH HERE" . $src; if ($image_size = @getimagesize($source)) { the reason I needed this modification is that I used a .htaccess file to redirect a http request to a different location for the images (I copied a webshop, so it apears identical yet with a different template, name and e-mail and so forth, yet with all the same products and images) Link to comment Share on other sites More sharing options...
jdvb Posted November 10, 2006 Share Posted November 10, 2006 but in your case I think you have not changed all image functions correctly.. since on the revieuws page you do have them correctly, so my solution is not your problem on your revieuws page you got as source... imagemagic.php?img=images/GS15150b.jpg&w=150&h=86&page= so that is a contribution I have not used Link to comment Share on other sites More sharing options...
symbolism Posted November 10, 2006 Author Share Posted November 10, 2006 hi, thanks for the reply, I still get the same problem with imagemagic switched off, so will have a look at your and report back chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.