GetSimple Support Forum

Full Version: how to make automatic Lightbox for all images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to make automatic Lightbox for all images that are inserted through the ckeditor?
I don't think there's such a plugin, but you can use the fancybox plugin:
http://get-simple.info/extend/plugin/fan...lugin/404/
(2015-03-31, 02:02:05)datiswous Wrote: [ -> ]I don't think there's such a plugin, but you can use the fancybox plugin:
http://get-simple.info/extend/plugin/fan...lugin/404/

this plugin scripts taken from the admin, so even when the code to edit, you still have to manually do a link from thumbnails to large image.

I can put the scripts Fancybox or Lightbox manually, but friends do not know much about html and asked all automated. I would like to know whether it is possible to implement ckeditor so that he immediately put a link to the big picture with the class="fancybox"
you would probably need a ckeditor plugin.
if there is such a plugin for ckeditor, tell me, please, what is his name?
the plugins on the ckeditor website only lists compatibility version 4+ while gs is on 3.6-something, i think. so i dont know where you'd go to find what you're looking for. you might find something in the archived ckeditor forums.
There is a cke 4.x version...
of free plugins found http://ckeditor.com/addon/lightbox
only it creates a links like
<a class="ckelightbox ckelightboxgallery" href="http://mysite.com/data/uploads/folder/img.jpg" title="">http://mysite.com/data/uploads/folder/img.jpg</a>

may be possibly somehow fix the code was to tag img?
<a class="ckelightbox ckelightboxgallery" href="http://mysite.com/data/uploads/folder/img.jpg" title=""><img src="http://mysite.com/data/thumbs/folder/thumbnail.img.jpg" alt="" /></a>
Surprisingly there is not much and most are pretty crappy. I have used slimbox in the past, sounds like ckeditor just needs a decent thumbnail link plugin.