How to get rid of border?

Your Ad Here

DDBlock is a fantastic module. Very easy to set up. I am testing it using Acquia Marina and I have one small problem.

http://demo.taylorkim.com/

If you look at the URL above, you will see a white border around the images on the top and left side. How do I get rid of this? I have both the container and image size set to 450x300. I tried messing with those numbers but nothing seemed to get ride of the border.

Thanks.

Re: How to get rid of border?

You can have a look at the faq question I see a kind of border around the image. How can i get rid of it?

Hope this helps you further, please let me know.

I tried suggestion #1 and the

I tried suggestion #1 and the images are tiny. Suggestion #2 caused the images to not display.

I also set the content container as .ddblock-container img

Any idea? You can see how the images are very small now on the site.

Re2: How to get rid of border.

I see now that when imagecache is not used for the images, the images will always be 55x55px.

You need to delete the width and height setting for line 75 in the ddblock-cycle-block-content.tpl.php file.

<img src="<?php print base_path() . $imagefile; ?> alt="" width="55px" height="55px" />

needs to be:

<img src="<?php print base_path() . $imagefile; ?> alt=""  />

Will also adjust the faq page.

Hope this helps you further, please let me know.

That fixed it. Thank you.

That fixed it. Thank you.