close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Uploading files - update - DFPv2

Thread began 5/25/2009 8:25 am by john.molitor259030 | Last modified 6/09/2009 7:54 am by john.molitor259030 | 2303 views | 3 replies

john.molitor259030

Uploading files - update - DFPv2

Hello, I use digital file Pro 113 with Dreaweaver CS3 under winXP pro sp3 (now DigitalFilePro v2)

ItemID = 29
ItemCatID = 5
ItemAnnee = 2008
ItemAuteur = XY
ItemName = Nom
ItemDesc = Descript.
ItemThumb = small_image.jpg
ItemImage = big_image.jpg

With digital file Pro 113, it was necessary to a field for the thumbnail and a field for the large image (detail page).
Following the procedure "Uploading files: update - interactive tutorial", works very well.

I discovered the DigitalFilePro v2, I've been interested in (productshot - small wide) image resizing.
What has seduced me also was the ability to resize in two sizes, put them on the server in different folders and enter the name of the image in the database.

Unfortunately, I followed the procedure for the 113 version and in the cases where change year or the author, but sought to modify the image. The name of the image is removed from the database.

Clearly the philosophy is not the same between the 113 version and version 2

Here's what reproduced me inspiration from the DigitalFilePro 113 for DigitalFilePro v2 tutorial.
Can you help me?

In FORM UPDATE
<input type="hidden" name="ItemThumb" id="ItemThumb" value="<?php echo(str_replace('"', '&quot;', $row_WADAitems['ItemThumb'])); ?>" size="32" />
<input type="hidden" name="ItemImage" id="ItemImage" value="<?php echo(str_replace('"', '&quot;', $row_WADAitems['ItemImage'])); ?>" size="32" />


In RECORDSET UPDATE
ItemThumb = <?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_2"]["serverFileName"]; ?>
ItemImage = <?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_1"]["serverFileName"]; ?>


In WA upload file
default file (big) = <?php echo ((isset($_POST["ItemImage"]))?$_POST["ItemImage"]:""); ?>
default file (small) = <?php echo ((isset($_POST["ItemThumb"]))?$_POST["ItemThumb"]:""); ?>


Will we have a small formative video for DigitalFilePro v2?
Please Mark Fletcher ;)

Uploading files: Update (Part 1) (Interactive Tutorial)
Uploading files: Update (Part 2) (Interactive Tutorial)

Thanks
John

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