Jump to content

pulling images into DW from database


Recommended Posts

Im not sure what im doing wrong or if it can even be done, but im trying to insert an image in to dreamweaver from my databse which has been done using phpmyadmin. Im not sure if dreamweaver supports this, if it doesnt is there another way? Thanks

Link to comment
Share on other sites

Are you trying to insert an image name or the actual image data.

 

If uploading and entering you could use

 

$_FILES['fieldname']['name']

 

Inserting actual image data is a little more tricky, but if you post some code people can help out.

 

 

 

 

Try this url for more info:

[a href=\"http://uk.php.net/features.file-upload\" target=\"_blank\"]http://uk.php.net/features.file-upload[/a]

Link to comment
Share on other sites

im trying to import an image as blob data, but i think dreamweaver doesnt support this. i have tried using a file path and it works fine, this is probably the best way to do it anyway i think since the database file size is not compromised and is much smaller.

 

Link to comment
Share on other sites

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.