Jump to content

Recommended Posts

Posted

Thanks Dragan

I would like the filename automatically generated from the description.

description: lets have a party (becomes below)
image: lets-have-a-party.jpg

Just like when you add the url name for the page

Posted

In that case, I guess you'd have to look into using hooks.

But digging deeper into @adrian's module description linked before, it seems there's an option that will do just what you are looking for:

Quote

If 'Rename on Save' is checked files will be renamed again each time a page is saved (admin or front-end via API).

WARNING: this setting will break any direct links to the old filename in your template files. However, images inserted into RTE/HTML fields on the same page will have their links automatically updated.

I have never used this myself, so I guess you should simply try it out and see if it works for you...

  • Like 1

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
  • Recently Browsing   0 members

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