Automatically inserting filename in the pictures?

T
Posted By
Tonpa
Nov 14, 2005
Views
1008
Replies
7
Status
Closed
Hi!

My problem: I have about 400 pictures each having a descriptive file name including information about the picture i.e. Year, Artist etc.

I want to include this information inside the picture, so that I can watch pictures from the TV and see all the details.

How do I do it? Is there a way in Photoshop? Or is there a program especially for this?

Noobish Regards,
Tonpa

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

E
edjh
Nov 14, 2005
Tonpa wrote:
Hi!

My problem: I have about 400 pictures each having a descriptive file name including information about the picture i.e. Year, Artist etc.

I want to include this information inside the picture, so that I can watch pictures from the TV and see all the details.

How do I do it? Is there a way in Photoshop? Or is there a program especially for this?

Noobish Regards,
Tonpa
Depending on what version it can be done with a script which is available on the Adobe Exchange site.


Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html
J
jeffc
Nov 14, 2005
On Mon, 14 Nov 2005 17:10:21 +0200, Tonpa wrote:

My problem: I have about 400 pictures each having a descriptive file name including information about the picture i.e. Year, Artist etc.
I want to include this information inside the picture, so that I can watch pictures from the TV and see all the details.

How do I do it? Is there a way in Photoshop? Or is there a program especially for this?

If you can’t get Photoshop to do it, you could try JpegSizer. It lets you add captions or watermarks to images as you resize them.

Download free trial at

http://www.tangotools.com/jpegsizer/?s=ng

HTH

Pete
T
Tonpa
Nov 14, 2005
Thank you edjh and Pete! 🙂

I have Photoshop 5.5, but maybe I can make that script work at the school’s computer. If that fails Tangotools is the choice.

Tonpa
E
edjh
Nov 14, 2005
Tonpa wrote:
Thank you edjh and Pete! 🙂

I have Photoshop 5.5, but maybe I can make that script work at the school’s computer. If that fails Tangotools is the choice.

Tonpa
No scripting in 5.5.


Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html
LI
Lorem Ipsum
Nov 14, 2005
There is a script that was provided with PS7 called addTimeStamp.js which was (apparently) modifed to add the file name instead. The file you want is AddFileName.js

Take File – Automate – Scripts and find it.
You can use it in an action to do lots of files at once.

If it is not there, then take the code below.

Drop it into C:\Program Files\Adobe\Adobe Photoshop CS\Presets\Scripts

If you don’t like where it puts the file name, then write back here.

// this script is a variation of the script addTimeStamp.js that is installed with PH7

if ( documents.length > 0 )
{
var originalRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;

try
{
var docRef = activeDocument;

// Now create a text layer at the front
var myLayerRef = docRef.artLayers.add();
myLayerRef.kind = LayerKind.TEXT;
myLayerRef.name = "Filename";

var myTextRef = myLayerRef.textItem;
myTextRef.contents = docRef.name;

// off set the text to be in the top left corner
myTextRef.position = new Array( 12, 20 );
}
catch( e )
{
// An error occurred. Restore ruler units, then propagate the error back // to the user
preferences.rulerUnits = originalRulerUnits;
throw e;
}

// Everything went Ok. Restore ruler units
preferences.rulerUnits = originalRulerUnits;
}
else
{
alert( "You must have a document open to add the filename!" ); }
LI
Lorem Ipsum
Nov 14, 2005
OH! The more common work-around if you are outputing JPEGS is to use: File – Automate – Web Photo Gallery. In the dialog box, select content SECURITY. Click to select FILE NAME. You can choose the font, font color, size and position. Run it. Throw away everything but the IMAGES folder. There ya go. Down and dirty.
LI
Lorem Ipsum
Nov 14, 2005
"edjh" wrote in message
No scripting in 5.5.

ARGH! Pardon my lack of reading comprehension!

(Thanks for the nudge, edjh)

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections