Tapatalk

inserting img tag with height and width

inserting img tag with height and width

2
NewbieNewbie
2

    Oct 21, 2006#1

    I'm sure I'm missing the obvious and I searched the forums and the help and must be missing it.

    I have quite a few images to insert into html documents. What is the easiest way to insert image tags with height and width parameters set for one image? How about for 20 images?

    Many thanks.

    344
    MasterMaster
    344

      Oct 22, 2006#2

      Hi,

      do you mean in one html file ? Or in many files ?
      I did not get you yet since your explanation is rather short.
      Easiest would be a html-table mixed up with tags like that:
      <img id="backPic" src="themes/glass_blue/images/meadow2.jpg" width="0" height="0" alt="" />
      Since I am no html expert, I wait for an answer if I am on the right track with that ...

      rds Bego
      Normally using all newest english version incl. each hotfix. Win 10 64 bit

      20
      Basic UserBasic User
      20

        Oct 22, 2006#3

        You can always create a CSS class and assign all your images that class.
        A source of incoherent bullshit since 1986

        2
        NewbieNewbie
        2

          Oct 23, 2006#4

          Just inserting multiple img tags in one document. Ways that I've seen with other less sophisticated products are:

          (1) Have focus on an html document and then press an image button on a tool bar which brings up a dialog box to list local files. Select the image and then the image tag with the height and width and perhaps some other optional settings is inserted in the document. I would like to select multiple, but typically the tools just allow inserting one img tag at a time.

          (2) Just found this in other tools - while listing the images in a file list pane - drag and drop the images to the html document. This allows multiple img tags to be inserted at one time and saves hours of work.

          I don't typically use the document where the images were inserted directly, but then copy the image tags to various locations.

          Strangely, with UltraEdit, which seems to do almost everything and many things I've never even thought of doing, I can't seem to figure out how to quickly insert the image tags with the parameters for src, height, width filled out. What am I missing?

          Thanks for your help.

          6,685587
          Grand MasterGrand Master
          6,685587

            Oct 24, 2006#5

            What you are missing is that UltraEdit is a general text editor and not an WYSIWYG editor for webpage editing.

            As long as nobody writes an external tool (VBA application, VBS script, ...)

            -) which you can call from within UltraEdit with an user tool to select one or more images
            -) and copies the appropriate and filled out <img src="" width="" height="" alt=""> tags to windows clipboard
            -) or prints it to stdout where UltraEdit can capture it

            you can't do it from within UltraEdit.
            Best regards from an UC/UE/UES for Windows user from Austria