Refreshing Image files in Dreamweaver

I have changed a few image files that show up in all of my
many individual web page files. I saved the new files in the same
place and with the same name as the old files, but the old files
still show up in my Dreamweaver files. The main difference between
the new files and the old ones are that the new ones are bigger in
dimension. The refresh button in my toolbar remains unusuable. It's
gonna take forever to re-place all the images in each web file. Can
someone please help?
-Crystal
Here is an example of old file verses new file:
(NEW)
<img src="../../images/Easter/page_59.jpg" width="34"
height="32" />
(OLD)
<img src="../../images/Easter/page_59.jpg" width="27"
height="35" />

Did you recreate the site cache? (Site/Advanced/Recreate Site
Cache)
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Jackeltree" <[email protected]> wrote in
message
news:e407dt$7af$[email protected]..
>I have changed a few image files that show up in all of
my many individual
>web
> page files. I saved the new files in the same place and
with the same
> name as
> the old files, but the old files still show up in my
Dreamweaver files.
> The
> main difference between the new files and the old ones
are that the new
> ones
> are bigger in dimension. The refresh button in my
toolbar remains
> unusuable.
> It's gonna take forever to re-place all the images in
each web file. Can
> someone please help?
>
> -Crystal
>
> Here is an example of old file verses new file:
> (NEW)
> <img src="../../images/Easter/page_59.jpg" width="34"
height="32" />
> (OLD)
> <img src="../../images/Easter/page_59.jpg" width="27"
height="35"
> />
>

