Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Is there a way you can force the Small Image size, but NOT force the Medium Image size?
Thanks |
|
|
|
|
Rank: Member
Joined: 11/6/2003(UTC) Posts: 1,903
|
Joe,
There isn't a one or the other option.
AAGR - it's always best to size your images the way you want outside of BV. Forcing sizes causes distortion and you are always loading the full image anyway. |
Noah |
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
I'm in the process of doing that, but I'm under a time crunch and want all the medium images to remain what they currently are, but force the small images to one size so that the catalog pages all line up. I will eventually change them all, but just looking for something to work for me in the interim. |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Birdsafe, There is a function ForceImageSize in the ProductUtils file. Edit that file to implement the behaviour that you want. Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Ahh.. perhaps I can comment out the line for the Medium image. Thanks! :-) -- Joe |
|
|
|
|
Rank: Member
Joined: 5/3/2004(UTC) Posts: 101
|
That's what I did in file App_Code/ViewUtilities.vb. I believe that is the correct place to change it. The code now looks like:
Public Shared Sub ForceImageSize(ByVal image As Control, ByVal imageFile As String, ByVal size As Sizes, ByVal currentPage As Page)
' Force Image Size Code If size = Sizes.Medium Then Return End If
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.