Jump to content

Module: Pageimage Naming Scheme


horst
 Share

Recommended Posts

Pageimage Naming Scheme

I have created a module that extends the naming scheme for images. It reflects more options within the filename. An example is here:

http://images.pw.nogajski.de/new-naming-convention/

The module is on github (zip)- additionally you need PW version 2.4.2 or newer (while writing this, the latest dev version from today)

The module is in alpha state, so yet do not use in production sites.

To install and start using it works very smooth: It doesn't force to recreate your already cached images, only uses the extended naming scheme when need to create new image variations. Also recognizes both naming schemes when collecting imageVariations. Recognizes PageImageManipulator-files too per update to 0.1.3.

If you want to uninstall it, you can run a cleaning script from the configuration screen that removes imagevariations to avoid orphaned files when switching back to the core naming scheme. Running the cleaning script as simulation is supported too.

---

There are a new thing to mention:

You can send a new option together with your images $options array: "forcenew" => true! This results in recreating these single variation of the image, without dropping all other variations. Now that you can have a lot more variations per image, this should be the preffered way to drop / recreate cached image versions.

Questions, suggestions are welcome.

Edited by horst
  • Like 8
Link to comment
Share on other sites

It is updated to version 0.0.3 and now has a cleaning routine that can be called manually in the config screen. Would be nice if a few user can test it in none production sites.

post-1041-0-01484600-1398612350_thumb.jp

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...