google-code-export / jpicker

Automatically exported from code.google.com/p/jpicker
1 stars 0 forks source link

clientPath property in settings does not work #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Images do not appear for the plugin unless I use clientPath property in 
settings, and only if I fully qualify it ex. 
http://localhost/testapp/images... Relative path does not work.

Original issue reported on code.google.com by jazzbat...@gmail.com on 5 Nov 2009 at 4:32

GoogleCodeExporter commented 9 years ago
The clientPath property will locate the images in relation to the page being 
viewed,
and not in relation to the javascript file. This means if you have multiple 
pages in
different directories, each directory would need duplicates of the images. The 
best
solution is to give it a rooted path (e.g. /testapp/images...) instead of a 
relative
path.

You can remove the "http://localhost" portion and just root the path by using
"/testapp/images..." for your clientPath.

Original comment by christop...@gmail.com on 5 Nov 2009 at 11:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is correct behavior for web browsers.

Issue closed.

Original comment by christop...@gmail.com on 5 Nov 2009 at 11:22