close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

data source

Thread began 6/05/2014 9:18 pm by Webbie | Last modified 6/11/2015 2:35 pm by Ray Borduin | 806 views | 6 replies |

Webbie

data source

I am asking a question that date a few years back here and was never really answered as far as i could tell: http://www.webassist.com/forums/posts.php?id=32157

So i am doing the getting started tutorial that is very helpful so far by Jason on PHP and MYSQ, i am using Dreamweaver cc on a windows 8 OS and am stuck at the point where it says i need to use the data source button to insert a dynamic image from the database versus a static image.

I have installed and uninstalled the extention deprecated server behaviors, from the directory and the adobe exchange with no results for the data source button.

I noticed in a previous discussion with Daryl that he was using what looked like a windows OS operating system by PC and Jason who did the, so far very help full tutorial is using a mac.

Any idea how to get the data source button back on?

If there is not a solution could you let me know how to skip that step in the getting started with MYSQL and PHP tutorial, should i hand code it?

SInce i have no expieriance in PHP i would then ask what code to use to get the database images into the Item Image table?

The attachment shows where i am stuck,
Thanks Guys
Having alot fun with the tutorials and finally starting to learn!

Sign in to reply to this post

Jason ByrnesWebAssist

Hmm, strange. I see what you mean, the windows version of DW CC does not give the Data Sources button.

In this case, what I would do is add a static image, then switch to source view. select the the image src attribute and delete it so the src is an empty string:

<img src="" />

placed the cursor between the quotes, then open the bindings panel, select the itemThumb recordset column and click the Bind button, the image tag should now look like:
<img src="<?php echo $row_rsItems['ItemThumb']; ?>" />


now edit that to add the path:
<img src="images/thumbs/<?php echo $row_rsItems['ItemThumb']; ?>" />

Sign in to reply to this post

Webbie

Hay thanks,
Better yet if anyone needs a solution for this, i was able to download Dreamweaver CS6 and Dreamwaever CC from the creative cloud applications.

You can take turns using both programs for the same site just cant use them for a one site at one time.

Hope that helps find a solution to what seems an old problem

Sign in to reply to this post

Php

'm having same problem, that work around doesn't work, can anyone help?? im following the tutorial database starter kit im finding it difficult to add dynamic image from the database?

Kind regards

Sign in to reply to this post

Ray BorduinWebAssist

Where is it going wrong?

Does the image get uploaded as you expected?
Does the image get inserted into the database?
Are you only having difficulty displaying it?

Sign in to reply to this post

Php

Originally Said By: Ray Borduin
  Where is it going wrong?

Does the image get uploaded as you expected?
Does the image get inserted into the database?
Are you only having difficulty displaying it?  




i cant find the path" data sources ", adobe has removed this on windows. Im having trouble displaying it in my php page for image thumb it says gr3.jpg? If i go insert image then i cant add dynamic thumb??

Sign in to reply to this post

Ray BorduinWebAssist

Yes, it isn't exposed in the properties window or add image dialog. You should still be able to set the source to a dynamic value using the Bindings window.

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