vikingabroad
•
Advanced
•
53 posts Quote
•
Nov 22, 2009 23:02
•
1 likes
•
 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 |
dentech3
•
Advanced
•
11 posts Quote
•
Aug 20, 2010 12:14
•
0 likes
•
 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! |
ue30
•
Moderator
•
259 posts Quote
•
Aug 20, 2010 12:57
•
1 likes
•
 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 |
dentech3
•
Advanced
•
11 posts Quote
•
Aug 20, 2010 13:50
•
0 likes
•
 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! |
okweb
•
Advanced
•
760 posts Quote
•
Aug 20, 2010 13:50
•
0 likes
•

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.:) |