close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding 'browse server' option for image attachments

Thread began 1/06/2013 6:15 am by CraigR | Last modified 1/08/2013 1:33 pm by Jason Byrnes | 576 views | 8 replies |

CraigRBeta Tester

Adding 'browse server' option for image attachments

i am creating an event planning site, and have added the option of associating an image with each event - using file manipulation->upload on my form.

This is working ok, but i see the scenario where I want to re-use some previously uploaded images.

How can I add a 'browse server' option to my form, (eg using a file manager similar to powercms or html editor) so that I have the option of uploading a new image if required, but using an existing one if it already exists ?

Do I need to hand code or is there a form tool to help ?

Sign in to reply to this post

Jason ByrnesWebAssist

Use the file manager that is available with Data Bridge.

WebAssist -> Forms -> Insert File Manager

Sign in to reply to this post

CraigRBeta Tester

oh, I don't have that option

CS6, Databridge 1.0.6

Sign in to reply to this post

Jason ByrnesWebAssist

the current version of Data Bridge is 1.1.2, please install the most recent version.

Sign in to reply to this post

CraigRBeta Tester

ok, i updated to 1.1.2, and whilst I was at it, updated design extender to 1.1.1.

The option now appears in the menu, (has it been there long ?), but nothing happens when I select it.

I tried all other form options from the menu, and they all seem to work

Tried creating a new page, adding a form first, ...still nothing

Sign in to reply to this post

Jason ByrnesWebAssist

try using the insert bar instead.

go to windows -> Insert

in the insert bar, select the WebAssist category, then click the Insert file Manger button.

I'll log a bug that the access point under the web assist menu is not working.

Sign in to reply to this post

CraigRBeta Tester

ok, that gets me started

Not sure how to use it yet, but I'll have a go and see how I get on

Sign in to reply to this post

CraigRBeta Tester

I tried adding an instance of file manager to an existing insert page and after a bit of trial and error, got it working.

All of my images are stored in a folder called images, which I have set in my Power CMS server settings.

When i click on an uploaded image, i get the folder and image name added to the text field.

So far so good, and I some further questions for which I cant find answers in the help.

  • Can I restrict the view of the folder to display only images, (it may contain several file types such as pdf as well) ?
  • Is there a setting where i can return only the image name and not the full path, or do i have to strip the string with a bit of manual coding ?
  • Can i change the maximum size parameter from 1024 * 768
Sign in to reply to this post

Jason ByrnesWebAssist

No, the file manager cannot be modified to show only images.

No, the file manager will always return the full path

you can change the max file dimensions allowed by editing the the webassist/kfm/initialize.php file:

php:
$kfm->defaultSetting('max_image_upload_width', 1024);

$kfm->defaultSetting('max_image_upload_height', 768);
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...