Save for web excluding file extension in output file

New Here ,
Nov 27, 2019 Nov 27, 2019

Copy link to clipboard

Copied

I'm using Photoshop 2020, newest update.

 

When saving for web (after choosing format, compression, etc.), the file name is selected, ready for me to either hit enter or type in a new name (all good so far). I type in the new name, and hit enter. The resulting file name is all good, but the extension is gone. Surely this is unexpected behaviour, an oversight? It can't be meant to be this way, that all files saved via "save for web" lack file extensions if you type in a new name? I'm annoyed.

 

As the screenshots below show, I have file extensions enabled in Finder.

https://imgur.com/a/5yevMOb

TOPICS
Problem or error

Views

1.0K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 27, 2019 Nov 27, 2019

Copy link to clipboard

Copied

What version of macOS are you using?

 

Is it Catalina?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2019 Nov 28, 2019

Copy link to clipboard

Copied

I should have included that in my post, of course. I'm using Catalina. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 28, 2019 Nov 28, 2019

Copy link to clipboard

Copied

That seems to be issue with Catalina.

Until it's fixed you'll have to remember to append the file extension manually.

 

https://feedback.photoshop.com/photoshop_family/topics/save-for-web-bugs-on-macos-10-15-catalina

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2020 Apr 22, 2020

Copy link to clipboard

Copied

Same issue too. It really slows down work flow.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 18, 2020 Jun 18, 2020

Copy link to clipboard

Copied

Not fixed Version 21.2.0

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 18, 2020 Aug 18, 2020

Copy link to clipboard

Copied

Just sticking my oar in as well, still not fixed in 21.2.1, bumping for attention!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 18, 2020 Aug 18, 2020

Copy link to clipboard

Copied

This has come up "hundreds of times" since Catalina was released, however, nobody has been willing to see if exporting via a script resolves this issue. People just wait and hope that each new release resolves the issue.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2020 Aug 27, 2020

Copy link to clipboard

Copied

Second this. Freaking annoying. Anyone have an update on this getting fixed? Workflow is in pain...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 28, 2020 Aug 28, 2020

Copy link to clipboard

Copied

I don't use Catalina, so I can't test.

 

Are you willing to try a script to see if this can work-around the issue?

 

If so, what specific save for web options would be useful to test?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 28, 2020 Aug 28, 2020

Copy link to clipboard

Copied

The following script is a proof of concept/test to answer if a script will overcome the Catalina OS issue where the file extension is not included.

 

/* This script exports a Save for Web JPEG to a user selected-folder, replacing file name word spaces with hyphens */

#target photoshop

if (app.documents.length !== 0) {
    var docName = app.activeDocument.name.replace(/\.[^\.]+$/, '').replace(/ /g, '-');
    var docNameInput = prompt('Enter a filename (without extension):', docName);
    var docNameOutput = docNameInput.replace(/\.[^\.]+$/, '');
    var docPath = Folder.selectDialog('Select a folder to save the JPEG image to...');

    // File Path & Saving Code
    var saveFileJPEG = new File(docPath + '/' + docNameOutput + '.jpg');
    if (saveFileJPEG.exists) {
        alert('File already exists, save aborted!');
        throw ('File already exists, save aborted!');
    }
    SaveForWeb(saveFileJPEG);

    // JPEG S4W Options
    function SaveForWeb(saveFileJPEG) {
        var sfwOptions = new ExportOptionsSaveForWeb();
        sfwOptions.format = SaveDocumentType.JPEG;
        sfwOptions.includeProfile = true;
        sfwOptions.interlaced = 0;
        sfwOptions.optimized = true;
        sfwOptions.quality = 70;
        app.activeDocument.exportDocument(saveFileJPEG, ExportType.SAVEFORWEB, sfwOptions);
    }

    alert('JPEG saved!');

} else {
    alert('You must have a document open!');
}

 

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 21, 2020 Dec 21, 2020

Copy link to clipboard

Copied

I'm experiencing this too in Big Sur. Huge productivity killer. This is such a basic need, I can't believe it's gone. Manually typing in a .jpg extension on everything is a waste of time.

 

Adobe please fix ASAP!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 21, 2020 Dec 21, 2020

Copy link to clipboard

Copied

cambriacombusts you could try the script posted directly above your reply as a possible work-around. The script can be modified to suit your requirements.

 

This forum is mainly a user-to-user forum. Users can offer help in various ways, but obviously not help with changes to programming. To address Adobe directly with a bug report or feature request:

 

https://feedback.photoshop.com/topics/photoshop/5f5f2092785c1f1e6cc4086b

https://helpx.adobe.com/au/x-productkb/global/how-to-user-voice.html#IsAdobeSupportCommunityandUserV...

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 13, 2021 Jan 13, 2021

Copy link to clipboard

Copied

I'm having the same issues on Mojave using Photoshop 2021. Looking forward to a fix.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 13, 2021 Jan 13, 2021

Copy link to clipboard

Copied

Try the script workaround.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Could someone give me a breakdown on how to use this script (Where to put it?/copy and paste it somewhere?). I'm having this issue but I'm not super fluent in the back end stuff. Or have we figured out an easier way of doing this?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Did you try the link helpfully posted under the script code?

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html?m=1


What OS and version? What version of Photoshop?

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 05, 2021 Jun 05, 2021

Copy link to clipboard

Copied

LATEST

So how did you go?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines