What is this? <img src="{$ ImagesDir}/photo.gif">

Ask a Question related to ASP, Design and Development.

  1. #1

    Default What is this? <img src="{$ ImagesDir}/photo.gif">

    What is this? <img src="{$ ImagesDir}/photo.gif">

    I KNOW what an HTML image tag looks like. But what do you call that in the
    file source? Is it like a virtual directory in IIS? It's some type of
    variable obviously, but can somebody tell me what it's called so I can
    research how it works? thanks.


    Eric Bragas Guest

  2. Similar Questions and Discussions

    1. Can PS or AI "vectorize" a process (photo) image?
      Is there a tool in either Photoshop or (more likely) Illustrator that can extrapolate (or "guess") vector coordinates based on process data? Say...
    2. Problem with "saving" an enhanced photo from a picture CD
      I am attempting to crop and enhance a photo from a picture CD from film I had processed at Costco. After I get the work done on the photo and try to...
    3. Advice and WTB: Focal Photo Guides ("All About ....." series)
      I am looking for seven booklets in the Focal Press Photo Guides series "All About ....." (from the 1950s, the ones I need are all among the last 15...
    4. Companies making 13 x 19 sheet or 13 x "whatever" rolls Photo Glossy paper?
      Help! I am running out of my present stock of 13 x 19 Photo glossy paper for my HP Design Jet 10PS printer. I've done a Google search but the results...
    5. Error with "Create a Web Photo Album" Please Help !
      Hello, I want to create an new Web Photo Album! but Dreamweaver MX bring me a Error! You see this Error below ! How can I solve this Problem...
  3. #2

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    Was this formerly a php page or something? A php var would look like that
    (but without the space after the $). Or maybe a .pl page. It could be
    anything.

    Ray at work

    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > What is this? <img src="{$ ImagesDir}/photo.gif">
    >
    > I KNOW what an HTML image tag looks like. But what do you call that in
    the
    > file source? Is it like a virtual directory in IIS? It's some type of
    > variable obviously, but can somebody tell me what it's called so I can
    > research how it works? thanks.
    >
    >

    Ray at Guest

  4. #3

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    YES, I took this out of a PHP page. However, I thought I saw the same type
    of thing in an ASP page using VBScript several years ago. Can something
    like this be done in VBScript ASP?

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:OHFclDmmDHA.3288@tk2msftngp13.phx.gbl...
    > Was this formerly a php page or something? A php var would look like that
    > (but without the space after the $). Or maybe a .pl page. It could be
    > anything.
    >
    > Ray at work
    >
    > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > > What is this? <img src="{$ ImagesDir}/photo.gif">
    > >
    > > I KNOW what an HTML image tag looks like. But what do you call that in
    > the
    > > file source? Is it like a virtual directory in IIS? It's some type of
    > > variable obviously, but can somebody tell me what it's called so I can
    > > research how it works? thanks.
    > >
    > >
    >
    >

    Eric Bragas Guest

  5. #4

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    Yes, VB Script supports variables. ;]


    Somewhere in some php code, that is defined. It could be in an include
    file, in that page, or in the php.ini file. There's isn't an asp.ini file
    equivalent, but you can use things like application variables or includes to
    include a global value in all of your pages. I guess you could kinda say
    that php has one-up here, but it's all in how you look at it. If you define
    500 variables in your php.ini, they'll be there for all pages unnecessarily.
    This is a similar waste of resources in the way that adovbs.inc is, but at
    least with that, you include it when and where you want.

    Ray at work



    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:u581rLmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > YES, I took this out of a PHP page. However, I thought I saw the same
    type
    > of thing in an ASP page using VBScript several years ago. Can something
    > like this be done in VBScript ASP?
    >
    > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > news:OHFclDmmDHA.3288@tk2msftngp13.phx.gbl...
    > > Was this formerly a php page or something? A php var would look like
    that
    > > (but without the space after the $). Or maybe a .pl page. It could be
    > > anything.
    > >
    > > Ray at work
    > >
    > > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > > news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > > > What is this? <img src="{$ ImagesDir}/photo.gif">
    > > >
    > > > I KNOW what an HTML image tag looks like. But what do you call that
    in
    > > the
    > > > file source? Is it like a virtual directory in IIS? It's some type
    of
    > > > variable obviously, but can somebody tell me what it's called so I can
    > > > research how it works? thanks.
    > > >
    > > >
    > >
    > >
    >
    >

    Ray at Guest

  6. #5

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    I know about application and session variables, and how to initialize in
    global.asa, but is there a way to use VBS variables in this format? {$
    someVar}

    I thought I saw this before, but I could be wrong.

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:%23q%23ALPmmDHA.684@TK2MSFTNGP09.phx.gbl...
    > Yes, VB Script supports variables. ;]
    >
    >
    > Somewhere in some php code, that is defined. It could be in an include
    > file, in that page, or in the php.ini file. There's isn't an asp.ini file
    > equivalent, but you can use things like application variables or includes
    to
    > include a global value in all of your pages. I guess you could kinda say
    > that php has one-up here, but it's all in how you look at it. If you
    define
    > 500 variables in your php.ini, they'll be there for all pages
    unnecessarily.
    > This is a similar waste of resources in the way that adovbs.inc is, but at
    > least with that, you include it when and where you want.
    >
    > Ray at work
    >
    >
    >
    > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > news:u581rLmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > > YES, I took this out of a PHP page. However, I thought I saw the same
    > type
    > > of thing in an ASP page using VBScript several years ago. Can something
    > > like this be done in VBScript ASP?
    > >
    > > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > > news:OHFclDmmDHA.3288@tk2msftngp13.phx.gbl...
    > > > Was this formerly a php page or something? A php var would look like
    > that
    > > > (but without the space after the $). Or maybe a .pl page. It could
    be
    > > > anything.
    > > >
    > > > Ray at work
    > > >
    > > > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > > > news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > > > > What is this? <img src="{$ ImagesDir}/photo.gif">
    > > > >
    > > > > I KNOW what an HTML image tag looks like. But what do you call that
    > in
    > > > the
    > > > > file source? Is it like a virtual directory in IIS? It's some type
    > of
    > > > > variable obviously, but can somebody tell me what it's called so I
    can
    > > > > research how it works? thanks.
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Eric Bragas Guest

  7. #6

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    No. Here's from the VBScript docs:

    Naming Restrictions
    Variable names follow the standard rules for naming anything in VBScript. A
    variable name:

    a.. Must begin with an alphabetic character.
    b.. Cannot contain an embedded period.
    c.. Must not exceed 255 characters.
    d.. Must be unique in the scope in which it is declared.
    Ray at work


    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:OvtLXfmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > I know about application and session variables, and how to initialize in
    > global.asa, but is there a way to use VBS variables in this format? {$
    > someVar}
    >
    > I thought I saw this before, but I could be wrong.
    >

    Ray at Guest

  8. #7

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    >>Can something like this be done in VBScript ASP?

    Yes, it might look like this :

    <img src="<%= ImagesDir %>/photo.gif">



    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:u581rLmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > YES, I took this out of a PHP page. However, I thought I saw the same
    type
    > of thing in an ASP page using VBScript several years ago. Can something
    > like this be done in VBScript ASP?
    >
    > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > news:OHFclDmmDHA.3288@tk2msftngp13.phx.gbl...
    > > Was this formerly a php page or something? A php var would look like
    that
    > > (but without the space after the $). Or maybe a .pl page. It could be
    > > anything.
    > >
    > > Ray at work
    > >
    > > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > > news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > > > What is this? <img src="{$ ImagesDir}/photo.gif">
    > > >
    > > > I KNOW what an HTML image tag looks like. But what do you call that
    in
    > > the
    > > > file source? Is it like a virtual directory in IIS? It's some type
    of
    > > > variable obviously, but can somebody tell me what it's called so I can
    > > > research how it works? thanks.
    > > >
    > > >
    > >
    > >
    >
    >

    Mike Florio Guest

  9. #8

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:OvtLXfmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > I know about application and session variables, and how to initialize in
    > global.asa, but is there a way to use VBS variables in this format? {$
    > someVar}
    >
    > I thought I saw this before, but I could be wrong.
    In ASP/VBScript, this would look more like:

    <img src="<%=ImagesDir%>/photo.gif">

    Hope this helps.

    Peter Foti

    >
    > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > news:%23q%23ALPmmDHA.684@TK2MSFTNGP09.phx.gbl...
    > > Yes, VB Script supports variables. ;]
    > >
    > >
    > > Somewhere in some php code, that is defined. It could be in an include
    > > file, in that page, or in the php.ini file. There's isn't an asp.ini
    file
    > > equivalent, but you can use things like application variables or
    includes
    > to
    > > include a global value in all of your pages. I guess you could kinda
    say
    > > that php has one-up here, but it's all in how you look at it. If you
    > define
    > > 500 variables in your php.ini, they'll be there for all pages
    > unnecessarily.
    > > This is a similar waste of resources in the way that adovbs.inc is, but
    at
    > > least with that, you include it when and where you want.
    > >
    > > Ray at work
    > >
    > >
    > >
    > > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > > news:u581rLmmDHA.2200@TK2MSFTNGP12.phx.gbl...
    > > > YES, I took this out of a PHP page. However, I thought I saw the same
    > > type
    > > > of thing in an ASP page using VBScript several years ago. Can
    something
    > > > like this be done in VBScript ASP?
    > > >
    > > > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
    message
    > > > news:OHFclDmmDHA.3288@tk2msftngp13.phx.gbl...
    > > > > Was this formerly a php page or something? A php var would look
    like
    > > that
    > > > > (but without the space after the $). Or maybe a .pl page. It could
    > be
    > > > > anything.
    > > > >
    > > > > Ray at work
    > > > >
    > > > > "Eric Bragas" <ebragas@thermage.com> wrote in message
    > > > > news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > > > > > What is this? <img src="{$ ImagesDir}/photo.gif">
    > > > > >
    > > > > > I KNOW what an HTML image tag looks like. But what do you call
    that
    > > in
    > > > > the
    > > > > > file source? Is it like a virtual directory in IIS? It's some
    type
    > > of
    > > > > > variable obviously, but can somebody tell me what it's called so I
    > can
    > > > > > research how it works? thanks.
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Peter Foti Guest

  10. #9

    Default Re: What is this? <img src="{$ ImagesDir}/photo.gif">

    My guess is that someone generated that page by transforming XML with XSLT,
    but had an error in their XSLT somewhere. In XSLT you can declare a
    variable and then insert its value where you need it with {$variablename}.
    Maybe the space between $ and ImagesDir screwed it up.


    "Eric Bragas" <ebragas@thermage.com> wrote in message
    news:O7QWGCmmDHA.2536@tk2msftngp13.phx.gbl...
    > What is this? <img src="{$ ImagesDir}/photo.gif">
    >
    > I KNOW what an HTML image tag looks like. But what do you call that in
    the
    > file source? Is it like a virtual directory in IIS? It's some type of
    > variable obviously, but can somebody tell me what it's called so I can
    > research how it works? thanks.
    >
    >

    Paul Woods Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139