Discovery Gaming Community
HTML programmer or something else needed for a tiny job - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: The Community (https://discoverygc.com/forums/forumdisplay.php?fid=4)
+--- Forum: Real Life Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=16)
+--- Thread: HTML programmer or something else needed for a tiny job (/showthread.php?tid=165297)

Pages: 1 2


HTML programmer or something else needed for a tiny job - evanz - 10-18-2018

i need someone that can easily code just what im thinking would be a couple of lines of code

my post

https://discoverygc.com/forums/showthread.php?tid=160172

could some code something that would copy paste an image url/link into an input box

it then adds the needed img and t bits and then copies back into the clipboard

make it possibly a small tab command or something into a browser

ive not got a clue how to do this


RE: HTML programmer or something else needed for a tiny job - Nerva Regis - 10-18-2018

Soooo....something like this?
[Image: ojKt0yt.gif]

Edit: I can add more options when I have some free time.


RE: HTML programmer or something else needed for a tiny job - evanz - 10-18-2018

close but the end result needs to be like this

[ url=https://i.imgur.com/mXeCqhP.jpg][ img]https://i.imgur.com/mXeCqhPt.jpg[/img][/url]

the full link, with the [ img] bits and the t

then a button to copy that to clipboard


RE: HTML programmer or something else needed for a tiny job - Nerva Regis - 10-18-2018

Oh, yeah. forgot about the hyperlink.


RE: HTML programmer or something else needed for a tiny job - Nerva Regis - 10-18-2018

[Image: OO5vbNht.png]

Will finish the rest of the options later.


RE: HTML programmer or something else needed for a tiny job - evanz - 10-18-2018

thats it!!

but add the normal thumbnail, the t option, make that the 1st option as a "standard" option to click on

then if possible, would that be able to be made into a right click option in a browser or possibly, when someone has highlighted or copied a link, it pastes it into your input bit and it automatically creates the link, and then the user clicks the "create" button that then copies the new full url into the clipboard ready to paste?


RE: HTML programmer or something else needed for a tiny job - Nerva Regis - 10-18-2018

But the 't' one is the first one already XD.
I can make it to automatically copy the link to your clipboard. But, I would rather add a copy link button.
As for right click, uhm, although possible I would not want to go that direction. It won't be that hard to press two buttons XD


RE: HTML programmer or something else needed for a tiny job - evanz - 10-18-2018

yep sorry your right, i forgot it was the small thumbnail option

brilliant so far

keep it as a copy link button, forget the right click method

when this is done to how i need it, name a ship and 20 mill credits will be given


RE: HTML programmer or something else needed for a tiny job - Nerva Regis - 10-18-2018

https://codepen.io/Nervy/full/WaJQwW

There you go. It should be pretty intuitive
- Link goes in the text box
- Then you choose whatever size you want for the thumbnail
- Use the button bellow to select the entire link - > Ctrl+C and you got your link.
Also, in case @Corile and @Laz and @JS Gods try to bully me for JS - this one protects me [Image: KsDpsQ3.gif]

Other plans: Yup, add more variation to for the thumbnail size.


RE: HTML programmer or something else needed for a tiny job - evanz - 10-18-2018

thanks for that, but theres an error

[ url=https://i.i.imgur.com/CU1zx4h.png][ img]https://i.i.imgur.com/CU1zx4h.pngt.png[ /img][ /url]

i.i.

only needs the i. not 2

also the t needs to be before the .png

which will probably be the same for the others

and theres 2 of the .png (or jpg depends on imgur)

[Image: bXjrwMh.png]