⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

uploaded images in fancybox



Mohammed Zayan
  • profile picture
  • Member

Posted 06 August 2012 - 10:38 AM

I want to use fancybox or any ather jquery plugin to view the uploaded images instead of view it in new tab
taht is I want to view the images like this

How can I do this?

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 11 August 2012 - 10:40 AM

[member='Mohammed Zayan']

I don't know if this will work for you in your JavaScript (don't forget to add all the css and js needed for fancybox):


$(function(){
$('.open-file').fancybox();
});


I planned it for the new version https://github.com/scoumbourdis/grocery-crud/issues/82 and hopefully will be included. The plan is to have thumbnail if it is an image and open as a fancybox rather than a new tab.

casachit
  • profile picture
  • Member

Posted 15 August 2012 - 11:18 AM

can we expect new version some where this month??

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 21 August 2012 - 06:34 AM

Probably at around 15th of September but not promising anything as it always depends of how much time I will have. If you want you can download the latest github release with the fancybox thumbnail feature included from https://github.com/s.../zipball/master . You can also check some print-screens of this functionality [attachment=252:2012-08-20_212654.png] [attachment=253:2012-08-20_212730.png] [attachment=254:2012-08-20_212921.png]