Jump to content


Etogalthumb 1.1 Beta 1 Snippet (now beta 2)


  • You cannot reply to this topic
3 replies to this topic

#1 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 29 April 2006 - 04:21 PM

The EtoGalThumb 1.1 beta 1 snippet is now available from the download section.

This builds on the capabilities of the original EtoGalThumb snippet (described here ) in a number of ways:

- cooperates with EtoGal 1.1 beta 2 on the same page
- adds a parameter fullsize that renders EtoGalImage unnecessary (set fullsize=1)
- adds a number of additional replaceable strings for style definitions:
-- available throughout:
%%alias%% - the alias for the page specified by the link parameter
-- available for the image style text
%%size%% - image size in the format needed for the img tag
%%galias%% - alias for the gallery page in which the image is found
%%gtitle%% - longtitle for the gallery page
%%gdesc%% - description for the gallery page

Better documentation will eventually follow

#2 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 02 May 2006 - 04:58 PM

Replaced by EtoGalThumb11b1a

the beta 1 snippet had a bug that would cause incorrect generation of the file path for the image files if the gal parameter either was not used, or contained two or more galleries.

Apologies for any inconvenience that has been caused, and thanks to rinty for reporting the bug!

Edited by mikef, 02 May 2006 - 05:00 PM.


#3 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 09 May 2006 - 05:58 PM

Replaced by EtoGalThumb11b2

This version contains all the features planned for EtoGalThumb version 1.1; the only further changes should be bug fixes.

It adds to beta 1 additional features I found necessary when building EtoGalGallery, but hadn't previously passed back to EtoGalThumb, and a resize parameter that rinty wanted.
  • adds break specification to the styles and the parameters to control it (breakat and gallerybreak)
  • provides the necessary replaceable strings to allow building URLs with parameters, based on either the link parameter or the gallery for the current image (%%baseurl%%, %%gurl%%, %%sep%%)
  • adds a resize parameter (number of pixels on longest side) that adjusts the width and height in the %%size%% string

There are some examples on the EtoGalThumb pages on the EtoGal test site. (these will be tidied up somewhat later; they are mainly laid out as test pages at present.)

#4 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 27 August 2006 - 02:13 PM

View Postmikef, on May 9 2006, 06:58 PM, said:

[*] provides the necessary replaceable strings to allow building URLs with parameters, based on either the link parameter or the gallery for the current image (%%baseurl%%, %%gurl%%, %%sep%%)

In beta 2, the %%sep%% string is only setup correctly if the link parameter is set in the snippet call. This will be fixed in the final release. As a temporary fix, specify the link parameter in the call as the current page.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users