cover
  • #Release

Tapicker v5.2.15 released 🎉👏

Welcome to the release of Tapicker v5.2.15. There are many updates in this version that we hope you'll like, some of the key highlights include:

  • Improved iframe compatibility
  • Fixed incorrect parsing of variable templates
  • Extract filename and extension from URL in Download File

Improved iframe compatibility

Having multiple iframes in a page can make life difficult. Don't worry though, we've made a lot of improvements to make it smoother. This covers 99% of the scenarios, but if not, let us know about your dilemma.

Fixed incorrect parsing of variable templates

When you use pipeline in templates, it will cause parsing errors, for example:

./{{@funcs.getDate()|format('YYYY-MM-DD')}}/{{@funcs.getRandomId()}}.jpg

Now, we have fixed this error, it can output correctly:

./2024-06-20/3a86fb2c.jpg

This is useful when downloading files and archiving them by date!

Extract filename and extension from URL in Download File

If you provide a link like this:

https://www.example.com/images/abc.jpg

Now we can automatically extract the filename and extension from the URL.

Then you can reference them like this:

./{{@funcs.getDate()|format('YYYY-MM-DD')}}/_filename._ext

_filename will be replaced by abc, _ext will be replaced by jpg, and the final output is:

./2024-06-20/abc.jpg

Conclusion

In this update, we mainly enhanced the compatibility with iframes to make it work more smoothly. In addition, we fixed the parsing errors of complex templates and enabled reading the original filename and extension in Download File.