The Beta of G2Image Version 3.0 is out. Please download it here.
Checkout the demo here
Changes (v3.0 vs v2.2.3):
* GUI reorganization.
o Visual directory tree instead of breadcrumbs or HTML selector
o Insertion options on a fixed pane
o Ability to select multiple images for insertion with the current insertion options
* Switched from php array method of internationalization to the standard gettext method.
* Improved LightBox HTML tag by adding a variable slideshow group name (In 2.2.2 it defaulted to g2image)
* Added support for the "exactsize" attribute in the Drupal G2 Filter tag.
* Added "All" as a "thumbnails per page" option
Changes (v2.2.3 vs v2.0)
-Version 2.2.3 fixed a bug where albums with no titles did not show any text in the album selector. It now displays the album directory name if there is no album title.
-Version 2.2.2 fixed a bug in v2.2 and v2.2.1 where thumbnail and fullsized image URLs were incorrect if the Gallery2 directory was not /gallery2/
-Version 2.2.3 works with Gallery2 2.1 or higher. (Version 2.2 required G2 2.2. Thanks to Suprsidr and Valiant for helping to make it backwards compatible with G2 2.1.)
-Eliminated use of G2 ImageBlock call in the backend. This eases getting information about a Gallery2 item.
-Updated the Album selection so that it loads all albums in a tree and automatically reload the page on album selection.
-Added support for a LightBox HTML tag and fullsized image HTML tags.
-FCKEditor integration
-Cleaned up the GUI a little (made the "sort by" and "images per page" select boxes force a redraw automatically instead of requiring another button press.)
Notes:
-G2Image 3.0 requires Gallery2 2.1 or higher
-Wordpress users should download the WPG2 v3.0 SVN snapshot, which includes G2Image 3.0 beta in its entirety. G2Image 3.0 is not backwards compatible with WPG2 2.1 or earlier.
-Joomla JCE users should leave the file zipped and install it using the plugins manager under the JCE component.
Thanks to all who contributed ideas, language files, and beta testing,
Kirk
Posts: 41
Many thanks for your hard work. As per your changelog about future releases, this is my personal vote for the option to add a target= option to all inserted thumbs, so I can keep joomla content (stories) in the main window while users open the full-sized photo in a new tab.
Thanks again,
matt
Posts: 492
Matt,
Thanks for the feedback. I'll make sure to get it into 3.1. That's the second-most requested item on the "remaining-to-do list" behind variable image sizes. My goal is to get both of those into 3.1.
I had to almost completely rewrite the back end to get the full-size image insertion and multiple image selection into 3.0 and didn't want to introduce too many changes at once. It makes it easier to troubleshoot if there are fewer moving parts.
In the meantime, in WordPress you can achieve that effect using LightBox. Looking at the Joomla extensions, it doesn't look like there is a straight-forward lightbox-only extension like there is for WordPress, but it seems like you could just add their scripts, css, and images directories to your joomla directory and then include the scripts and css in the header and you'd have a simple lightbox setup. Then you'd have the same effect as a popup, without having to worry about popup blockers and forcing users to close an extra window.
I'll definitely add the target option, because several people have asked for it, but I think LightBox is a more elegant solution.
Cheers,
Kirk
Posts: 8
Ive been trying to get g2image working with my joomla site for the last few days.
I couldnt get it to work in tinyMCE or JCE but eventualy i got it working in joomlaFCK.
It was really easy to get it working with fck, i should have tried it earlier!
i installed the 3.0 beta, it looks really good and im sure it will be very helpful so thanks capt_kirk & co!
on the g2image wiki it says to come here to report any issues, so i hope im in the right place.
i think i might have found a problem, but im new to joomla, gallery2 and g2image so it might be my fault.
when i insert a pic with the "link to image" option selected it works as expected,
the "custom url" and the fullsize image with link to photo work fine aswell.
however, i get a problem when i try to link to an album,
both the thumbnail with link to parent album and text with link to album give give the no url.
if i right click on a thumbnail while still in fckeditor and go to the properties of the image,
i can see the url that it is pointing to.
the ones pointing to the photos have a url of something like :
/index.php?option=com_gallery2&Itemid=26&g2_itemId=1414&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT
and it works fine.
but any image that i have inserted to point to the parent album has no url info.
and when the page is rendered i get something like:
I fully accept that it might be something that i have done wrong,
but i cant figure it out because the image links fine to an individual photo but not an album.
some config stuff:
$g2ic_gallery2_path = 'gallery2/';
$g2ic_embedded_mode = TRUE;
$g2ic_use_full_path = FALSE;
$g2ic_gallery2_uri = 'http://www.[mysite].com/gallery2/main.php';
$g2ic_embed_uri = 'http://www.[mysite].com/index.php?option=com_gallery2&Itemid=26';
thanks again for g2image.
dlane99
Posts: 492
dlane99,
Thanks for finding and reporting a bug! Your description was very good and I found the cause in about three minutes. I've fixed it in SVN.
Until I release an update, please change line 368 in g2image.php (the second of these two lines) from
to
Posts: 8
capt_kirk,
no problem,
thanks for the fast reply and the quick fix,
will change the code when i get home.
im looking forward to using g2image with my website,
its going to come in very handy.
thanks again and keep up the good work!
dlane99
Posts: 6
Mén!
This is really great! I was already weeks trying to get version 1 of G2Image working in Xoops, with Xoopsgallery and the Content-module. So when i write stories in content i can insert thumbnails of gallery. But I could not find a way to get passed G2Bridge-function. But with version 3 of G2Image It works very fine, inside the FCKeditor that the Content-module uses.
One small problem: I downloaded the g2image-v3.0-beta.zip and followed the instructions. The zip contains the g2image-directory in small characters.... If you read the install-instruction very precisely they state to use:
But then i get the message (inside fckeditor) that g2image.path is not a propertie. So the best is to use only "G2Image" everywhere to avoid config-problems ;-)
Posts: 492
Poehoes,
Thanks for the feedback. I think that may be a Xoops content-module specific issue. G2Image works as documented with FCKEditor in WordPress, Joomla, and Drupal.
I'd like to make an Xoops-specific entry in the instruction. Just to be clear, it worked after you changed the directory name to G2Image and changed that line to FCKConfig.Plugins.Add( 'G2Image' ) ;, right?
The reason behind the lower case is that it was developed originally for TinyMCE which uses lowercase for all of its plugins. Several integrations have incorporated it with "g2image" as the directory name, and it would break them to change to the uppercase. So, if I can get the Xoops instructions correct, that would be great.
Thanks,
Kirk
Posts: 6
Sorry for late respons, yes everything works fine with "G2Image"!
I've been busy upgrading xoopsgallery from 2.1.2 to 2.2.3. If I find what has to be changed to have Xoops also use g2image i'll post it here again...