Help please with thumbnails

Hi,

I have spent the last three hours trying to increase the size of the thumbnails on the ads and I just cannot locate the template where this can be done. I am talking about the small thumbnail on each individual ad in its gallery. I have tried modules templates and also general and common and I cannot find anything. Firebug shows me nothing useful.

I need to increase the size of the thumbnails for each ad so that when a user clicks on facebook like it will show that advert on Facebook witha good size image, they are all too small or blurred at the moment.

If anyone can help or put me in the right direction i would really appreciate it.

Thanks

MeMe

Quote · 20 Sep 2012

Please anyone, someone!!!

MeMe

Quote · 23 Sep 2012

You can try this

1)

modules/boonex/ads/classes/BxAdsModule.php

class BxAdsModule extends BxDolModule {

    //max sizes of pictures for resizing during upload
    var $iIconSize = 32;

Edit this line to

var $iIconSize = 64;

2)

modules/boonex/ads/templates/tmpl_uni/css/ads.css

add this code to the file


.sys_icon {
    width: 64px;
    height: 64px;
}

.bx_sys_block_images_icons {
    margin: 6px 0px;
}

 

All code on this file will be:

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

.sys_icon {
    width: 64px;
    height: 64px;
}

.bx_sys_block_images_icons {
    margin: 6px 0px;
}

 

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

Uploaded images before the change will have size 32, so no effect on the tumb size here, but thumb block will be what we have changed it to, 64.

Images added after the change, thumb size will be ok.

Wink

Quote · 23 Sep 2012

@OK web, thank you so much for that. It has indeed worked but there must be one more change i need to make as the thumbnails are now overlapping. Please see attached.

Thank you

I will try and find which file I can edit to space them out.

changes.jpg · 66.7K · 181 views
Quote · 24 Sep 2012

the css code I added in the post  above shall take care of that, have you added this code!

All code on this file: modules/boonex/ads/templates/tmpl_uni/css/ads.css

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

.sys_icon {
    width: 64px;
    height: 64px;
}

.bx_sys_block_images_icons {
    margin: 6px 0px;
}

Quote · 24 Sep 2012

It has worked. I must of not cleared the cache properly or something. Thank you soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo much

 

MeMe

Quote · 26 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.