Home
TeamSite
setting default folder for images
TeamSite_Smasher
when i insert a new image, or create a new hyperlink in the visual editor, the path of the file goes to the /web/ folder... which is considered root i guess...
is there a way to change that to default to the /images/ folder for inserting images?
my users always forget to remove the /web/ from the path, and get furious when an image is not displayed...
same with the hyperlink...
is that something i have to tell them to live with?
Find more posts tagged with
Comments
michaelangel0
There are a few unknowns here, such as what version of TS you are using, how you are creating pages and these things may have a bearing on the solution you can put in place.
Assuming you are using DCRs and TPLs to generate pages which are deployed to a webserver your best bet may be to add functionality to your presentation templates that parse the content for image and link urls, stripping off any '/web' element at the start.
Depending on your implementation, you may also need to supplement this with proxy mappings to ensure that the generated pages are correctly virtualised in the workarea by mapping /images to /web/images etc. Refer to the admin guide for more information on how to do this
question marks.jpg
TeamSite_Smasher
my apologies... ts 6.7.2 W2k3 Server.
yes, i create a new "form entry" using DCS and Template files.
im guessing this is going to take some serious programming mods.
muksm
If its related to browse field within datacapture form than there is an additional attribute for an item named as "initial-dir" and "ceiling-dir". We can set the base path like "/images" as "initial-dir" and ending path in "ceiling-dir"
TeamSite_Smasher
Sorry, i didnt clarify...
im referring to the "insert picture" button in the tool bar of the visual editor.
that i can not seem to change the default directory...
is that becuase it defaults to the work area vpath?