10 Replies Latest reply on Jul 26, 2007 1:50 PM by Newsgroup_User

    customizing Dreamweaver on a PC

    dana_roof
      Hi,

      I just switched from Homesite to Dreamweaver CS3. In Homesite you can drag an image to an html document and the tag has src, width, height, and alt.

      How can I make Dreamweaver do the same thing? I don't want to have to go to the properties inspector every time I add an image or type the attributes in.

      I looked at 'Edit>Tag Libraries' but I don't see where you set your default tag attributes.

      thanks,
      Dana
        • 1. Re: customizing Dreamweaver on a PC
          Level 7
          > How can I make Dreamweaver do the same thing?

          You cannot.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "dana_roof" <webforumsuser@macromedia.com> wrote in message
          news:f88f6j$4l7$1@forums.macromedia.com...
          > Hi,
          >
          > I just switched from Homesite to Dreamweaver CS3. In Homesite you can
          > drag an
          > image to an html document and the tag has src, width, height, and alt.
          >
          > How can I make Dreamweaver do the same thing? I don't want to have to go
          > to
          > the properties inspector every time I add an image or type the attributes
          > in.
          >
          > I looked at 'Edit>Tag Libraries' but I don't see where you set your
          > default
          > tag attributes.
          >
          > thanks,
          > Dana
          >


          • 2. Re: customizing Dreamweaver on a PC
            Level 7
            Murray *ACE* wrote:
            >> How can I make Dreamweaver do the same thing?
            >
            > You cannot.

            ????? The only thing that Dreamweaver doesn't do is automatically
            generate the alt text.

            Create a page, save it, and then drag an image from the Files panel onto
            the page. Dreamweaver CS3 opens the Image Tag Accessibility Attributes
            dialog box to prompt you to enter the alt text. After you have done so,
            click OK. Dreamweaver automatically inserts src, height, width, and alt
            like this:

            <img src="images_gallery/azaleas.jpg" alt="azaleas" width="400"
            height="300" />

            --
            David Powers, Adobe Community Expert
            Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
            Author, "PHP Solutions" (friends of ED)
            http://foundationphp.com/
            • 3. Re: customizing Dreamweaver on a PC
              Level 7
              Thanks for the correction. It was broken in DW8, and I see it's now fixed
              in CS3.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "David Powers" <david@example.com> wrote in message
              news:f89moo$iks$2@forums.macromedia.com...
              > Murray *ACE* wrote:
              >>> How can I make Dreamweaver do the same thing?
              >>
              >> You cannot.
              >
              > ????? The only thing that Dreamweaver doesn't do is automatically generate
              > the alt text.
              >
              > Create a page, save it, and then drag an image from the Files panel onto
              > the page. Dreamweaver CS3 opens the Image Tag Accessibility Attributes
              > dialog box to prompt you to enter the alt text. After you have done so,
              > click OK. Dreamweaver automatically inserts src, height, width, and alt
              > like this:
              >
              > <img src="images_gallery/azaleas.jpg" alt="azaleas" width="400"
              > height="300" />
              >
              > --
              > David Powers, Adobe Community Expert
              > Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
              > Author, "PHP Solutions" (friends of ED)
              > http://foundationphp.com/


              • 4. Re: customizing Dreamweaver on a PC
                Level 7
                Murray *ACE* wrote:
                > Thanks for the correction. It was broken in DW8, and I see it's now fixed
                > in CS3.

                Hmm. There must be something wrong with your DW8 setup. I've just tested
                it in DW 8.0.2 on Windows XP Pro, and it works exactly the same as in CS3.

                --
                David Powers, Adobe Community Expert
                Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
                Author, "PHP Solutions" (friends of ED)
                http://foundationphp.com/
                • 5. Re: customizing Dreamweaver on a PC
                  Level 7
                  On Thu, 26 Jul 2007 09:41:43 +0100, David Powers <david@example.com>
                  wrote:

                  >????? The only thing that Dreamweaver doesn't do is automatically
                  >generate the alt text.


                  I don't have CS3 to test with, but does it still do all that when you
                  drag the image into code view? Given that the O/P was a recovering
                  Homesite user, that's where I'd guess it was being done.

                  Gary
                  • 6. Re: customizing Dreamweaver on a PC
                    Level 7
                    Gary White wrote:
                    > I don't have CS3 to test with, but does it still do all that when you
                    > drag the image into code view? Given that the O/P was a recovering
                    > Homesite user, that's where I'd guess it was being done.

                    Good point. I've just tested both DW8 and CS3. Design view and Code view
                    do operate differently from each other, although the operation of each
                    view is identical in both programs.

                    If you drag the image into Design view, the height and width are
                    inserted automatically.

                    If you drag the image into Code view, only the src and alt text are
                    inserted. To insert the height and width automatically, there are two
                    routes you can follow:

                    * Insert the cursor anywhere inside the <img> tag in Code view, and
                    click the Refresh button on the Property inspector. When the Property
                    inspector appears, click the circular arrow to the right of the W and H
                    boxes.

                    * Switch to Design view, select the image, and click the circular arrow
                    to the right of the W and H boxes.

                    --
                    David Powers, Adobe Community Expert
                    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
                    Author, "PHP Solutions" (friends of ED)
                    http://foundationphp.com/
                    • 7. Re: customizing Dreamweaver on a PC
                      Level 7
                      > If you drag the image into Code view, only the src and alt text are
                      > inserted. To insert the height and width automatically, there are two
                      > routes you can follow:

                      Yes - this is what I intended to specify. And my answer was that there is
                      no way that I know of to force DW to add these attributes automatically.

                      --
                      Murray --- ICQ 71997575
                      Adobe Community Expert
                      (If you *MUST* email me, don't LAUGH when you do so!)
                      ==================
                      http://www.dreamweavermx-templates.com - Template Triage!
                      http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                      http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                      http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                      ==================


                      "David Powers" <david@example.com> wrote in message
                      news:f8a7ar$8gv$1@forums.macromedia.com...
                      > Gary White wrote:
                      >> I don't have CS3 to test with, but does it still do all that when you
                      >> drag the image into code view? Given that the O/P was a recovering
                      >> Homesite user, that's where I'd guess it was being done.
                      >
                      > Good point. I've just tested both DW8 and CS3. Design view and Code view
                      > do operate differently from each other, although the operation of each
                      > view is identical in both programs.
                      >
                      > If you drag the image into Design view, the height and width are inserted
                      > automatically.
                      >
                      > If you drag the image into Code view, only the src and alt text are
                      > inserted. To insert the height and width automatically, there are two
                      > routes you can follow:
                      >
                      > * Insert the cursor anywhere inside the <img> tag in Code view, and click
                      > the Refresh button on the Property inspector. When the Property inspector
                      > appears, click the circular arrow to the right of the W and H boxes.
                      >
                      > * Switch to Design view, select the image, and click the circular arrow to
                      > the right of the W and H boxes.
                      >
                      > --
                      > David Powers, Adobe Community Expert
                      > Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
                      > Author, "PHP Solutions" (friends of ED)
                      > http://foundationphp.com/


                      • 8. Re: customizing Dreamweaver on a PC
                        Level 7
                        Murray *ACE* wrote:
                        > Yes - this is what I intended to specify. And my answer was that there is
                        > no way that I know of to force DW to add these attributes automatically.

                        Perhaps it's something that should be proposed as a feature request:

                        http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

                        There are several areas where Dreamweaver acts differently in Code view
                        from Design view. For instance, inserting a form in Design view selects
                        POST as the default, but in Code view it selects GET.

                        I must admit that, when working in Code view, I tend to hand-code
                        everything. Since images are design elements, I never insert them when
                        in Code view, but each to his/her own.

                        --
                        David Powers, Adobe Community Expert
                        Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
                        Author, "PHP Solutions" (friends of ED)
                        http://foundationphp.com/
                        • 9. Re: customizing Dreamweaver on a PC
                          Level 7
                          On Thu, 26 Jul 2007 14:45:57 +0100, David Powers <david@example.com>
                          wrote:

                          >There are several areas where Dreamweaver acts differently in Code view
                          >from Design view. For instance, inserting a form in Design view selects
                          >POST as the default, but in Code view it selects GET.


                          And there seems, on the surface, to be little logic behind the
                          differences. ;-)

                          Gary
                          • 10. Re: customizing Dreamweaver on a PC
                            Level 7
                            On Thu, 26 Jul 2007 14:24:24 +0100, David Powers <david@example.com>
                            wrote:


                            >
                            >If you drag the image into Code view, only the src and alt text are
                            >inserted. To insert the height and width automatically, there are two
                            >routes you can follow:
                            >
                            >* Insert the cursor anywhere inside the <img> tag in Code view, and
                            >click the Refresh button on the Property inspector. When the Property
                            >inspector appears, click the circular arrow to the right of the W and H
                            >boxes.
                            >
                            >* Switch to Design view, select the image, and click the circular arrow
                            >to the right of the W and H boxes.


                            Rather interestingly - it also works if you click the letters W and H
                            - and if for some reason someone has altered the size of the image
                            within Dw clicking the W and H letters restores the true size.
                            --

                            ~Malcolm N....
                            ~