Request for new "How to Insert" option

tmmgeekette

Joined: 2004-03-15
Posts: 30
Posted: Tue, 2008-07-29 03:51

Hi,

I use wp 2.6 and wpg2 3.0.7.

I think what I'm looking to do is not supported currently (or maybe it is and I don't know how to get it done without hacking the code), but I want to be able to add a fullsized image to my post with a LightBox link to Fullsized Image. Sounds redundant, but I always resize fullsized images on my blog to 520px anyway, which is the maximum size that will fit with the theme I'm using. I want to be able to click on this image and have it open the fullsized image in a lightbox.

The other option "Thumbnail with LightBox link to Fullsized Image" of course uses a thumbnail which when resized to a larger size looks horrible.
"
Can you add a new "How to Insert" option like "Resized image with LightBox link to fullsized Image"

-Tania

 
OzDamian

Joined: 2008-04-30
Posts: 35
Posted: Tue, 2008-07-29 05:44

You can (unless I am misunderstanding what you want to do), in the popup window where you select the image, "Insertion Option"
WPG2 tag "size" attribute (Leave blank for the default size of: 150px)
Type 520px in the box or what ever you want.

 
tmmgeekette

Joined: 2004-03-15
Posts: 30
Posted: Tue, 2008-07-29 13:46

Yes, it is possible to resize the image and have it be lightbox'd but, afaik, that is only possible if I insert the image using WPG2 tags, which I don't use because I crosspost 99% most of my blog entries to livejournal. And livejournal can't display images with these tags. It requires good old fashioned <img src=xxx> html code.

I hacked a new option into my copy of wpg2 last night. It was pretty easy to add and it does exactly what I want but of course my request for it to be added to official release still stands. :)

 
tmmgeekette

Joined: 2004-03-15
Posts: 30
Posted: Tue, 2008-07-29 14:15

Actually, since I already have it done for my own copy, is there a place I should put the code changes I made so they can be reviewed by the project members here? It was pretty easy to add but I feel better contributing than sitting demanding to have grapes hand fed to me. ;)

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-07-30 04:07

WPG2 Tags already have this facility <wpg2>id:size</wpg2> If you have code changes then I always welcome patches :)

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo