Topic started by BillyTheCrab 25-12-2009 07:51:58


BillyTheCrab
BillyThePaperboy
Offline

Topic: Pls add something to Image Dump

Make it so you can just click the picture to go to the next one. It gets lame going back, clicking thumbnail, going back, clicking thumbnail.

It would be awesome if we could do like a slideshow, or make it so you can click "next picture" or SOMETHING!

ilu kossu

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png

Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline

Re: Pls add something to Image Dump

o rly

ZtUPid0
BARDTARDED
Offline

Re: Pls add something to Image Dump

"Random pic"

http://upit.cc/images/b71eba7c.jpg


BillyTheCrab
BillyThePaperboy
Offline

Re: Pls add something to Image Dump

ZtUPid0 wrote:

"Random pic"

this this this

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png

Unholy
gone
Offline

Re: Pls add something to Image Dump

this was suggested like 5 years ago

but kossu is a fgt etc

http://img9.imageshack.us/img9/9240/dv4tb.gif


BillyTheCrab
BillyThePaperboy
Offline

Re: Pls add something to Image Dump

Unholy wrote:

this was suggested like 5 years ago

but kossu is a fgt etc

I suggested it like 5 years ago rofl

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png

.essence
BARDTARDED
Offline

Re: Pls add something to Image Dump

BillyTheCrab wrote:
Unholy wrote:

this was suggested like 5 years ago

but kossu is a fgt etc

I suggested it like 5 years ago rofl

me too.


and kossu acted like he didn't know what i was talking about

http://i15.photobucket.com/albums/a359/rustinr/backabackabcacbk.png
<Ross>: at 10 i didnt know what supermarket meant
               <Rai1> dude wait         <Rai1> i gotta find that paris hilton song                <Rai1> its banging

Brick Tamland
BARDTARDED
Offline

Re: Pls add something to Image Dump

