Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
994 views
in Plugins by
I want to when I click a button image shows is there a way to do this
by
You'll have to be more specific than this.
by
I think he mean that you can click on embeded image to see enlarged view of image. That feature would be nice, besides you can use lightbox or something similar.

1 Answer

+2 votes
by
selected by
 
Best answer
Okay, I've added a thickbox alternative for the image embedding; this isn't what you asked for, but it's better, I think... for what you want, you just have to edit the embed plugin and change the output code in qa-embed-layer.php
by
I tried plugin and it is awsome thanks a lot but it writes

"
Notice: Undefined offset: 2 in /home/content/00/8497000/html/qa-include/qa-app-format.php(1265) : eval()'d code on line 60

Notice: Undefined offset: 2 in /home/content/00/8497000/html/qa-include/qa-app-format.php(1265) : eval()'d code on line 60

Notice: Undefined offset: 2 in /home/content/00/8497000/html/qa-include/qa-app-format.php(1265) : eval()'d code on line 60

Notice: Undefined offset: 2 in /home/content/00/8497000/html/qa-include/qa-app-format.php(1265) : eval()'d code on line 60"

on all answers and questions what should I do ?
by
Thanks, for me thickbox is working, but text after image is automatically linked to image.

And "Thickbox thumb size (square)" doesn't saves.
by
@another one, do you have this notice too?
by
No. Notices are not harmfull so you can just turn them off (using error_reporting(0);) so they doesn't show up.
by
how can I turn off ?
by
Put "error_reporting(0);" after "<?php" in "qa-page.php" file
by
thanks a lot
by
what should we do for solve this problem ?
by
You can hope for NoahY to respond.
by
Okay, should be working now - the original idea was to get the remote image and convert it to a thumbnail on the fly; that seems like a bad idea in retrospect, because the server takes a hit for it.  Now, the thumbnail is just the image but with artificial size constraints.  The upside is it will make thickbox loading instantaneous.
by
edited by
it works fine thanks a lot you are the best :)
by
how can i change "close or esc" to my language where are they ?
by
they are in thickbox.js.  if you want to change them, you're better off using the unpacked version of thickbox, as I don't think replacing them in the packed script will work.
by
edited by
ok i did thanks again

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...