Insert Custom Size with Link to Parent Album

NateEaton

Joined: 2005-11-04
Posts: 1
Posted: Sun, 2007-11-18 05:07

This is a great tool! I'm using it with the Joomla Gallery2 Bridge and it is a big improvement over having to add images to the Media Manager before inserting into content.

The two things I wish it supported were:
1) Add an option to link to parent album when inserting full sized image (similar to the option available for thumbnails).
2) Add option to specify px or pct size when inserting a full sized image (i.e., ability to insert a "custom" size image).

I'd greatly appreciate these features. Would add them myself but though I have a basic understanding of PHP and JavaScript the overall design of g2image is a bit over my head.

Thanks,
Nate Eaton

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Sun, 2007-11-18 12:59

Nate,

Thanks for the comments. I actually already had both of those on my to-do list.

1) I just finished this last night. It's in the SVN snapshot. (It's fairly stable, but use at your own risk and all of the usual SVN warnings....)

2) As soon as I'm done refactoring the insertion methods, I'm going to work on getting the G2 resizes and then based on a user entered height and width, pick the next largest image and insert height= and width= attributes, maintaining aspect ratio based on whichever is most limiting of height or width. (Using the next largest among the resizes and the original will make sure that it renders by shrinking instead of growing, which looks better in browsers.)

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