IMAGEDUMP WAS LAST UPDATED 5 YRS AGO [ogsadface

http://upit.cc/images/13b1ec33.gifhttp://upit.cc/images/acbbbddf.png

Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline

Re: Pls add something to Image Dump

wait what, how old is image dump?

Unholy
gone
Offline

Re: Pls add something to Image Dump

around 5 years.

http://img9.imageshack.us/img9/9240/dv4tb.gif


BillyTheCrab
BillyThePaperboy
Offline

Re: Pls add something to Image Dump

Unholy wrote:

around 5 years.

It'll be 6 years in February.

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png

Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline

Re: Pls add something to Image Dump

oh, what features do you want? ill pass them onto Kossu


BillyTheCrab
BillyThePaperboy
Offline

Re: Pls add something to Image Dump

Pissoutmyass wrote:

oh, what features do you want? ill pass them onto Kossu

http://www.wpge.org/post/93730/#p93730

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png


CHOEDY
BARDTARDED
Offline

Re: Pls add something to Image Dump

I need to add my entire image collection to the image dump.

http://upit.cc/images/ea6019f2.gifhttp://img14.imageshack.us/img14/6355/qtip2s.jpghttp://upit.cc/images/8b44bb2a.gif
Fuckyourmum


I-X-King-X-I
BARDTARDED
Online

Re: Pls add something to Image Dump

HOFDY wrote:

I need to add my entire image collection to the image dump.

that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing

http://upit.cc/images/6169cd57.jpg


CHOEDY
BARDTARDED
Offline

Re: Pls add something to Image Dump

I-X-King-X-I wrote:
HOFDY wrote:

I need to add my entire image collection to the image dump.

that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing

my collections is over 10,000 images.

http://upit.cc/images/ea6019f2.gifhttp://img14.imageshack.us/img14/6355/qtip2s.jpghttp://upit.cc/images/8b44bb2a.gif
Fuckyourmum

ZtUPid0
BARDTARDED
Offline

Re: Pls add something to Image Dump

HOFDY wrote:
I-X-King-X-I wrote:

that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing

my collections is over 10,000 images.

Do it.

http://upit.cc/images/b71eba7c.jpg


jam
Member
Offline

Re: Pls add something to Image Dump

import java.io.*;
import java.net.*;

public class wg {
	public static void main(String args[]) {
		wg WG = new wg();
	}
	
	public wg() {
		try {
			URL threads[] = new URL[200];
			URL mainUrl = new URL("http://orz.4chan.org/wg/");
			String mainDelimiterStart = "&nbsp; [<a href=\"";
			String mainDelimiterEnd = "\">Reply</a>]</span>";
			
			logwriter = new BufferedWriter(new FileWriter("./wg/_log.txt", true));
			BufferedReader reader = null;
			int count = 0;
			for(int i = 0; i <= 10; i++) {
				URL imgboard = null;
				if(i == 0)
					imgboard = new URL(mainUrl + "imgboard" + ".html");
				else
					imgboard = new URL(mainUrl + String.valueOf(i) + ".html");
				reader = new BufferedReader(new InputStreamReader(imgboard.openStream()));
				String str;
				while((str = reader.readLine()) != null) {
					if(str.contains(mainDelimiterStart) && str.contains(mainDelimiterEnd))
						threads[count++] = new URL(mainUrl + str.substring(str.indexOf(mainDelimiterStart) + mainDelimiterStart.length(), str.lastIndexOf(mainDelimiterEnd)));
				}
				reader.close();
			}
			
			String opFileDelimiterStart = "File : <a href=\"";
			String opFileDelimiterEnd = "\" target=\"_blank\">";
			String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
			String fileDelimiterEnd = "\" target=\"_blank\">";
			for(URL threadUrl : threads)
				if(threadUrl != null) {
					reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
					String str;
					while((str = reader.readLine()) != null) {
						if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
						else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
					}
					reader.close();
				}
			
			logwriter.flush();
			logwriter.close();
			log("Application executed.");
		}
		catch(Exception e) {
			e.printStackTrace();
		}
	}
	
	public void download(URL theURL) {
		try {
			if(!DownloadFile(theURL))
				log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			else
				log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
		}
		catch(IOException ioe) {
			log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			log("<< << IOException: " + ioe.getMessage());
		}
	}
	
	public boolean DownloadFile(URL theURL) throws IOException {
		String theFile = "./wg/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
		if((new File(theFile)).exists())
			return true;
		
		URLConnection con;

		con = theURL.openConnection();
		con.connect();

		String type = con.getContentType();

		if (type != null) {
			byte[] buffer = new byte[4 * 1024];
			int read;

			String[] split = type.split("\"");

			FileOutputStream os = new FileOutputStream(theFile);
			InputStream in = con.getInputStream();

			while ((read = in.read(buffer)) > 0) {
				os.write(buffer, 0, read);
			}

			os.close();
			in.close();

			return true;
		}
		else {
			return false;
		}
	}
	
	public void log(Object o) {
		try {
			logwriter.write(String.valueOf(o) + "\r\n");
			System.out.println(o);
		}
		catch(IOException e) {
		}
	}
	
	public BufferedWriter logwriter = null;
}
import java.io.*;
import java.net.*;

public class chan {
	public static void main(String args[]) {
		chan CHAN = new chan(args);
	}
	
	public chan(String args[]) {
		try {
			this.args = args;
			URL threads[] = new URL[200];
			URL mainUrl = new URL(args[0]);
			String mainDelimiterStart = "&nbsp; [<a href=\"";
			String mainDelimiterEnd = "\">Reply</a>]</span>";
			
			logwriter = new BufferedWriter(new FileWriter("./" + args[1] + "/_log.txt", true));
			BufferedReader reader = null;
			int count = 0;
			for(int i = 0; i <= 10; i++) {
				URL imgboard = null;
				if(i == 0)
					imgboard = new URL(mainUrl + "imgboard" + ".html");
				else
					imgboard = new URL(mainUrl + String.valueOf(i) + ".html");
				reader = new BufferedReader(new InputStreamReader(imgboard.openStream()));
				String str;
				while((str = reader.readLine()) != null) {
					if(str.contains(mainDelimiterStart) && str.contains(mainDelimiterEnd))
						threads[count++] = new URL(mainUrl + str.substring(str.indexOf(mainDelimiterStart) + mainDelimiterStart.length(), str.lastIndexOf(mainDelimiterEnd)));
				}
				reader.close();
			}
			
			String opFileDelimiterStart = "File : <a href=\"";
			String opFileDelimiterEnd = "\" target=\"_blank\">";
			String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
			String fileDelimiterEnd = "\" target=\"_blank\">";
			for(URL threadUrl : threads)
				if(threadUrl != null) {
					reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
					String str;
					while((str = reader.readLine()) != null) {
						if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
						else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
					}
					reader.close();
				}
			
			logwriter.flush();
			logwriter.close();
			log("Application executed.");
		}
		catch(Exception e) {
			e.printStackTrace();
		}
	}
	
	public void download(URL theURL) {
		try {
			if(!DownloadFile(theURL))
				log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			else
				log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
		}
		catch(IOException ioe) {
			log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			log("<< << IOException: " + ioe.getMessage());
		}
	}
	
	public boolean DownloadFile(URL theURL) throws IOException {
		String theFile = "./" + args[1] + "/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
		if((new File(theFile)).exists())
			return true;
		
		URLConnection con;

		con = theURL.openConnection();
		con.connect();

		String type = con.getContentType();

		if (type != null) {
			byte[] buffer = new byte[4 * 1024];
			int read;

			String[] split = type.split("\"");

			FileOutputStream os = new FileOutputStream(theFile);
			InputStream in = con.getInputStream();

			while ((read = in.read(buffer)) > 0) {
				os.write(buffer, 0, read);
			}

			os.close();
			in.close();

			return true;
		}
		else {
			return false;
		}
	}
	
	public void log(Object o) {
		try {
			logwriter.write(String.valueOf(o) + "\r\n");
			System.out.println(o);
		}
		catch(IOException e) {
		}
	}
	
	public BufferedWriter logwriter = null;
	public String args[] = null;
}
import java.io.*;
import java.net.*;

public class thread {
	public static void main(String args[]) {
		thread CHAN = new thread(args);
	}
	
	public thread(String args[]) {
		try {
			this.args = args;
			File f = new File("./" + args[1] + "/");
			if(!f.exists())
				f.mkdir();
			URL threads[] = new URL[200];
			threads[0] = new URL(args[0]);
			String mainDelimiterStart = "&nbsp; [<a href=\"";
			String mainDelimiterEnd = "\">Reply</a>]</span>";
			
			logwriter = new BufferedWriter(new FileWriter("./" + args[1] + "/_log.txt", true));
			BufferedReader reader = null;

			String opFileDelimiterStart = "File : <a href=\"";
			String opFileDelimiterEnd = "\" target=\"_blank\">";
			String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
			String fileDelimiterEnd = "\" target=\"_blank\">";
			for(URL threadUrl : threads)
				if(threadUrl != null) {
					reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
					String str;
					while((str = reader.readLine()) != null) {
						if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
						else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
							String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
							log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
							download(new URL(parsed));
						}
					}
					reader.close();
				}
			
			logwriter.flush();
			logwriter.close();
			log("Application executed.");
		}
		catch(Exception e) {
			e.printStackTrace();
		}
	}
	
	public void download(URL theURL) {
		try {
			if(!DownloadFile(theURL))
				log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			else
				log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
		}
		catch(IOException ioe) {
			log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
			log("<< << IOException: " + ioe.getMessage());
		}
	}
	
	public boolean DownloadFile(URL theURL) throws IOException {
		String theFile = "./" + args[1] + "/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
		if((new File(theFile)).exists())
			return true;
		
		URLConnection con;

		con = theURL.openConnection();
		con.connect();

		String type = con.getContentType();

		if (type != null) {
			byte[] buffer = new byte[4 * 1024];
			int read;

			String[] split = type.split("\"");

			FileOutputStream os = new FileOutputStream(theFile);
			InputStream in = con.getInputStream();

			while ((read = in.read(buffer)) > 0) {
				os.write(buffer, 0, read);
			}

			os.close();
			in.close();

			return true;
		}
		else {
			return false;
		}
	}
	
	public void log(Object o) {
		try {
			logwriter.write(String.valueOf(o) + "\r\n");
			System.out.println(o);
		}
		catch(IOException e) {
		}
	}
	
	public BufferedWriter logwriter = null;
	public String args[] = null;
}
http://valid.canardpc.com/cache/banner/1081040.png
http://bfbc2.elxx.net/sig/clean9/pc/IamJam.png


