Post by Jackcohen » Thu Aug 11, 2011 7:25 am

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

Untitled.png

Look at the spaces - Untitled.png (156.18 KiB) Viewed 3466 times


Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by Jackcohen » Thu Aug 11, 2011 11:25 am

Need this urgently!

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by Jackcohen » Thu Aug 11, 2011 9:57 pm

Really need this anyone know how i can fix this terrible problem?

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by Jackcohen » Fri Aug 12, 2011 1:49 am

Still need this anyone please help

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by webpie it. » Fri Aug 12, 2011 2:50 am

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

Regards

Chris


Active Member

Posts

Joined
Mon Jan 31, 2011 7:28 pm

Post by Jackcohen » Fri Aug 12, 2011 3:00 am

Ok so Product List Size is: 190x160 i resized my image too those dimensions and there are still spacings.

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by Jackcohen » Fri Aug 12, 2011 9:04 am

Still need this resolved

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by noidea » Fri Aug 12, 2011 10:14 am

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 :(
Last edited by noidea on Fri Aug 12, 2011 8:01 pm, edited 1 time in total.

Newbie

Posts

Joined
Tue Jul 26, 2011 10:24 am
Location - UK

Post by Jackcohen » Fri Aug 12, 2011 10:47 am

Well sorry but that didn't help me :/

Active Member

Posts

Joined
Sun Aug 07, 2011 1:08 pm

Post by noidea » Fri Aug 12, 2011 7:49 pm

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

Newbie

Posts

Joined
Tue Jul 26, 2011 10:24 am
Location - UK

Post by cozzienz » Sat Aug 13, 2011 4:08 am

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

User avatar
Active Member

Posts

Joined
Sun May 15, 2011 11:13 am

Post by superkershaw » Mon Apr 02, 2012 7:36 pm

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.

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 } ?>

Newbie

Posts

Joined
Mon Mar 26, 2012 9:53 pm

Post by wired-circuit » Mon Aug 26, 2013 12:44 am

check out the defaults in system/library/image.php

Hope this helps someone, took me an age to find this.

Stu

Attachments

Screen shot 2013-08-25 at 17.42.34.png

Change this.. - Screen shot 2013-08-25 at 17.42.34.png (36.43 KiB) Viewed 2567 times


New member

Posts

Joined
Thu Mar 24, 2011 2:48 pm

Post by bunny Chinh » Thu Jun 12, 2014 11:05 am

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

Newbie

Posts

Joined
Thu Jun 12, 2014 10:54 am
Who is online

Users browsing this forum: No registered users and 72 guests