PDA

View Full Version : posting images



krissy
07-05-2012, 05:10 AM
so say i have a url i want to post, of an image say, right?
and i want to just paste into the reply text box like im doing now
and select it with my mouse and make it all dark like yeah
and then hit a button to put image tags over it
just like 'Wrap QUOTE tags around selected'
but 'Wrap IMG tags around selected'

who would i have to make out with to make this happen?

afaik hitting the 'insert image' button removes whatever's selected anyway, so if there's a way to get the js on that to be like 'hey nothing is selected, i will open up this window' vs 'oh hey this thing is selected, i'll just put tags around it'

i'm assuming it is javascript...is it something else?

the reason i ask is because that's way faster than going through the various clickings of the insert image button (i have to change to from url, and then deselect upload) and for me at least, is faster than typing out the tags too

i don't want to set up like browser macros for it or whatever
that also sounds like work

is there an option for this i'm just not seeing, or would it take a lot of coding?

Rantz
07-05-2012, 01:40 PM
I've been wanting that too. I'll have a look.

Jiro
07-06-2012, 02:42 AM
The insert image button and I have never gotten along so I just manually type out my IMG tags these days. It's not that more inefficient, really.

Del Murder
07-06-2012, 02:53 AM
Should be easy enough. Just copy the code for the QUOTE tag and change it to IMG. Or just replace the PHP button with IMG because why do we have a PHP button?

Back in the day I'd just go hard code this in but I don't want to undo the hard work MB and Rantz did to streamline the templates. But if I have time (and Pantz doesn't get to it first), I'll give it a look. I should try to familiarize myself with the vB4 layout anyway. It's been ages since I messed with templates.

Rantz
07-06-2012, 06:18 AM
I already made a "simple IMG" button. I just used the rep button graphic cause I'm lazy and wanted a quick button. What I've been trying to figure out is if there's a way to modify the regular image button's behaviour to what krissy said, or if we need to have both buttons.

Del Murder
07-06-2012, 07:11 AM
What's wrong with having both?

Rantz
07-06-2012, 08:02 AM
I just like complicating things. :D

Nah, but it struck me as a less neat solution, I guess. And it would require an extra template edit to get it on the quick reply toolbar. It's no biggie though, we can do that instead/in the meantime/whatevs.

krissy
07-06-2012, 05:05 PM
http://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Heart_diagram-en.svg/350px-Heart_diagram-en.svg.png

thank you baby

Tigmafuzz
07-07-2012, 03:27 AM
The insert image button and I have never gotten along so I just manually type out my IMG tags these days. It's not that more inefficient, really.

I do the same, and usually with quotes too, since I'm used to typing code all the damn time. But it would be nice to just highlight a link you already placed and go "well, that's supposed to be an image" and MAKE it an image with a single click.

EDIT: Thank you Rantz.

krissy
04-11-2013, 11:34 PM
sad sad sad
it dis-appeared

krissy
12-18-2014, 05:37 AM
can this happen again?

i can like code it up if you want i've done php before and all sorts of weird website crap