Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] file case changing in clip

Expand Messages
  • Mike Breiding
    ... Hi Jeff, I tried that previously and now and the code in the page looks thus when the clip is run and images do not display.
    Message 1 of 9 , Feb 1, 2007
    • 0 Attachment
      At 08:58 AM 2/1/2007 , you wrote:
      >Mike Breiding wrote:>
      > > Greetings,>
      > > The clip segment below is changing all the inserted files to
      > > lowercase. Or
      > > at least I assume so.
      > > What needs to replace "StrLower" to leave the file case unchanged?
      > > I tried various things but had no luck.
      > > Thanks,
      > > -Mike
      > >
      > > ;Insert image tag and information into document
      > > ^!InsertHtml <img src="("^%imagename%")$" width="^%ImgWidth%"
      > > height="^%ImgHeight%"title="^%TITLE%" alt="^%ALT%" />
      > >
      > > _Just delete '$StrLower'

      Hi Jeff, I tried that previously and now and the code in the page looks
      thus when the clip is run and images do not display.

      <img src="^("Img_7107.jpg")$" width="727" height="485"title="" alt="" />
      <p style="text-align: center;"> </p>

      This is from the unchanged clip when run:
      <img src="IMAGE01.jpg" width="515" height="343"title="" alt="" />
      <p style="text-align: center;">Text goes here.</p>

      -Mike






      [Non-text portions of this message have been removed]
    • Corl DeLuna
      Hi Mike, This is an image insertion clip all on it own, not a correction to your clip, it works fine on NTP 5.1 and 4.95. I did forget to add the other tags
      Message 2 of 9 , Feb 1, 2007
      • 0 Attachment
        Hi Mike,

        This is an image insertion clip all on it own, not a correction to your
        clip, it works fine on NTP 5.1 and 4.95. I did forget to add the other tags
        after the IMG. I've added it here, again it is all on one line:

        ^!InsertHtml <IMG ^?[(T=T;C=U;F="Image Files|*.gif;*.png;*.jpg;")Link to
        image] ALT="^?[Alt=^&]" />^P<p style="text-align: center;"> </p>^P^P

        Gives me this:
        <img src="earth_18.jpg" width="18" height="18" alt="Wala!" />
        <p style="text-align: center;"> </p>

        Jeff and Don are on the right track in correcting your clip when they point
        out that the StrLower is what is changing the case of your clip.

        Best,
        Corl

        _____

        From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
        Of Mike Breiding
        Sent: Thursday, February 01, 2007 9:29 AM
        To: ntb-clips@yahoogroups.com
        Subject: RE: [Clip] file case changing in clip



        At 09:08 AM 2/1/2007 , you wrote:
        >Hi Mike,
        >
        >See if this will work for you. Yahoo might wrap this to 2 lines, make this
        >clip 1 line.
        >
        >^!InsertHtml <IMG ^?[(T=T;C=U;F="Image Files|*.gif;*.png;*.jpg;")Link to
        >image] ALT="^?[Alt=^&]" />
        >
        >This is for XHTML and HTML strict, so you might want to delete the space
        and
        >the closing / at /> if you're using a different flavor HTML.
        >
        >Hope this helps,
        >Corl

        Hi Corl,
        I Could not get this to work with the clip I am using.
        All I need to do is change the part that changes the case.

        This is the line I need to change so it inserts inage files without
        cahnging the case.

        ;Insert image tag and information into document
        ^!InsertHtml <img src="^$StrLower("^%imagename%")$" width="^%ImgWidth%"
        height="^%ImgHeight%"title="^%TITLE%" alt="^%ALT%" />^p<p
        style="text-align: center;"> </p>^P^p

        [Non-text portions of this message have been removed]






        [Non-text portions of this message have been removed]
      • Sheri
        ... Without the StrLower function the clip line (which Yahoo will break into two lines which will have to be reassembled) should look like this: ^!InsertHtml
        Message 3 of 9 , Feb 1, 2007
        • 0 Attachment
          --- In ntb-clips@yahoogroups.com, Mike Breiding <gwlist@...> wrote:
          >

          > <img src="^("Img_7107.jpg")$" width="727" height="485"title="" alt="" />


          Without the StrLower function the clip line (which Yahoo will break
          into two lines which will have to be reassembled) should look like this:

          ^!InsertHtml <img src="^%imagename%" width="^%ImgWidth%"
          height="^%ImgHeight%"title="^%TITLE%" alt="^%ALT%" />

          Regards,
          Sheri
        • Mike Breiding
          ... That got it! I will change the hres version as well. Thanks to you both Don and Sheri. -Mike [Non-text portions of this message have been removed]
          Message 4 of 9 , Feb 1, 2007
          • 0 Attachment
            At 11:37 AM 2/1/2007 , you wrote:

            >Yes it is the StrLower that is giving you the grief.
            >Just deleter the "^$StrLower(
            >and the )$" leaving only
            >"^%imagename%"
            >
            >and I think you shall be golden.
            >
            >If this is the one that creates links to higher resolution images I
            >think we have it in there twice ...

            That got it! I will change the "hres" version as well.
            Thanks to you both Don and Sheri.

            -Mike

            [Non-text portions of this message have been removed]
          Your message has been successfully submitted and would be delivered to recipients shortly.