Ok, so every image i list there's the image and around the image is white i don't want that i want the whole image too just display the image without any spacings.
Attachments
Look at the spaces - Untitled.png (156.18 KiB) Viewed 5054 times
Name your version!
first thing your images i have found should be consistent in dimensions, so if you choose landscape for your images stick with landscape.
to actually get rid of the white space, go into admin-->system-->settings-->Image--You can then see a list of all the image dimensions for each particular part of the layout, category list size, product image size.
It looks like your landscape pics have to mich height set in the system settings, make this smaller by pixels, and you can get it just right normally.
Hope this helps
first thing your images i have found should be consistent in dimensions, so if you choose landscape for your images stick with landscape.
to actually get rid of the white space, go into admin-->system-->settings-->Image--You can then see a list of all the image dimensions for each particular part of the layout, category list size, product image size.
It looks like your landscape pics have to mich height set in the system settings, make this smaller by pixels, and you can get it just right normally.
Hope this helps
Regards
Chris
It looks like the Flash pop-out that is the image viewer in OpenCart will give the predefined aria 'stated by webpie it.' for the image to fit in.
In other words if your image is 600 x 500 and the image pop-out is set for 600 x 600 it will fill in the missing 100 pix along the 500 pix atribute with white to make it 600.
But there also seems to be a boarder of about 10 pix, so even if the settings match the image you will still get a white boarder around every image, so what you need is to find out how to remove the boarder from the image pop-out.
And no, i don't know how to do that, sorry
In other words if your image is 600 x 500 and the image pop-out is set for 600 x 600 it will fill in the missing 100 pix along the 500 pix atribute with white to make it 600.
But there also seems to be a boarder of about 10 pix, so even if the settings match the image you will still get a white boarder around every image, so what you need is to find out how to remove the boarder from the image pop-out.
And no, i don't know how to do that, sorry

Last edited by noidea on Fri Aug 12, 2011 8:01 pm, edited 1 time in total.
Then i did some digging with Google
and found this http://forum.opencart.com/viewtopic.php?t=603
I hope that helps.
PS, backup your directory and SQL database before messing with the CMS Engine

I hope that helps.

PS, backup your directory and SQL database before messing with the CMS Engine
Hi there,
I had the same issue,
How i resolved it is that i used Paint.net to crop the image - removing the white edges.
Try that - dont forget to resize image to match your opencart image settings
Admin Control Panel > Settings > images
I had the same issue,
How i resolved it is that i used Paint.net to crop the image - removing the white edges.
Try that - dont forget to resize image to match your opencart image settings
Admin Control Panel > Settings > images
I had the same issue.
Even though my images were set to an appropriate ratio, there was still a one pixel white border on the bottom when being resized.
The only way I could solve it was setting the images as backgrounds of elements and then setting that element to the appropriate size.
Even though my images were set to an appropriate ratio, there was still a one pixel white border on the bottom when being resized.
The only way I could solve it was setting the images as backgrounds of elements and then setting that element to the appropriate size.
Code: Select all
<?php foreach ($images as $image) { ?>
<a href="<?php echo $image['popup'] ?>" title="<?php echo $heading_title; ?>" style="background: url(<?php echo $image['thumb']; ?>);"></a>
<?php } ?>
check out the defaults in system/library/image.php
Hope this helps someone, took me an age to find this.
Stu
Hope this helps someone, took me an age to find this.
Stu
Attachments
Change this.. - Screen shot 2013-08-25 at 17.42.34.png (36.43 KiB) Viewed 4155 times
I have fix about remove the white space around the product images, on the product page. emove the white space around the product images displayed with colorbox popup. with vqmod you can see at
http://www.opencart.com/index.php?route ... %20remover
http://www.opencart.com/index.php?route ... %20remover
Who is online
Users browsing this forum: Amazon [Bot] and 19 guests