Page 1 of 9

Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 3:31 pm
by rgb
I get really irritated by all the pop-ups etc that you get on these imagevenue, imageshack, imagecrap sites.

So last night I threw this bit of code together for posting pics on BGAFD. It's as simple as I could make it - so there's no frills like image resizing etc. but it posts full size pics - not thumbnails...There might be a few bugs to iron out, but we'll see what happens.

If anyone is interested I'll smarten it up a bit.

So anyone - feel free to use it! If it starts getting abused, hacked etc, I might tighten up on it's use, but meantime feel free... Oh and there is a little advert for me under the pic !happy!

I'll regret this when I'm sober!

Go to http://www.rgbphotohost.com and follow the SIMPLE instructions.

This is what you get:

[img]http://www.rgbphotohost.com/images/alexa02.jpg[/img]
Picture hosting courtesy of UKPussyTalk.com


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:09 pm
by Moosebumps
Simplistic perfection personified :)

Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:09 pm
by BGAFD Admin
Nicely done. One thing: if there's a space in the image name it doesn't insert %20 to make the link valid.

e.g. [img]http://www.rgbphotohost.com/images/Leopard Logo.jpg[/img]

You can do it by hand after you've pasted it into your post but such tinkering might defeat the object of the exercise.

[img]http://www.rgbphotohost.com/images/Leopard%20Logo.jpg[/img]
Picture hosting courtesy of UKPussyTalk.com

Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:15 pm
by rgb
Good point, Admin. I think using "urlencode" somewhere might fix that.


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:20 pm
by Cenobitez
You also going to suffer from people using the same name, from the 1000s of photos I host, if I run a query on original file name, there are dozens of times there 'pic1' or 'me' or whatever has been used.

So you need to assign a unique name to each one. This also solves the space problem too :)

You will also need to use some sort of resizing incase people upload 4500px images and distort forums.

The list is endless.


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:20 pm
by The Toybox
Kimberly Scott (new DVD out now produced by The Toybox) says

"It's wanking good fun!"

And it works - as long as you don't have any spaces in your file name.

[img]http://www.rgbphotohost.com/images/Lily ... rsmall.jpg[/img]
Picture hosting courtesy of UKPussyTalk.com


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:28 pm
by rgb
I know, Cenobitez, it could be nightmare. At present it doesn't allow the same file name, it must be a jpeg and and it can't be bigger that 350k. I'm about to set the hotlinking so it only works on BGAFD. I'm going to keep a close eye for a while.


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:41 pm
by nikonman
[img][/img]
Picture hosting courtesy of UKPussyTalk.com

Just a testing to see if i can use new picture posting


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:43 pm
by The Toybox
You can't, because you have a space in your file name. Otherwise, it would work fine.


Re: Really EASY way to post pics on BGAFD

Posted: Sat Mar 07, 2009 4:54 pm
by Cenobitez
I started writing a script that turned into a nightmare, so I bought in coders from the states to work on it, and I have been testing it since august on bodmod.tv (closed community like your doing bgafd only) and now the code is fully stable and I have fixed most the problems, I have opened it to a wider audience :)