close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Name of image showing instead of Image

Thread began 11/18/2010 3:46 pm by willo009412397 | Last modified 1/19/2011 7:17 am by Jason Byrnes | 3683 views | 11 replies |

willo009412397

Name of image showing instead of Image

Hi
Im using CS5 and trying to use Universal Email to aid file upload. But the problem i have is when showing on the `results page` where the image should be, it shows its file name where i want the image showing. Many thanks in advance of help.

Regards Karl

Sign in to reply to this post

Jason ByrnesWebAssist

You need to add an image tag.

place your cursor where the image shlould display, then go to Insert -> Image.

Change the Select File Name From option to Data Sources.

From the bindings panel, select the image column from your recordset.


this will give you an image tag that looks like:

php:
<img  src="<?php echo $row_RecordsetName['ColumnName']; ?>" />



you will need to add the image upload folder in front of this, for example, if images are uploaded to the image folder:

php:
<img  src="image/<?php echo $row_RecordsetName['ColumnName']; ?>" />
Sign in to reply to this post

willo009412397

Thankyou Mr Byrnes its working great, can i upload `video` using this? if so is the tag i use the same?. Thankyou for all your help, you always reply very fast

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you can upload video using digital file pro, but the tag to display it will be different depending on the type of video you are uploading.


some video types may require special plug-ins to be installed in the browser in order to display.

Sign in to reply to this post

willo009412397

Only 1 image showing

Hi Jason
What you said above worked great, so a big thanks for that. However the problem i have now is theres only 1 image showing. When i do a search it finds the records, and displays the Details of them, but only the 1st Image is showing. The other records show just the details but no image. Please help.

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of your page in a zip archive so i can examine the code.

Sign in to reply to this post

willo009412397

Sorry Jason its ok, the problem was the images that did not show in search. Are images that were uploaded before i did what you said above. It works fine, thankyou for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear it is working.

Sign in to reply to this post

willo009412397

Hi im having this problem again, thought i would continue this thread hope thats ok?. The images are uploading to the database but not showing on page. Also when i upload the images on my insert page i get this error

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\Petseen\ShopAdmin\shop_Insert.php:20) in C:\xampp\htdocs\Petseen\webassist\file_manipulation\helperphp.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Petseen\ShopAdmin\shop_Insert.php:20) in C:\xampp\htdocs\Petseen\ShopAdmin\shop_Insert.php on line 54

I have tried delete cache but has not worked, i have added the files for this for you too look at. Thanks for any helpon this.

Karl

Attached Files
zip files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the headers already sent error means there is output to the page between php tags. The error is reporting the problem around line 20:

output started at C:\xampp\htdocs\Petseen\ShopAdmin\shop_Insert.php: 20


at line 18 - 20, you have:

php:
?>

<?php?>
<?php




change that to:

php:
?>

<?php



on the results page, you need to convert the code that displays the file name to an image tag:

php:
<td class="WADAResultsTableCell"><?php echo($row_WADAshop['productImageSource']); ?></td>




should be:

php:
<td class="WADAResultsTableCell"><img  src="../Shopimages/<?php echo($row_WADAshop['productImageSource']); ?>" /></td>
Sign in to reply to this post
loading

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