Last post Nov 29, 2008 01:10 PM by LondonBaba
Jul 31, 2007 06:27 AM|r1kob|LINK
i have been trying to get the featured add photo larger in the featured add box, i have changed the css code to allow the box to have have less padding but more useable space,
i have tried changing the size in the FeaturedAd.ascx to small meduim and large big etc, but cannot get it bigger,
i have changed the photo size settings in \App_Code\BLL\DefaultValues.vb but cannot get it bigger
i would like to get the photo size from width 137 px to 160px,
any help would be good
Nov 25, 2008 09:14 PM|LondonBaba|LINK
If you find a way please let me know.
Nov 25, 2008 09:57 PM|darkknight187|LINK
I think it's set in App_Code/????/ Defaults
I don't remember if it's bll or web
Just change the default size.
Keep in mind this will not fix any current ads.
To test it post a new ad.
Nov 28, 2008 11:22 AM|Ricardo_Rodrigues|LINK
Try changing in DefaultValues.cs (if your code is C#) in app_code/BLL/ the following values for the medium and small images
public const int FixedMediumImageHeight = 102;
public const int FixedMediumImageWidth = 136;
public const int FixedSmallImageHeight = 42;
public const int FixedSmallImageWidth = 56;
That values are used when you upload a new picture, and the picture is resized before it get stored on the DB or the Upload directory (depending on admin settings)
PS- keep in mind all the other places showing the picture will also get an bigger image. like when showing and ad for example, if you put a bigger size on medium images.
Nov 29, 2008 01:10 PM|LondonBaba|LINK
Yes thanks for this information this does work the only Image I was interested in was the
MaxFullImageSize I have set this and it works Fine.
However when I upload the web site to the server I am getting NO IMAGE.
I am also not getting a broken Image or place holder?
Please let me know if you have come accross it.