Images for ebay count files in directory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill

    Images for ebay count files in directory

    I have looked up and down for a solution to this problem without any
    luck.
    I sell stuff on ebay. ebay will allow me to place javascript in my
    listings which I use to show a series of thumbnails of my item. In my
    script I have a variable that defines the number of pictures of that
    item.
    What I would like to do is have the script determine the number of
    pictures in the directory. I host the pictures on my own server and I
    can turn on directory browsing, if that helps. I could also run a
    server sided script to determine that number but I don't know how to
    call that script from the ebay page. I'm pretty much a hack and a
    beginner at programming so I need this to be a pretty basic solution.
    Thanks for any help.

    Bill
  • Joakim Braun

    #2
    Re: Images for ebay count files in directory

    "Bill" <rr8080@dragonb bs.com> skrev i meddelandet
    news:aae75dc3.0 411280955.231d7 cfb@posting.goo gle.com...[color=blue]
    > I have looked up and down for a solution to this problem without any
    > luck.
    > I sell stuff on ebay. ebay will allow me to place javascript in my
    > listings which I use to show a series of thumbnails of my item. In my
    > script I have a variable that defines the number of pictures of that
    > item.
    > What I would like to do is have the script determine the number of
    > pictures in the directory. I host the pictures on my own server and I
    > can turn on directory browsing, if that helps. I could also run a
    > server sided script to determine that number but I don't know how to
    > call that script from the ebay page. I'm pretty much a hack and a
    > beginner at programming so I need this to be a pretty basic solution.
    > Thanks for any help.[/color]

    Instead, maybe the script could add an iframe to the page, then have the
    page shown in the iframe generate the thumbnails server-side based on a
    directory name that you provide.

    Say you create an iframe and set its src to
    http://www.example.com/makethumbnail...temdir=somedir. The PHP file
    harvests the query string, scans the somedir directory and generates a HTML
    page with thumbnails for the images in that directory.

    Joakim Braun


    Comment

    • Bill

      #3
      Re: Images for ebay count files in directory

      Thanks for the info. I'll have to double check but I don't think ebay
      allows the iframe tag.



      "Joakim Braun" <joakim.braun@j fbraun.removeth is.com> wrote in message news:<Xypqd.184 52$1p.15808@nnt pserver.swip.ne t>...[color=blue]
      > "Bill" <rr8080@dragonb bs.com> skrev i meddelandet
      > news:aae75dc3.0 411280955.231d7 cfb@posting.goo gle.com...[color=green]
      > > I have looked up and down for a solution to this problem without any
      > > luck.
      > > I sell stuff on ebay. ebay will allow me to place javascript in my
      > > listings which I use to show a series of thumbnails of my item. In my
      > > script I have a variable that defines the number of pictures of that
      > > item.
      > > What I would like to do is have the script determine the number of
      > > pictures in the directory. I host the pictures on my own server and I
      > > can turn on directory browsing, if that helps. I could also run a
      > > server sided script to determine that number but I don't know how to
      > > call that script from the ebay page. I'm pretty much a hack and a
      > > beginner at programming so I need this to be a pretty basic solution.
      > > Thanks for any help.[/color]
      >
      > Instead, maybe the script could add an iframe to the page, then have the
      > page shown in the iframe generate the thumbnails server-side based on a
      > directory name that you provide.
      >
      > Say you create an iframe and set its src to
      > http://www.example.com/makethumbnail...temdir=somedir. The PHP file
      > harvests the query string, scans the somedir directory and generates a HTML
      > page with thumbnails for the images in that directory.
      >
      > Joakim Braun[/color]

      Comment

      Working...