• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

In need of web gallery script for EBAY

kater1

Senior member
I am getting into listing alot of stuff on EBAY. I would like to put a picture gallery on each listing with the pictures hosted on my own site. This way I don't have to pay .10 a picture to EBAY.

I know I can just use HTML to insert pictures into each ad but that is time consuming.

Has anyone got any ideals on how to automate the process? It would have to do the following:

1. Be able to link to pictures outside of ebay.

2. Arrange photos in a gallery.

3. Produce html so it can be copied and pasted into ebay listings.

4. Make thumbnails that link to full size photos. Would prefer to open right on the auction page. No new window.


I have found lots of gallery generating software but they all want you to put your photos on the same website as the index page to the gallery is on. Even a flash gallery would work but it needs to use pictures outside of EBAY.


Thanks

Bill
 
My dad sells stamps, lots of them, and I wrote him a script. It is pretty basic and could use lots of improvement, but it does pretty much what you are asking...I think.

He puts all the pictures in a directory and this script will go in and generate html img tags for everything (php script) and then display the pictures. From there you copy the source of the page and paste it wherever you want.

It semi-works. :-/
 
That is what I am looking for. Something to automate giving photos a image tag so all I have to do Is copy and paste the html code.
 
That is what I am looking for. Something to automate giving photos a image tag so all I have to do Is copy and paste the html code.

Somebody could probably clean this code up for you, as I am a total hack with PHP, but here it is. Customize the lines that have ALL CAPS.

Code:
<body>
<div id="wrapper">
	
	
<table width="660" border="0" align="center" cellpadding="1" cellspacing="1">
<?php 
	$dir = opendir('RELATIVE OR ABSOLUTE PATH HERE/');
	while ($file = readdir($dir))
		echo "\n<tr><td align=\"center\"><img src=\"http://ABSOLUTE PATH TO DIRECTORY/$file\" width=\"IMAGE WIDTH HERE\" height=\"IMAGE HEIGHT HERE\"></td></tr>";
		echo "\n\n";
	
	closedir($dir);
?>

</table>


</div>
</body>

$dir = opendir - This is the path to the directory where the pictures are stored.
img src= - This is the full address used for generating a link
Height and Width can be anything you want, or unspecified.
Table dimensions can also be anything you want.

This little script just runs in a loop. It looks in a directory and if it finds something, it generates a link for that filename. It will generate a link for everything in the directory, and unfortunately I don't know how to exclude the . and .. so maybe somebody could fix that. Hint, hint. Otherwise just delete the links to those directories, you will see what I mean when you run it.

Let me know if this works for you.

EDIT: Here is the link of it working. The first auction page is the only one with the correct image sizes, the others were landscape so they are distorted.

http://www.itsabstract.com/ebay/auctions.php
 
Last edited:
Back
Top