Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-05-13 20:00:00

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

See my edited post just above.


Code is topiary

Offline

#32 2009-05-13 20:26:40

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 981
Website

Re: soo_image: simple yet powerful image tags

Perfect!

Will all of these modifications make it into a future version, or should I exercise caution when upgrading?

Offline

#33 2009-05-13 21:19:40

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

johnstephens wrote:

Will all of these modifications make it into a future version, or should I exercise caution when upgrading?

All of them have made it in. Thanks again for your help working this out. Lovely site, by the way. May I point to the link above for an example of using soo_image with Slimbox?


Code is topiary

Offline

#34 2009-05-13 21:53:57

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 981
Website

Re: soo_image: simple yet powerful image tags

All of them have made it in. Thanks again for your help working this out.

Mr. Soo, you work with grace and speed! Thank you!

Lovely site, by the way. May I point to the link above for an example of using soo_image with Slimbox?

Sure.

Offline

#35 2009-05-14 14:48:11

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

Just released version 1.0 alpha 3 (get it here). Now allows soo_image_select to be used either as a single tag or container tag. Helpful if you have an article with a one-off image format and you don’t want to create a new form for it.


Code is topiary

Offline

#36 2009-05-17 21:57:17

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

v 1.0 alpha 4 just posted:

  • Added soo_exif and related tags for reading and displaying EXIF metadata
  • Can now enter ranges of ids (e.g., “44-48, 12-9”) for article image or soo_image_select id
  • Fixed bug in aspect ratio using ratio syntax (e.g., “4:3” or “4/3”)

Documentation updated to reflect the changes. Information and examples of the new EXIF-related tags can be seen here and here.

Last edited by jsoo (2009-05-17 21:57:48)


Code is topiary

Offline

#37 2009-07-05 15:54:55

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

Promoted from alpha to beta: now at version 1.0.b.1

Important This is a major upgrade, because the underlying library has been overhauled. Use care when upgrading an existing soo_image site; I don’t expect issues but YMMV. If you run Multidoc you will need to upgrade it at the same time.

New features include:

  • New link_to attribute for soo_image, allows you to preview a gallery on another page (demonstration)
  • soo_image_next can now be used before its associated soo_image_select tag
  • downshift to v2.0 of the GPL to match Txp license
  • Changes to the soo_image tag:
    • New attributes: title, link_class, link_id
    • New behavior: Setting any link-related attribute sets thumbnail and link to true

Full user guide, including download & installation instructions

Last edited by jsoo (2009-07-05 15:55:48)


Code is topiary

Offline

#38 2009-07-31 18:23:57

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,781
Website

Re: soo_image: simple yet powerful image tags

From a question in another thread, just a reminder that the <txp:soo_image /> tag takes an optional onclick attribute, which results in a linked thumbnail, the value of onclick getting passed through to the anchor element linking the image. Hence, a handy javascript hook. Example toward the bottom of this page from the soo_image documentation.


Code is topiary

Offline

#39 2009-08-22 03:04:39

cloudcontrol
New Member
Registered: 2009-08-22
Posts: 2

Re: soo_image: simple yet powerful image tags

Hi,

Great plugin (so far)! I’ve been hunting around for an image filter/gallery plugin that will let me paginate galleries. I tried smd_gallery, but it was a little too hard for me to wade through, and also it might have some conflicts with some of the other plugins I’m using, because it kept throwing errors.

I’m integrating with Highslide, which seems to work just fine (as promised!).

I have a small issue, however:

I’m using the ‘l10n’ multi-language plugin, and I’m guessing this may be what’s causing an error with the page links – see here:

http://www.projectbump.com/gruppo/gallery2/ – the URL for the prev/next links give me:

http://www.projectbump.com/gruppo/en/gruppo/highslide/highslide.css?soo_img_pg=2

instead of what I’m guessing should be:

http://www.projectbump.com/gruppo/en/gallery2/?soo_img_pg=2

This second URL (immediately above) works, and the prev/next links work fine, BUT the following page linked to (e.g. http://www.projectbump.com/gruppo/en/gruppo/gallery2/?soo_img_pg=3) has added another /gruppo/ after the language structure (/en/) and again generates impossible links which lead to 404.

The relevant code:

The article (section gallery2):

<txp:soo_image_prev link_text=“Prev” class=“prev” />
<txp:soo_image_next link_text=“Next” class=“next” />
<txp:soo_image_select category=“gallery” limit=“8” />

The soo_image form:

<txp:soo_image thumbnail=“1” link=“1” onclick=“return hs.expand(this,{captionId: ‘caption1’, align:‘center’})” class=“highslide” />

Help?

I also need to place a <hr /> in between each row of 6 thumbs, and I’m wondering is it possible to nest soo_image_select tags, or have them in parallel with pagination applying to the aggregate?

Thanks!

Last edited by cloudcontrol (2009-08-22 03:06:16)

Offline

#40 2009-08-22 06:49:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,577
Website

Re: soo_image: simple yet powerful image tags

cloudcontrol wrote:

I tried smd_gallery, but it was a little too hard for me to wade through, and also it might have some conflicts with some of the other plugins I’m using, because it kept throwing errors.

OT: Sorry to pollute this thread but if you are getting errors with smd_gallery and finding it tricky (it is a mind-bender for sure!) please would you post your findings on that plugin’s forum thread or send me an email with as much detail as you can so I can address them. If there are bugs I’d like to squash them, and if I can find better ways of doing things or making it easier to use then I’d like to do that too.

We now return to our regular broadcast…


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB