function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anthony PicaAnthony Pica 

Rename image file

Is it possible to rename an image file? When I right click on the filename or the gear icon, I'm only presented with Delete and Download.

AddisonAddison

Hi Anthony,

 

Right now there's no way to rename an image file through the UI.  But there's a trick by using an ajax call to do the rename.  It's not supported or documented, but can do what you want.

 

Using Firebug in Firefox, open up the Console so you can enter javascript.  Type in the following:

 

PicassoWebServices.ManageSite.RenameDoc('<your-image-uuid>', 'Name', '<new-image-name>')

 

Replace the "<your-image-uuid>" with the really long id for your image.  Replace "<new-image-name>" with the name you want to rename to.  Run this code and refresh the studio.  Your image should be renamed.  Hope that works for you.

 

Addison