I’ve tried everything! Desperate!
Posted: 16 September 2010 10:03 AM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2010-09-16

Hi! Im working on a site on my domain at the moment acting as testsite but i seem to be stuck. The url is: http://www.jonsvensk.se and if you click on for example works, you end up on a thumbnailpage. what can i do to make my images fill up the space and getting rid of the white borders? I’ve tried so many different things in wordpress, changing php and css but they still end up like that. If you look at the source-code it scales down all images to 190px × 142px. I can’t find this setting or how to change it! Would appreciate the help so much cause its the final thing before i can start adding all the content.

Thanks in advance!
//Jon

Profile
 
 
Posted: 16 September 2010 01:15 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  14
Joined  2010-09-16

Hmm, I had to read your post five times before i could understand something :P.
Ok, I am not familiar with that theme, but if you want to remove the white background you should edit your css (you can do this in your wp admin dashboard)

.video-box {background-colornone;

this will remove the white background for the images(btw it doesnt look to good without the background).
And I think you are using a video theme, then you should search some settings for the thumbnail and set it to 142x250.


___________________________

jocuri masini | my blog

Profile
 
 
Posted: 16 September 2010 01:20 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2010-09-16

Sorry, im not english :)

The background colour doesn’t really matter since its the downscaling of the thumbnails that creates this issue as you say.. Yeap its a video-theme but i cant find the setting :( Looked everywhere and tried everything but it still happens.

Profile
 
 
Posted: 16 September 2010 01:41 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  14
Joined  2010-09-16

I found the theme and looked at some code and I can see that it has the image size option in the Theme configuration panel(Appearance in wp I think). I suggest you to search thoroughly in that menu ( should have something called Image Dimensions), if you still can’t find it you can edit it straight from the code.
Get into your ftp navigate to /path/to/theme/includes/ open theme-options.php search Image Dimensions or go to line 177 (usualy with Ctrl+G it depends on your editor) and edit the value 190 in 250!.

___________________________
jocuri masini | my blog

Profile
 
 
Posted: 16 September 2010 02:06 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  3
Joined  2010-09-16

I changed the values as you said but still nothing im afraid..
I edited the file you suggested in wordpress, is that the right way to do it?

Profile
 
 
Posted: 16 September 2010 03:17 PM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  14
Joined  2010-09-16

I did some testing and it looks like my wp is too new for this theme.
For custom thumbnail size you should use custom fields if you can.
If not you have to hack your theme and hardcode the size.

if you want to hardcode it go to admin-functions.php line 59 and instead of

$set_width ' width="' $width .'" ';
 
$set_height ' height="' $height .'" '
$set_width ' width="NUMBERS_HERE" ';
    
$set_height ' height="NUMBERS_HERE" '

just copy paste the example I gave you and replace the NUMBERS_HERE with your desired width and height! Good Luck
___________________________
jocuri masini | my blog

Profile