Splice
BARDTARDED
Offline

Re: Pls add something to Image Dump

HOFDY wrote:
I-X-King-X-I wrote:

that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing

my collections is over 10,000 images.

thats cause you're el creepo

http://img707.imageshack.us/img707/6513/jerseyshore.gif


BillyTheCrab
BillyThePaperboy
Offline

Re: Pls add something to Image Dump

I-X-King-X-I wrote:
HOFDY wrote:

my collections is over 10,000 images.

i had a noob 6k on my first one
then i reformatted
then i had 17k on my old hard drive
haven't saved any at all on this computer

lol is this some kind of competition? hmm

stuff: "I am in process of redoing my entire wardrobe"
http://upit.cc/images/84934087.png
http://img58.imageshack.us/img58/5049/74iu9.pnghttp://www.wpge.org/img/avatars/74.png


CHOEDY
BARDTARDED
Offline

Re: Pls add something to Image Dump

BillyTheCrab wrote:
I-X-King-X-I wrote:

i had a noob 6k on my first one
then i reformatted
then i had 17k on my old hard drive
haven't saved any at all on this computer

lol is this some kind of competition? hmm

mine is mostly lolcats and gifs his is probably jungle bitches covered in baby oil.

http://upit.cc/images/ea6019f2.gifhttp://img14.imageshack.us/img14/6355/qtip2s.jpghttp://upit.cc/images/8b44bb2a.gif
Fuckyourmum


stuff
BARDTARDED
Offline

Re: Pls add something to Image Dump

hoedy has over 9000 images.

http://valid.canardpc.com/cache/banner/1000016.png

http://bfbc2.elxx.net/sig/clean9/pc/stuff%252e.png

Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline

Re: Pls add something to Image Dump

mk updated image dump with random picture and now you can goto next picture by clicking it. Also I coded an eastern egg if someone can find it lol (involves Americans being stupid)

ZtUPid0
BARDTARDED
Offline

Re: Pls add something to Image Dump

And now it's a lot better! smile


Now we just need HOFDY's pics.

http://upit.cc/images/b71eba7c.jpg


CHOEDY
BARDTARDED
Offline

Re: Pls add something to Image Dump

make it so when i'm viewing an image the header is still at the top of the page

http://upit.cc/images/ea6019f2.gifhttp://img14.imageshack.us/img14/6355/qtip2s.jpghttp://upit.cc/images/8b44bb2a.gif
Fuckyourmum