Jump to content


Photo

pulling images into DW from database


  • Please log in to reply
4 replies to this topic

#1 w4seem

w4seem
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 09 December 2005 - 08:06 PM

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

#2 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 10 December 2005 - 10:34 AM

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]

#3 w4seem

w4seem
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 10 December 2005 - 07:14 PM

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.


#4 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 11 December 2005 - 02:48 AM

Absolutely correct. Dreamweaver does not and I doubt wil ever fuly suport this. Im am currently denying a somewhat succesful night out so wil post further in the morning. hey thats London.

#5 degsy

degsy
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 05 January 2006 - 02:30 PM

If you want to upload images with DW then MX Kollection has some features
[a href=\"http://www.interaktonline.com/Products/Bundles/MXKollection/Features/Details/Form%20Validation%20in%20a%20browser\" target=\"_blank\"]http://www.interaktonline.com/Products/Bun...n%20a%20browser[/a]





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users