By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,509 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,509 IT Pros & Developers. It's quick & easy.

Images for ebay count files in directory

P: n/a
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
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Bill" <rr****@dragonbbs.com> skrev i meddelandet
news:aa**************************@posting.google.c om...
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.


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
Jul 23 '05 #2

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

"Joakim Braun" <jo**********@jfbraun.removethis.com> wrote in message news:<Xy******************@nntpserver.swip.net>...
"Bill" <rr****@dragonbbs.com> skrev i meddelandet
news:aa**************************@posting.google.c om...
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.


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

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.