Similar Messages

  • How to force Dreamweaver refresh the file view

    For some reason I have files in a local folder which Dreamweaver can't see.
    How can I refresh the files?
    Also, is there a site garbage file somewhere. Seems this program ate a style sheet which took six months to make.

    For some reason I have files in a local folder which Dreamweaver can't see.
    How can I refresh the files?
    With the curser in the files section press F5.
    Also, is there a site garbage file somewhere. Seems this program ate a style sheet which took six months to make.
    If you have deleted the file in the normal manner, you will find it in the Recycle Bin
    Gramps

  • Bridge won't refresh to see image files on cards

    Bridge CS4. Win 7 Pro 64 bit
    I put a card in the reader and Bridge sees the volume label but nothing else. No sub folders or image files either in the sub folders or at the root.
    Pull the card out. It goes away in the folder list.
    Refresh--no help.
    I have to shut down Bridge then restart it to see the card and it's contents-but ONLY if the card is in the reader when Bridge starts.
    I can put the card in a different reader that's on a different USB channel and it's the same thing.
    Windows Explorer will automatically refresh and see everything that's on the card. So the cards and readers are fine.
    If I use Bridge's File| Get Photos from Camera import function, it sees the files just fine.
    It's just that the Folder view is worthless. The ONLY way it will work is to have the card in the reader when Bridge starts.
    So if I change cards, I have to shut Bridge down, swap cards, start Bridge up again. What a pain.
    Is there anyway to get this thing to refresh?
    Yes, I tried F5.
    I tried going to the top of folder structure and refresh.
    It's just the folder view that will not update. It will not see ANY memory card that is placed into that reader until it is shut down and re-started while the card is in the reader. And it's the same problem, with different readers on different USB channels. It's definately a Bridge problem.
    What's going on? Anyway to fix this.
    Thanks all.
    T.O.

    Good idea, but no dice.
    I don't have it do that.
    By the way, this is a clean fresh install of Win 7 Pro 64bit and Photoshop/Bridge CS4.
    I built my own computers and am a fanatic about what gets installed and loads, so it's as clean as it can get with minimal junk running.
    Anyone else got any ideas.
    Or, does anyone else have this problem?
    Can anyone else pull cards (the same card)  in and out of the reader and Bridge does fine with seeing the images in the folder view?
    Thanks
    T.O.

  • Missing Images in swf file in dreamweaver

    Hello,
    I was hoping someone could help me. I made a image slide show
    in Flash (CS3) and wanted to put in in Dreamweaver (CS3). I
    published the file in flash and went over to dreamweaver and did
    the insert - media - flash command and added the .swf
    When I test the movie, the buttons and the frame shows up but
    not the images. Any ideas on why? When I test the html file, it
    works fine. When I test the movie its self, it works fine too. Its
    only when it is in the Dreamweaver file do the images disappear.
    1. I have the required AC_RunActiveContent.js. file with my
    swf.
    2. I tried copying the code from the html file that was
    generated by my swf, but when I test the file in dreamweaver, an
    error comes up saying that i need the AC_RunActiveContent.js.
    3. I have flash files on the site that work just fine, it is
    just this one that is being stupid. I published it as flash version
    7, 8 and 9. Nothing works.
    Thanks for your help in advance!
    Gab

    You haven't told us whether you are using RH for Word or RH HTML to generate your CHM.
    Please read Before You Post as it has been written to help you get a quicker reply. I will shortly be travelling and unable to pick up your reply for most of the day so unless anyone else can chip in once you advise us which, there will be a delay in helping you.
    If RH HTML:
    Your problem sounds like this one - http://forums.adobe.com/thread/490223?tstart=0 as there the images show in Windows Explorer but not in Project Manager or the WYSIWYG.
    You say
    When I generate the chm file there is mentioned that no graphic is loaded.
    Do you mean there is an error message? What exactly does it say?
    See www.grainge.org for RoboHelp and Authoring tips

  • Error in image file upload using dreamweaver

    Greeting to you all!
    Please I need you PRO help. My case seem similar to some of the ones I have seen but my code is completely different.
    I wrote this code below using PHP in Dreamweaver and its used to upload images to MySQl database. Now when I upload about 6 images, it shows File Uploaded Successfully. But if I try to upload any thing below 6 images, it will refuse to upload and will echo Upload Failed.
    <?php
    if(isset($_POST['submit']))
              $projid=$_POST['projid'];
              $projname=$_POST['projname'];
              $name=basename($_FILES['file_upload']['name']);
              $t_name=$_FILES['file_upload']['tmp_name'];
              $dir='upload';
              if(move_uploaded_file($t_name,$dir."/".$name))
              $nameone=basename($_FILES['file_uploadone']['name']);
              $t_name=$_FILES['file_uploadone']['tmp_name'];
              $dir='upload1';
              if(move_uploaded_file($t_name,$dir."/".$name))
              $nametwo=basename($_FILES['file_uploadtwo']['name']);
              $t_name=$_FILES['file_uploadtwo']['tmp_name'];
              $dir='upload2';
              if(move_uploaded_file($t_name,$dir."/".$name))
              $namethree=basename($_FILES['file_uploadthree']['name']);
              $t_name=$_FILES['file_uploadthree']['tmp_name'];
              $dir='upload3';
              if(move_uploaded_file($t_name,$dir."/".$name))
              $namefour=basename($_FILES['file_uploadfour']['name']);
              $t_name=$_FILES['file_uploadfour']['tmp_name'];
              $dir='upload4';
              if(move_uploaded_file($t_name,$dir."/".$name))
              $namefive=basename($_FILES['file_uploadfive']['name']);
              $t_name=$_FILES['file_uploadfive']['tmp_name'];
              $dir='upload5';
              if(move_uploaded_file($t_name,$dir."/".$name))
                        mysql_select_db ($database_ProjMonEva,$ProjMonEva);
                        $qur="insert into tbl_images (imageid, projid, projname, name, path, nameone, pathone, nametwo, pathtwo, namethree, paththree, namefour, pathfour, namefive, pathfive) values ('','$projid','$projname','$name','upload/$name','$nameone','upload/$nameone','$nametwo', 'upload/$nametwo','$namethree','upload/$namethree','$namefour','upload/$namefour','$namefi ve','upload/$namefive')";
                        $res=mysql_query($qur,$ProjMonEva);
                        echo 'File uploaded successful';
              else
                        echo 'upload failed!';
    ?>
    I see the problem to come from the echo but I am stock and dont know how to correct it. Can any one please help me.
    Thank you in advance Mike

    Hi Bregent,
    I have been able to resolve the issue. I modified the code this way: This I believe will help those having the same issues.
    These is how I was able to achieve it.
    1. I divided the code into two parts called addnew.php and addnewproject.php.
    The addnewproject.php as seen below will call the addnew.php when the submit button on addnewproject.php is clicked
    <form action="addnew.php" method="POST" id="Add New Project" enctype="multipart/form-data">
          <div align="center">
            <table width="600" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td id="formcells4"><strong id="subheaders">Core Details</strong></td>
                <td></td>
              </tr>
              <tr>
                <td id="dates">*Code (Eg. 2104/12/AB23):<br />
                  <label for="projcode"></label>
                  <span id="sprytextfield1">
                  <input type="text" name="projcode" id="projcode2" />
                <span class="textfieldRequiredMsg">A value is required.</span></span><br /></td>
                <td></td>
              </tr>
              <tr>
                <td colspan="2" id="dates">Project Name:
                  <label for="projname3"></label>
                  <span id="sprytextfield2">
                  <input type="text" name="projname" id="projname3" />
                  <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              </tr>
              <tr>
                <td colspan="2" id="dates">Project Description:<span id="description"><br />
                  <label for="projdesc"></label>
                  <span id="txt_projdesc">
                    <textarea name="projdesc" id="projdesc" cols="70" rows="8"></textarea>
                    <span class="textareaRequiredMsg">A value is required.</span></span></span></td>
              </tr>
              <tr>
                <td id="formcells"><p id="dates">*Date Entered: <em>YYYY/MM/DD</em><span id="year">
                  <label for="projappdate"><br />
                  </label>
                  <span id="txt_dateproapp">
                    <input type="text" name="projappdate" id="projappdate" />
                    <span class="textfieldRequiredMsg">A value is required.</span></span></span></p></td>
                <td id="formcells"><p id="dates">*Project LGA:<span id="txt_projlga">
                  <label for="projlga"><br />
                  </label>
                  <span id="txt_lga">
                    <select name="projlga" id="projlga">
                      <option value="1">.... Select from list ....</option>
                      <?php
    do { 
    ?>
                      <option value="<?php echo $row_rsLGA['lga']?>"><?php echo $row_rsLGA['lga']?></option>
                      <?php
    } while ($row_rsLGA = mysql_fetch_assoc($rsLGA));
      $rows = mysql_num_rows($rsLGA);
      if($rows > 0) {
          mysql_data_seek($rsLGA, 0);
                $row_rsLGA = mysql_fetch_assoc($rsLGA);
    ?>
                    </select>
                <span class="selectRequiredMsg">Please select an item.</span></span></span></p></td>
              </tr>
              <tr>
                <td id="formcells6"><p id="dates">*Project Community:<span id="txt_ojcommunity">
                  <label for="projcommunity"><br />
                  </label>
                  <select name="projcommunity" id="projcommunity">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsCommunity['community']?>"><?php echo $row_rsCommunity['community']?></option>
                    <?php
    } while ($row_rsCommunity = mysql_fetch_assoc($rsCommunity));
      $rows = mysql_num_rows($rsCommunity);
      if($rows > 0) {
          mysql_data_seek($rsCommunity, 0);
                $row_rsCommunity = mysql_fetch_assoc($rsCommunity);
    ?>
                  </select>
                </span></p></td>
                <td id="formcells6"><p id="dates">*Project State:<span id="txt_projstate"><br />
                  <select name="projstate" id="projstate">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsState['state']?>"><?php echo $row_rsState['state']?></option>
                    <?php
    } while ($row_rsState = mysql_fetch_assoc($rsState));
      $rows = mysql_num_rows($rsState);
      if($rows > 0) {
          mysql_data_seek($rsState, 0);
                $row_rsState = mysql_fetch_assoc($rsState);
    ?>
                  </select>
                </span></p></td>
              </tr>
              <tr>
                <td height="63" id="formcells8"><p id="dates">Project Cost:<span id="txt_projcost"><br />
                  <label for="projcost"></label>
                  <span id="txt_projectcost">
                    <input name="projcost" type="text" id="projcost" />
                    <span class="textfieldRequiredMsg">A value is required.</span></span></span></p></td>
                <td id="formcells"><p id="dates">*Project Type:<span id="txt_projtype"><br />
                  <label for="projtype"></label>
                  <select name="projtype" id="projtype">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsType['projtypelist']?>"><?php echo $row_rsType['projtypelist']?></option>
                    <?php
    } while ($row_rsType = mysql_fetch_assoc($rsType));
      $rows = mysql_num_rows($rsType);
      if($rows > 0) {
          mysql_data_seek($rsType, 0);
                $row_rsType = mysql_fetch_assoc($rsType);
    ?>
                  </select>
                </span></p></td>
              </tr>
              <tr>
                <td colspan="2" id="formcells2"><p id="dates">Project Baseline Data:<span id="sprytextarea2"><br />
                  <label for="projbaselinedata"></label>
                  <textarea name="projbaselinedata" id="projbaselinedata" cols="70" rows="8"></textarea>
                </span></p></td>
              </tr>
              <tr>
                <td colspan="2" id="formcells3"><p id="dates">Expected Outcome Of Project:<span id="sprytextarea3"><br />
                  <label for="Projexpoutcome"></label>
                  <textarea name="Projexpoutcome" id="Projexpoutcome" cols="70" rows="8"></textarea>
                </span></p></td>
              </tr>
            </table>
            <table width="600" border="0" cellpadding="0" cellspacing="0" id="teamtable">
              <tr>
                <td colspan="2"><strong id="subheaders">Beneficiaries</strong></td>
              </tr>
              <tr>
                <td width="241"><p>Adult Men Beneficiaries: <span id="txt_adultmen">
                  <label for="adultmen"><br />
                  </label>
                  <input name="adultmen" type="text" id="adultmen" />
                </span></p></td>
                <td width="259"><p>Adult Female Beneficiaries:<span id="txt_adultfem"><br />
                  <label for="adultfem"></label>
                  <input name="adultfem" type="text" id="adultfem" />
                </span></p></td>
              </tr>
              <tr>
                <td><p>Adult Children Beneficiaries:<span id="txt_totalchildren"><br />
                  <label for="children"></label>
                  <input name="totalchildren" type="text" id="totalchildren" />
                </span></p></td>
                <td><p>Total Beneficiaries:<span id="sprytextfield4"><br />
                  <label for="totalben"></label>
                  <input name="totalben" type="text" id="totalben" readonly="readonly" />
                </span></p></td>
              </tr>
              <tr>
                <td><p> </p></td>
                <td><p> </p></td>
              </tr>
              <tr>
                <td><strong id="subheaders">Project Team</strong></td>
                <td><p> </p></td>
              </tr>
              <tr>
                <td><p>*Project Team Leader:<span id="spryselect1"><br />
                  <label for="projteamlead"></label>
                  <select name="projteamlead" id="projteamlead">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsProjectTeam['fullname']?>"><?php echo $row_rsProjectTeam['fullname']?></option>
                    <?php
    } while ($row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam));
      $rows = mysql_num_rows($rsProjectTeam);
      if($rows > 0) {
          mysql_data_seek($rsProjectTeam, 0);
                $row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam);
    ?>
                  </select>
                </span></p></td>
                <td><p>*Deputy Team Leader:<span id="spryselect2"><br />
                  <label for="projteamlead"></label>
                  <select name="projdepteamlead" id="projdepteamlead">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsProjectTeam['fullname']?>"><?php echo $row_rsProjectTeam['fullname']?></option>
                    <?php
    } while ($row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam));
      $rows = mysql_num_rows($rsProjectTeam);
      if($rows > 0) {
          mysql_data_seek($rsProjectTeam, 0);
                $row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam);
    ?>
                  </select>
                </span></p></td>
              </tr>
              <tr>
                <td><p>*Project Officer:<span id="spryselect3"><br />
                  <label for="projteamlead"></label>
                  <select name="projofficer" id="projofficer">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsProjectTeam['fullname']?>"><?php echo $row_rsProjectTeam['fullname']?></option>
                    <?php
    } while ($row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam));
      $rows = mysql_num_rows($rsProjectTeam);
      if($rows > 0) {
          mysql_data_seek($rsProjectTeam, 0);
                $row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam);
    ?>
                  </select>
                </span></p></td>
                <td><p>*Liason Officer:<span id="spryselect4"><br />
                  <label for="projteamlead"></label>
                  <select name="projliasonofficer" id="projliasonofficer">
                    <option value="1">.... Select from list ....</option>
                    <?php
    do { 
    ?>
                    <option value="<?php echo $row_rsProjectTeam['fullname']?>"><?php echo $row_rsProjectTeam['fullname']?></option>
                    <?php
    } while ($row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam));
      $rows = mysql_num_rows($rsProjectTeam);
      if($rows > 0) {
          mysql_data_seek($rsProjectTeam, 0);
                $row_rsProjectTeam = mysql_fetch_assoc($rsProjectTeam);
    ?>
                  </select>
                </span></p></td>
              </tr>
            </table>
            <table width="600" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="300" id="moredetails2"> </td>
                <td width="300"> </td>
              </tr>
              <tr id="moredetails">
                <td width="300" id="moredetails"><strong id="subheaders">Meeting Dates</strong></td>
                <td width="300"><strong id="subheaders">Other Dates</strong></td>
              </tr>
              <tr id="formrows">
                <td width="300" id="formrows"><p id="dates">*1st  Meeting Date: <em>YYYY/MM/DD</em><span id="txt_projmeeting1"><br />
                  <input type="text" name="projmeeting1" id="projmeeting1" />
                </span></p></td>
                <td width="300" id="formrows"><p id="dates">*Project Start Date: <em id="formcells">YYYY/MM/DD</em><span id="txt_projstartdate">
                  <label for="projstartdate"></label>
                  <input type="text" name="projstartdate" id="projstartdate" />
                  </span>
                  <label for="projstartdate"></label>
                </p></td>
              </tr>
              <tr>
                <td width="300" id="formrows"><p id="dates">*2nd  Meeting Date: <em>YYYY/MM/DD</em><span id="txt_projmeeting2"><br />
                  <input type="text" name="projmeeting2" id="projmeeting2" />
                  </span>
                  <label for="projteam2"></label>
                  <label for="projmeeting2"></label>
                </p></td>
                <td width="300" id="formrows"><p id="dates">*Project End Date: <em>YYYY/MM/DD</em><span id="txt_projenddate"><br />
                  <label for="projenddate2"></label>
                  <input type="text" name="projenddate" id="projenddate" />
                </span></p></td>
              </tr>
              <tr>
                <td width="300" id="formrows"><p id="dates">*3rd Meeting Date: <em>YYYY/MM/DD</em><span id="txt_projmeeting3"><br />
                  <input type="text" name="projmeeting3" id="projmeeting3" />
                </span></p></td>
                <td width="300" id="formrows"><p id="dates">*MoU Signing Date: <em id="formcells">YYYY/MM/DD</em><span id="txt_projmousigndate"><br />
                  <label for="projmousigndate"></label>
                  <input type="text" name="projmousigndate" id="projmousigndate" />
                </span></p></td>
              </tr>
              <tr>
                <td colspan="2" id="formrows2"><div align="center" id="notice"><img src="images/notice.jpg" width="501" height="73" /></div></td>
              </tr>
            </table>
          </div>
          <p align="center"></p>
          <p align="center" id="text">
            <input type="file" name="file_upload" />
            <input type="file" name="file_uploadone" />
            <input type="file" name="file_uploadtwo" />
          </p>
          <p align="center" id="text">
            <input type="file" name="file_uploadthree" />
            <input type="file" name="file_uploadfour" />
            <input type="file" name="file_uploadfive" />
          </p>
          <p align="center">
            <input type="submit" name="submit" value="Save &amp; Submit"/>
          </p>
        </form>
    The addnew.php will now execute and add the data and image file names and path to MySQL database and upload the images to their various locations. it will also check the image file size be sure its not more than 100kb and must really be an iamge with format .jpg, .png and .gif.
    <?php
    if(isset($_POST['submit']))
              $projcode=$_POST['projcode'];
              $projname=$_POST['projname'];
              $projname=$_POST['projname'];
              $projdesc=$_POST['projdesc'];
              $projappdate=$_POST['projappdate'];
              $projcommunity=$_POST['projcommunity'];
              $projlga=$_POST['projlga'];
              $projstate=$_POST['projstate'];
              $projcost=$_POST['projcost'];
              $projtype=$_POST['projtype'];
              $projbaselinedata=$_POST['projbaselinedata'];
              $Projexpoutcome=$_POST['Projexpoutcome'];
              $adultmen=$_POST['adultmen'];
              $adultfem=$_POST['adultfem'];
              $totalchildren=$_POST['totalchildren'];
              $totalben=$_POST['totalben'];
              $projteamlead=$_POST['projteamlead'];
              $projdepteamlead=$_POST['projdepteamlead'];
              $projofficer=$_POST['projofficer'];
              $projliasonofficer=$_POST['projliasonofficer'];
              $projmeeting1=$_POST['projmeeting1'];
              $projmeeting2=$_POST['projmeeting2'];
              $projmeeting3=$_POST['projmeeting3'];
              $projmousigndate=$_POST['projmousigndate'];
              $projstartdate=$_POST['projstartdate'];
              $projenddate=$_POST['projenddate'];
              $name=basename($_FILES['file_upload']['name']);
              $t_name=$_FILES['file_upload']['tmp_name'];
              $dir='imageone';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_upload']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_upload']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$name))
                        echo 'File 1 uploaded successfully....!';
              else
                        echo 'File 1 upload failed or was not submitted....!  ';
              $nameone=basename($_FILES['file_uploadone']['name']);
              $t_name=$_FILES['file_uploadone']['tmp_name'];
              $dir='imagetwo';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_uploadone']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_uploadone']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$nameone))
                        echo 'File 2 was uploaded successfully....!';
              else
                        echo '...File 2 upload failed or was not submitted!  ';
              $nametwo=basename($_FILES['file_uploadtwo']['name']);
              $t_name=$_FILES['file_uploadtwo']['tmp_name'];
              $dir='imagethree';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_uploadtwo']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_uploadtwo']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$nametwo))
                        echo 'File 3 uploaded successfully';
              else
                        echo '...File 3 upload failed or was not submitted!  ';
              $namethree=basename($_FILES['file_uploadthree']['name']);
              $t_name=$_FILES['file_uploadthree']['tmp_name'];
              $dir='imagefour';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_uploadthree']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_uploadthree']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$namethree))
                        echo 'File 4 uploaded successfully';
              else
                        echo '...File 4 upload failed or was not submitted!  ';
              $namefour=basename($_FILES['file_uploadfour']['name']);
              $t_name=$_FILES['file_uploadfour']['tmp_name'];
              $dir='imagefive';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_uploadfour']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_uploadfour']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$namefour))
                        echo 'File 5 uploaded successfully';
              else
                        echo '...File 5 upload failed or was not submitted!  ';
              $namefive=basename($_FILES['file_uploadfive']['name']);
              $t_name=$_FILES['file_uploadfive']['tmp_name'];
              $dir='imagesix';
              // Validate uploaded image file
              if ( !preg_match( '/gif|png|jpeg/', $_FILES['file_uploadfive']['type']) ) {
                           die('<p>Only browser compatible images allowed</p></body></html>');
              } else if ( $_FILES['file_uploadfive']['size'] > 100000 )
                           die('<p>Sorry file too large</p></body></html>');
              if(move_uploaded_file($t_name,$dir."/".$namefive))
                        echo '    File 6 uploaded successfully';
              else
                        echo '....File 6 upload failed or was not submitted!  ';
              mysql_select_db ($database_XXXXXXXX,$XXXXXXXX); where XXXXXXXX is my database connection details. Please change to yours.
                        $qur=("insert into tbl_projects (projid, projcode, projname, projdesc, projappdate, projcommunity, projlga, projstate, projcost, projtype, projbaselinedata, Projexpoutcome, adultmen, adultfem, totalchildren, totalben, projteamlead, projdepteamlead, projofficer, projliasonofficer, projmeeting1, projmeeting2, projmeeting3, projmousigndate, projstartdate, projenddate, name, path, nameone, pathone, nametwo, pathtwo, namethree, paththree, namefour, pathfour, namefive, pathfive) VALUES ('', '$projcode','$projname','$projdesc', '$projappdate', '$projcommunity', '$projlga', '$projstate', '$projcost', '$projtype', '$projbaselinedata', '$Projexpoutcome', '$adultmen', '$adultfem', '$totalchildren', '$totalben', '$projteamlead', '$projdepteamlead', '$projofficer', '$projliasonofficer', '$projmeeting1', '$projmeeting2', '$projmeeting3', '$projmousigndate', '$projstartdate', '$projenddate','$name','imageone/$name','$nameone','imagetwo/$nameone', '$nametwo', 'imagethree/$nametwo', '$namethree', 'imagefour/$namethree', '$namefour', 'imagefive/$namefour', '$namefive', 'imagesix/$namefive')");
                        $res=mysql_query($qur,$XXXXXXXX);
    ?>
    Thank you. Hope this helps all those that are learning
    Message was edited by: Prince Mike

  • Enable video file and image file thumbnails WITHOUT enabling thumbnails for other filetypes

    Hello. I am new to Mac and pulling my hair out at some of the limited UI options
    I am wanting my image-files and video-files to appear in Finder (desktop etc) as thumbnails
    However, I DON'T want PDFs, Excel, Word, PowerPoint files to have a preview thumbnail
    Basically how things are now either way, it's very cumbersome visually to distinguish between file-types while cruising around my folders with a quick glance.
    if thumbnail previews are on for all, its hard to tell at a quick glance which are PDFs, Excel files vs. images
    similarly, the little "pdf" or "xlsx" or "docx" text overlay on these previews is so small and non-color coded as to be useless for quick-glance recognition of which filetype
    if thumbnails are off, it's impossible to glance at files in a folder and know which image or video each is without wasting my precious miliseconds clicking on them, or trying to actually read truncated filenames
    Here are some possible solutions which I hope somebody knows how to do:
    globally enable or disable icon previews by filetype (preferred)
    stipulate adding overlayed mini icons to certain filetypes
    example: if it's a pdf, show the icon preview, but overlayed on that would be the red Adobe pdf icon/logo roughly a quarter of the size of the file icon (like is possible in Windows 7).
    this way image and video previews can be seen at a glance, but having a big red or green or blue logo makes for immediate recognition of filetype
    (least prefered but could help) ...somehow change the font color and increase the font size of the overlayed "pdf" "xlsx" "doc" "pptx"currently standard on these filetypes while showing icon preview but ALL are miniscule black text no matter which filetype
    I'm quite dumbfounded right now that something for better immediate-glance filetype recognition isn't standard, or at least easily Google'able. All I've found is the Either/Other bamboozle.
    Would love it to hear of a solution for this. Thanks all.

    Put all of your separate flash movies into one move, and then
    use flash to
    load the movies into a top section of the flash document.
    Your site (this page) sounds like it would be best viewed
    entirely in Flash
    (at least easiest w/o reloading).
    Jon
    "zachmundy" <[email protected]> wrote in
    message
    news:earmgn$q95$[email protected]..
    >I have a bunch of flash videos that i've created
    thumbnails for. I have
    >one
    > big cell on the top of the page that displays a video
    and a bunch of small
    > cells below that hold the thumbnails and descriptions of
    other videos.
    > When a
    > user clicks on one of the videos, I want it to load that
    video into the
    > large
    > cell on the top of the page all without
    regenerating/refreshing the page.
    > Is
    > this possible in dreamweaver? What do I need to code the
    thumbnail
    > buttons to
    > do in order to make this happen?
    > Thanks
    >

  • Refreshing kml files in Maps

    If you put in a web address to a kml file into the Google Maps application it will load the appropriate map with pushpin for the location. But, now that I have it loaded I want to be able to refresh it (it's a moving vehicle) and I can't figure out how.
    This would be a cool way of seeing where a city's buses are, but once the kml is loaded Maps there doesn't seem to be a way to tell it to go back and look at the kml again.

    Did you recreate the site cache? (Site/Advanced/Recreate Site
    Cache)
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "Jackeltree" <[email protected]> wrote in
    message
    news:e407dt$7af$[email protected]..
    >I have changed a few image files that show up in all of
    my many individual
    >web
    > page files. I saved the new files in the same place and
    with the same
    > name as
    > the old files, but the old files still show up in my
    Dreamweaver files.
    > The
    > main difference between the new files and the old ones
    are that the new
    > ones
    > are bigger in dimension. The refresh button in my
    toolbar remains
    > unusuable.
    > It's gonna take forever to re-place all the images in
    each web file. Can
    > someone please help?
    >
    > -Crystal
    >
    > Here is an example of old file verses new file:
    > (NEW)
    > <img src="../../images/Easter/page_59.jpg" width="34"
    height="32" />
    > (OLD)
    > <img src="../../images/Easter/page_59.jpg" width="27"
    height="35"
    > />
    >

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Problem in opening an image file sent as attachment in mail

    Hi Friends,
    I have a requirement of sending a image file (.jpg) through email attachment.
    I am getting the attachment using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    But i am unable to open the file in the attachment. It is givin a message 'CAN'T DETERMINE TYPE'.
    Can you please provide me a solution .
    Regards,
    pooja

    Read the JPG file as Binary (TYPE BIN) in your read? and write it to the OBJBIN table?
    done in the OPEN
      REFRESH w_objbin.
      OPEN DATASET attach FOR INPUT IN BINARY MODE MESSAGE t_mesg.
      IF sy-subrc NE 0.
        WRITE:/ 'Attachment Dataset Open RC ',sy-subrc.
        WRITE:/ 'Message ',t_mesg.
        EXIT.
      ENDIF.
      DO.
        READ DATASET attach INTO wk_rec.
        IF sy-subrc NE 0.
          IF sy-subrc NE 4.
            WRITE:/ 'Attach Dataset Read RC ',sy-subrc.
            WRITE:/ 'Message ',t_mesg.
          ENDIF.
          EXIT.
        ENDIF.
        w_objbin-line = wk_rec.
        APPEND w_objbin.
      ENDDO.
      DESCRIBE TABLE w_objbin LINES w_tab_lines.
      LOOP AT w_objbin INTO wk_rec.
        APPEND wk_rec TO i_objbin.
      ENDLOOP.
    Edited by: Paul Chapman on Jun 5, 2008 10:46 AM

  • Image / file upload error         cannot upload image even after setting write permissions

    Hi there everyone
    I am having this problem when I try to upload a file (image file) to my server
    I have a dynamic for working fine , all the other fields insert the information ok then I try to add an image upload behaviour to a file field
    When I try to upload the file I get this error
    Error:
    An error occurred while inserting the records.
    File upload error: File upload error. Error creating folder..
    File upload error. Internal error.
    Developer Details:
    tNG_multipleInsert error.
    An error occurred while inserting the records. (MINS_ERROR)
    File upload error: PHP_UPLOAD_FOLDER_ERROR
    File Upload Error. No write permissions in "../../productimages/" folder.
    (FILE_UPLOAD_ERROR)
    So I login to my server and change the write permissions to 777 and then try again and get the same message
    I have closed DW and tried again and still get the same message......
    I think I have followed all the steps correctly..... I have done the same type of forms many time and tested them locally on WAMP testing server and all work ok......
    So..... Anyone got any ideas
    Any help would be great
    Have a nice day

    On 5/17/07 4:26 PM, in article [email protected],
    "Gü[email protected]" <> wrote:
    >
    > To my experience servers behave differently -- on some I really had to use
    > 777, others are happy with 755.
    >
    > in regards to "any user" :: On most ADDT respectively MX Kollection - based
    > backends I made the image & file upload feature available to user having e.g.
    > the "levels" 1 & 2, but not 3 -- I wouldn´t expose something like this to all
    > users
    >
    > Günter Schenk
    > Adobe Community Expert, Dreamweaver
    My backend is only for admin, so they are the only ones who can access the
    upload pages. My concern is an images folder on the site being 777. Can't
    anyone from the outside plant a file in that folder if they just know where
    to find it using an ftp program? ?

  • Problem reopening and/or refreshing PDF files using Acrobat Reader V. 8.0

    I upgraded to Adobe Acrobat Reader V. 8.0 and have encountered problems refreshing PDF files in the Safari 2.0.4 browser when I am logged into the secure area for Value Line Publishing. Some of the PDF Files in this area can be opened and/or refreshed multiple times. Other PDF files in this area allow me to open them once. I cannot reopen those previously viewed files (or refresh the screen) -- after refreshing, the window changes to a blank white screen, and the files do not reopen.
    I am perplexed because I do not have difficulty refreshing the PDF files (within Safari) using the native PDF viewer, I did not have problems refreshing files using Acrobat Reader V. 7.0 and I do not appear to have problems refreshing PDF files using Acrobat Reader V. 8.0 when I am outside the secure area or on other web sites.
    I have replaced the Acrobat Reader plug-in, manually removed all remnants of previous versions of Acrobat Reader and reinstalled V. 8.0. and I also upgraded from Mac OS 10.4.8 to 10.4 9, all to no avail.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    I can also download the PDF files to my hard drive and refresh them multiple times within Safari and also using Acrobat Reader V. 8.0
    The software personnel at Value Line Publishing have investigated their system and have referred me back to Apple. Has anyone heard of similar problems associated with Adobe Acrobat Reader V. 8.0 used in conjunction with Safari 2.0.4?
    PowerBook G4   Mac OS X (10.3.9)  

    Hi Rodney
    Welcome to Apple Discussions
    This sounds like one of those "oddities", contributed to by a few sources.
    I can clear the Safari cache files as a temporary solution, but I encounter the same difficulties with the “problematic” files once they have been opened again.
    Wondering if you disabled the Safari Cache would the refresh function work correctly? As a test you can disable the Safari Cache by Emptying the Cache first via the Safari menu, then Quit Safari. Now go to the Finder>Your User Library>Caches>Safari. Single click on the Safari folder, then Apple Key + I to open Info panel. There, check the "locked" box. This prevents further additions to the cache. The downside, you lose your ability to upload images etc. within Safari (my cache is disabled, so I use Firefox for the uploads).
    Then restart Safari. Try the PDF from within Safari.
    Post back

  • How do I get images into the "images" folder with Dreamweaver CS4?

    Hi,
    I've been following the tutorial by Christopher Heng, on chapter 2, adding images. "Look at the right panel of the web editor. You should see at least two major sections: the top section has a tab entitled "INSERT", and the bottom section has a tab labelled "FILES""...
    I don't see the tab "Insert", but do see "Files" and have created a folder in there called "Images", as Mr. Heng explained.
    The next step sounds easy enough - copy your image files into the images folder.  But for the life of me I can't seem to do this. Can someone PLEASE help me out?
    Thank you - Louise

    Do you mean you can't get your images into the images folder of your site?
    Open the folder with your images in it on the desktop,
    not inside dreamweaver,
    and open the folder you want to put the images on your desktop too,
    so both folders are open,
    right click the image, copy and paste it to your website images folder
    or double-click the image and drag it across into the website images folder.
    You could also open the image in your image editing software and 'save as'
    then browse to your website images folder and save there.
    Daniel

  • Insert Photoshop Web Gallery swf file into Dreamweaver

    So i tried to take a shortcut, and created a flash photoshop
    web gallery and placed the "gallery.swf" file into my html file in
    Dreamweaver. However, it is showing a blank white screen (i'm
    guessing it can't find the images?) but when I view it on my hard
    drive, it is working fine, just not in dreamweaver or any browser,
    even after I upload to my server. Any help would be GREATLY
    appreciated!! I've also tried pasting the body html code from
    "index.htm" that photoshop creates, as well as move my image files
    to the root folder where the swf is, but that doesn't work either.
    I have my scripts in the same directory, and not in
    subfolders.

    Kizat727 posted in macromedia.dreamweaver:
    > and the link is
    >
    > www.micromediapubs2.com/dyers/portfolio.html
    That page is very different from the code you posted and I
    know nothing
    about Geoff Stearns' FlashObject code.
    For the above link, I see nothing in the source code that
    attempts to
    load a .swf file. However, it is linking to
    AC_RunActiveCon.js file in
    the wrong place:
    GET /dyers/assets/flash/pages/AC_RunActiveContent.js HTTP/1.1
    Referer:
    http://www.micromediapubs2.com/dyers/portfolio.html
    HTTP/1.x 404 Not Found
    The file is actually here:
    /dyers/Scripts/AC_RunActiveContent.js
    So if you actually do have a page in the dyers/ folder that
    links to a
    .swf file, just make sure the link to the .js file is
    correct.
    Most likely, change this:
    <script src="assets/flash/pages/AC_RunActiveContent.js"
    type="text/javascript"></script>
    to this:
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    Mark A. Boyd
    Keep-On-Learnin' :)

  • How do I call image file names from MySQL & display the image?

    Hello everyone,
    I have image file names (not the full URL) stored in a MySQL database. The MySQL database is part of MAMP 1.7 and I am using Dreamweaver CS3 on a Mac Book Pro.
    I would like to create a catalog page using thumbnails, and PayPal buttons displayed within a table, in rows. With the image centered and the PayPal button directly underneath the image.
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Thanks in advance.

    slam38 wrote:
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Open the Insert Image dialog box in the normal way, and navigate to the folder that contains the images. Then copy to your clipboard the value in the URL field, and click the Data Sources button. The following screenshot was taken in the Windows version, but the only difference is that Data Sources is a radio button at the top of the dialog box in Windows. It's a button at the bottom in the Mac:
    After selecting Data Sources, select the image field from the approriate recordset. Then put your cursor in the URL field and paste in the path that you copied to your clipboard earlier.

  • Image files in a table mis-aligned in Internet Explorer

    I have a website which uses a couple of tables to align image files, which consist of text in boxes. Although in Dreamweaver, there is a slight discrepancy between their positions in Firefox or Safari, I've been able to get the alignment I want with small adjustments in Dreamweaver. However, in Internet Explorer 8  the top image file of two which reside in the same table is displayed about 15 pixels to the right of the one underneath it. (The vertical positioning of the whole table is a bit off as well, but I'm less concerned with that as I attribute that to browser positioning issues.) I have no idea how this could happen, as I would think the table would constrain the two images from shifting side to side in relation to each other.
    I'm on a Mac running OSX 10.6.8. and Creative Suite 3/Dreamweaver 8
    Here's the URL:  http://www.downsizedlivingmag.com
    Any ideas as to how I can fix this? Or even better, how I can achieve the same results in IE that I get in Firefox and Safari?
    Thanks!

    Ha, ha. I love the site!
    You can use IE Conditional Comments to add some padding-top above your tables.
    http://css-tricks.com/132-how-to-create-an-ie-only-stylesheet/
    Sadly, when I disable images in my browser, your page is very short on indexable content. Search engines, translators and screen readers can't access text in images.  You might wish to re-think this design decision and opt for more real text in headings and paragraphs where it will get noticed.  Alas, designing for the web has almost nothing in common with print design. 
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • Designer6i Installation Problem on P4 with Win2000

    I get following error and installation aborts: cgenrx61.map(0): FILE_NOT_FOUND while mapping cgenrx61 Does anyone know what is happening here? Thanks, Tony

  • Can't install Office 2013 64 bit

    We just purchased a new Dell workstation which came with Office Pro 2013. Of course the only thing we get now is a piece of paper with the product key and instructions to go to office.com to get the program. I tried this but there are no options to d

  • How different of PDF downloning with open in new Tab or not Open new Tab

    How different of PDF downloning with open in new Tab or not Open new Tab? My web site distributes PDF files, and user can download the PDF files in my site. The problem is I wanna show PDF that download in new tab, but pdf only downloaded, not open n

  • Why can't i scroll up and down in pages

    I have created a newsletter in pages.  All of a sudden I cannot scroll up or down to move between page 1 and 2 of my document.  The only way I can get to page 2 is if I zoom out to about 50%.  Then I cannot read the font.  So frustrating.  How do I f

  • Insert Text in a PDF Document

    I am trying to edit text (insert text) in a pdf document using Adobe 9 Pro.  When I click on Advanced Editing, touch up text tool.  I select a box around the text and begin to type, nothing appears the cursor moves but nothing is typed.  I need immed