Rank: Member
Joined: 8/31/2010(UTC) Posts: 3
|
I am aware of the Image Browser Default Directory setting for small and medium images, but is there a way to set the default location for Additional Images? Thanks for any help.
Satty
|
|
|
|
Rank: Member
Joined: 8/31/2010(UTC) Posts: 3
|
Found this in www\BVAdmin\ImageBrowser.aspx around line 22 Code: ' Look for start DIR request If Request.Params("StartDir") IsNot Nothing Then 'Dim startDir As String = Path.Combine(Request.PhysicalApplicationPath, Request.Params("StartDir")) Dim startDir As String = WebAppSettings.ImageBrowserDefaultDirectory 'Custom change If Directory.Exists(startDir) Then SessionManager.ImageBrowserLastFolder = Request.Params("StartDir") Else SessionManager.ImageBrowserLastFolder = WebAppSettings.ImageBrowserDefaultDirectory End If Else SessionManager.ImageBrowserLastFolder = WebAppSettings.ImageBrowserDefaultDirectory End If
Added this "Dim startDir As String = WebAppSettings.ImageBrowserDefaultDirectory 'Custom change" Seems to solve my problem on our test site, going to see what else it broke. :)
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
If this is BV5.
Go to: Dashboard > Options (Green Tab Top) > Images (left nav)
You can change the directory there. |
|
|
|
|
Rank: Member
Joined: 8/31/2010(UTC) Posts: 3
|
It is BV5. What you referred to is the setting for standard small and medium images directory. What I am after is on the additional image location screen.
Catalog > pick a widget > Additional Images > New > Select and wanting to set that default location. I was able to fix via changing the code, just didn't know if it was set anywhere.
Thanks
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
|
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: "Matt@9BallDesign" boy is my face my red :) That's from all that drinking! :lol: |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
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.