• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

satty
#1 Posted : Thursday, August 11, 2011 10:47:26 AM(UTC)
satty

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
satty
#2 Posted : Thursday, August 11, 2011 12:31:37 PM(UTC)
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. :)
Matt@9BallDesign
#3 Posted : Thursday, August 11, 2011 1:24:36 PM(UTC)
Matt@9BallDesign

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.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
satty
#4 Posted : Thursday, August 11, 2011 2:24:28 PM(UTC)
satty

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
Matt@9BallDesign
#5 Posted : Thursday, August 11, 2011 3:01:38 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

boy is my face my red :)
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
Aaron
#6 Posted : Thursday, August 11, 2011 4:28:11 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: "Matt@9BallDesign" Go to Quoted Post
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012