473,657 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 23 '05 #1
2 1975
"Bill" <rr****@dragonb bs.com> skrev i meddelandet
news:aa******** *************** ***@posting.goo gle.com...
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
Thanks for the info. I'll have to double check but I don't think ebay
allows the iframe tag.

"Joakim Braun" <jo**********@j fbraun.removeth is.com> wrote in message news:<Xy******* ***********@nnt pserver.swip.ne t>...
"Bill" <rr****@dragonb bs.com> skrev i meddelandet
news:aa******** *************** ***@posting.goo gle.com...
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2716
by: DOK | last post by:
I'm creating an ad for eBay and want to keep the page condensed. I have 6 images - different views of an antique lap steel guitar - that need to show superb detail. I have cropped the images to take up a full webpage width. However, I don't want to put all six images on the page. I thought I could use icons as the trigger for displaying the images one by one. I cropped the six images down to small (but identifiable) icons. Is there...
9
3824
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web site for a small club I belong to and one of the features I would like to include is the ability to allow users to upload image files. unfortunately the servers web root www folder only allows READ and EXECUTE permissions, which makes it...
1
1700
by: TrueEmpath | last post by:
I'm trying to create a simple custom control that displays an animation composed of separate image files. However, I'm having trouble with how exactly I use the imported images with the control. When I try to add the custom control to my other project, an error message pops up telling me the file could not be found. I placed the images being used in the same directory in each project, yet I still get this error. Does anyone have an idea on how I...
5
13348
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.