Skip to main content
Participating Frequently
July 3, 2023
Question

Photoshop Export adds dual file type extension

  • July 3, 2023
  • 4 replies
  • 1216 views

When I export files from Photoshop it adds a dual file type extension. For instance: file xyz.jpeg becomes xyz.jpeg.jpg or file abc.jpg becomes file abc.jpg.jpg.

 

Doesn't seem to matter where I place the file, same folder as original or new folder.

To be clear, my process is using the script to load files into a stack. I can then highlight them all and right click to export as...which lets me then resize them for my websites as needed. 

 

Thanks

Corey

 

PS: 24.1.1

MacOS: Ventura 13.0.1

This topic has been closed for replies.

4 replies

Jeff Arola
Community Expert
Community Expert
July 5, 2023

Here is a script that you can use to remove the file extension from each layer name.

Layer Name Edit.jsx

https://github.com/Paul-Riggott/PS-Scripts

 

 

layers with .dng file extension

 

 

 

layers after running script

 

 

 

CoreyW246Author
Participating Frequently
July 11, 2023

Thanks to everyone for the help on this...going to try the script and continue to use the layer/export as. I will play with the generate function a bit more but never seem to get what I want out of that. Really appreciate the community support.

 

Thanks

Corey

c.pfaffenbichler
Community Expert
Community Expert
July 4, 2023

@melissapiccone probably already solved this, otherwise could you please post screenshots for the whole process with the pertinent Panels (Toolbar, Layers, Options Bar, …) visible? 

CoreyW246Author
Participating Frequently
July 5, 2023

Sure thing...

 

Screenshot 1 = loading files using the load into stack script

Screenshot 2 = browse and add

Screenshot 3 = select layers, right click, and export as

Screenshot 4 = resize, scale, etc. (this example group just happens to all need to be 900 on the height side, but sometimes I need different dimensions for each picture)

Screenshot 5 = end result of export, notice the files' names now include the original file type extension and the addition

 

Hope that helps

Corey

 

c.pfaffenbichler
Community Expert
Community Expert
July 5, 2023

Export As seems to honor the Layer’s name and add, as intended, the suffix for the exported file format. 

As @melissapiccone already pointed out. 

 

So it seems to be not so much that »Export As« adds »dual file type extension« but that you created Layers the names of which include the original suffix. 

melissapiccone
Community Expert
Community Expert
July 3, 2023

If you import your files, they are probably coming into the new file with the .jpg extension as part of their layer name and then the export uses the whole name. I just tried it and my layers have the .jpg extension... if you don't want it then you need to rename your layers. 

Melissa Piccone | Adobe Trainer | Online Courses Author | Fine Artist
CoreyW246Author
Participating Frequently
July 4, 2023

Yes, I see that it does in fact include the extension of the file in the layer name...that seems odd and possibly a bug. Seems like Photoshop should have an easy way to let you resize photos without having to open each one or having to batch an entire folder of photos all to the same size. 

melissapiccone
Community Expert
Community Expert
July 4, 2023

What exactly are you trying to accomplish? There are several ways to resize and batch images. Instead of exporting, if your layers are already named .jpg you can use generate. It automatically saves assets in a folder for you.

 

Melissa Piccone | Adobe Trainer | Online Courses Author | Fine Artist
Jeff Arola
Community Expert
Community Expert
July 3, 2023

Yes i see that to.

 

First thing to try is updating Photoshop to PS 24.6 by going to Help>Updates from within Photoshop.

 

Also macOS Ventura is up to version 13.4.1

 

 

CoreyW246Author
Participating Frequently
July 4, 2023

I'll update both here soon...but doubtful this would resolve the issue. Appreciate the heads up though that there are newer versions.