QuoteNov 22, 2009 23:021 likesLike
 

Is there any way of decreasing the thumnail size for the images of modules, e.g. events and ads. They are just too big when they are listed on the homepage. Id even prefer that they didnt have an image at all, rather than have a huge thumnail that takes up most of the space.

Any help would be greatly appreciated.

Alex

QuoteAug 20, 2010 12:140 likesLike
 

I too would like to figure out how to make the ads a bit more managable on my homepage.. would like to be able to list a few, instead of just one or two...

You can't make chicken salad out of chicken shit.. although it does work the other way around!
QuoteAug 20, 2010 12:571 likesLike
 

hi,

each modules folder has a seperate template folder

f.e.

modules/boonex/events/templates/base/css/unit.css

there you could make images smaller.

also there must be made a change in the templates/base/css/common.css file or of your used template

 

otherwise you could find layout mods with small images on all browse blocks for events and ads in the market:

http://www.boonex.com/unity/extensions/posts/ue30

ue30 Mods - http://www.boonex.com/unity/extensions/posts/ue30
QuoteAug 20, 2010 13:500 likesLike
 

Thanks so much for your reply! Am getting to work on that right now!

You can't make chicken salad out of chicken shit.. although it does work the other way around!
QuoteAug 20, 2010 13:500 likesLike
 

 

Is there any way of decreasing the thumnail size for the images of modules, e.g. events and ads. They are just too big when they are listed on the homepage. Id even prefer that they didnt have an image at all, rather than have a huge thumnail that takes up most of the space.

 

Any help would be greatly appreciated.

 

Alex

ADS module
Edit file modules/boonex/ads/templates/tmpl_uni/css/ads.css

add this code to it (.ads_Unit and .ads_Pic is 100px smaller than default)

.ads_Unit {
height: 185px;
}

.ads_Pic {
width: 48px;
height: 48px;
}

--------------

All code on the file ads.css will be

@import url(../../base/css/ads.css);

.ads_Unit {
height: 185px;
}

.ads_Pic {
width: 48px;
height: 48px;
}

======


Edit file modules/boonex/ads/classes/BxAdsModule.php

Find this code att the top of the file,

class BxAdsModule extends BxDolModule {

//max sizes of pictures for resizing during upload
var $iIconSize = 32;
var $iThumbSize = 140;
var $iBigThumbSize = 340;
var $iImgSize = 600;


Edit var $iThumbSize = 140;

To: var $iThumbSize = 40;

======

this will change the ads thumb image everywhere, I belive.:)