Selecting specific image sizes in g2image

erichorne

Joined: 2008-01-29
Posts: 8
Posted: Tue, 2008-01-29 15:44

I couldn't find a way to select a specific size using g2image v3.0.2.. When I upload a photo into gallery2, I have it create maybe 10 different sizes of the image. The plan is to use gallery2 as an image server and embed images from there into articles in my joomla site. However, g2image only allows either the thumbnail (too small, plus I'm using square thumbs) or the full size image (way too big).

Given v3.0.2, I have made modifications to the code to allow selecting a specific size (along with the full size) of the image when a "fullsize" insert type is selected. All other functionality seems to work as expected.

I'm wondering if there is any interest from the author in integrating my changes into v3.0.x, or making a patch available to those of us who need this functionality. I understand similar functionality is being worked on for v3.1 so this may just be a stopgap until 3.1 is out.

Any thoughts?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2008-02-06 14:07

Eric,

Thanks. I have that functionality working in SVN for G2Image 3.1. Life has gotten in the way of development for the past month, but I'm trying to get back into the code for a few weeks to get a beta of 3.1 out the door by the end of February.

Feel free to post any modded files here in the meantime, as a stopgap.

Cheers,
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
jens_k

Joined: 2007-01-28
Posts: 244
Posted: Wed, 2008-02-06 18:08

Thanks for your information. I would like this feature ;-)

Ciao,
Jens
__________________
http://jekophoto.de

 
mkeiser82

Joined: 2008-02-24
Posts: 2
Posted: Sun, 2008-02-24 16:55

Thank you much for this plugin. I am trying the 3.1 alpha SVN release, and the little I have tested everything is working great (I have a custom embedded environment). To me this takes a (already great) plugin and makes it truly useful. For my uses I never want a fullsize image, and rarely a thumb. I almost always want one of my custom mid-sizes.

This is great!

 
Michael47

Joined: 2009-01-11
Posts: 2
Posted: Mon, 2009-01-12 21:15

Hi

Quote:
Thanks. I have that functionality working in SVN for G2Image 3.1. Life has gotten in the way of development for the past month, but I'm trying to get back into the code for a few weeks to get a beta of 3.1 out the door by the end of February

I'm also very interesting by the image size feature. Have you some news.

Thanks
Michael

 
Michael47

Joined: 2009-01-11
Posts: 2
Posted: Tue, 2009-01-13 23:07

Hi
I try to install the G2 Image chooser V3.1, and I've some configuration problems:
In the PopUp windows I see the gallery structure and the title of the images, but not the images,

In the same configuration the Plugin V 3.03 works fine.

Somebody have a working configuration.php ?

Thanks
Michael

 
raulpober

Joined: 2009-04-25
Posts: 1
Posted: Sat, 2009-04-25 20:39

Not sure if there is still any interest, but I have the code required to modify g2image 3.0.3 so that full size images can be scaled to any size here: http://www.pldr.org/?p=260

 
jeffj

Joined: 2007-11-09
Posts: 37
Posted: Mon, 2010-04-19 13:00

@Kirk: Thanks for your invaluable tool! It has greatly expedited my workflow of inserting photos from Gallery2 into my Joomla articles.

Did g2image 3.1 beta ever get released? If so, I missed it.

To me this is a big wanted feature: to be able to choose which image size to link to when inserted into the article. To have a tiny thumbnail or a high resolution version is not realistic for most web articles. For one thing, it just takes too long for the photos to be loaded into my posts when readers load the web page.

Furthermore, my blog articles are getting imported into Facebook Notes, and there is a limit in terms of size imported into Facebook. All photos in my blog posts that are thumbnails are successfully imported into Facebook Notes; however none of the other photos will show up, because they're too large (even 1024 pixels wide is too large to be imported into Facebook Notes).

My workaround is to simply edit each linked image by adjusting the number (in each link) to the version size I want of the photo. For me, it's usually around 480 to 640 pixels wide, not the 1024 pixel version G2 Image Chooser selects. So I just add three to the number in the link. Tedious.

It would be great if g2image Chooser could allow me to set a default insertion size, as well as a give me a choice to override that default when inserting a photo.

Thanks again, and I look forward to seeing if this feature makes it into the next release of g2image Chooser

--
Jeff Johnston
http://johnstonjournal.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-04-19 14:19

The G2Image version that ships with my G2Bridge for geeklog contains the ability to choose resizes.
screenshots http://www.flashyourweb.com/staticpages/index.php?page=G2Image

You'd only need to replace g2image.php and /jscripts/functions.js

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
jeffj

Joined: 2007-11-09
Posts: 37
Posted: Tue, 2010-05-04 02:25
suprsidr wrote:
The G2Image version that ships with my G2Bridge for geeklog contains the ability to choose resizes.
screenshots http://www.flashyourweb.com/staticpages/index.php?page=G2Image

You'd only need to replace g2image.php and /jscripts/functions.js

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

@Suprsidr, it looks like a great option, if I wanted to install Geeklog... but what if I don't want to use Geeklog?
--
Jeff Johnston
http://johnstonjournal.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-05-04 10:54
Quote:
You'd only need to replace g2image.php and /jscripts/functions.js

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2