-
1. Re: Bridge CS5 Renames Files in HTML Web Gallery
jackthegiantslayer Mar 10, 2011 7:20 PM (in response to MarkDas)This affects me greatly as well for the same reasons. There is no reason for this, Adobe.
-
2. Re: Bridge CS5 Renames Files in HTML Web Gallery
MarkDas Apr 25, 2011 6:24 PM (in response to MarkDas)I believe I've discovered the file/script that does the renaming. I've done some testing, and have been able to change the way Bridge does the changes, but not able to keep the original file name.
The file is "galleryCreator.jsxinc", found in C:\Program Files\Common Files\Adobe\Bridge CS5 Extensions\Adobe Output Module\mediagallery\resources\scripts.
I'm not a code-guy, so I'm hoping that someone with more smarts than I can help. Below is the part of "galleryCreator.jsxinc" that does the re-naming. Simply deleting this entire part of the script renders Bridge unusable. So allowing the script to create the altername is important. If the alteration could consist of only adding the "underscore" prefix to the original file name, all would be well...
Here's the pertient portion of the script:
AOM.AmgGalleryCreator.createUniqueFileName = function(filePath, jpgFile, createMode)
{
var alteredName;
while (true)
{
alteredName = "_";
for (var i=0; i<10; i++)
{
alteredName += Math.floor(Math.random() * 10);
}
alteredName += ".jpg";
var f = new File(filePath + alteredName);
if (!f.exists)
break;
}
return alteredName;
} -
3. Re: Bridge CS5 Renames Files in HTML Web Gallery
MarkDas Apr 25, 2011 7:00 PM (in response to MarkDas)Solved!
This works for Windows. I imagine the Mac solution is similar. Props to William Zauscher for helping find an answer.
I take no responsibliity for any damage caused to your computer, Photoshop or Bridge...
In Windows, browse to C:\Program Files\Common Files\Adobe\Bridge CS5 Extensions\Adobe Output Module\mediagallery\resources\scripts
In the file named "galleryCreator.jsxinc" replace the lines:
AOM.AmgGalleryCreator.createUniqueFileName = function(filePath, jpgFile, createMode)
{
var alteredName;
while (true)
{
alteredName = "_";
for (var i=0; i<10; i++)
{
alteredName += Math.floor(Math.random() * 10);
}
alteredName += ".jpg";
var f = new File(filePath + alteredName);
if (!f.exists)
break;
}
return alteredName;
}...with the following:
AOM.AmgGalleryCreator.createUniqueFileName = function(filePath, jpgFile, createMode)
{
var alteredName;
while (true)
{
alteredName = "_";
alteredName += jpgFile += ".jpg";
var f = new File(filePath + alteredName);
if (!f.exists)
break;
}
return alteredName;
}
You can cut and paste the above. Just save a version of the original file somewhere in case of screwups...
Cheers!
-Mark
-
4. Re: Bridge CS5 Renames Files in HTML Web Gallery
Irienight May 14, 2011 6:48 PM (in response to MarkDas)Thanks for posting. I do not see that folder in my computer. Any advice on how to get there and replace the renaming script. Under Adobe in Common Files I only see CS5 but not Adobe Bridge.
Adobe, the file renaming feature is inexcusable. This creates untold number of headaches. What if a client wants a photo, or 10> Trying to match them is a PIA. Worst of all, when making web galleries, Bridge strips all metadata out of images and in the past I could replace the "large" folder with all images with originals with metadata but now they all have different file names and I'd have to match and rename each photo to get that to work which could be tedious for a gallery with 100 photos.Why does Bridge strip all metadata out of photos when creating a photo gallery? I could add it after but it does use that data to create visible text in web galleries but also removes it from images.
Think I am going back to CS4 cause this is too much trouble.
Adobe, add the web gallery feature back to Photoshop and with Bridge, keep the metadata in the photos and get rid of the file renaming feature. Nobody asked for this.
-
5. Re: Bridge CS5 Renames Files in HTML Web Gallery
MarkDas May 19, 2011 2:41 PM (in response to Irienight)Irienight,
If you're using Windows, just search for the "galleryCreator.jsxinc" file form the Start Menu. Make sure you have "Show Hidden Files" selected in Explorer. If you're using a Mac, I can't help you. I've looked for the culprit file in Mac, but haven't been able to find it.
Regards,
-Mark
-
6. Re: Bridge CS5 Renames Files in HTML Web Gallery
jbalam11 Jul 29, 2011 3:17 PM (in response to MarkDas)Mark,
Thanks SO much! It worked great! I have been struggling with this problem for months. So glad I checked the forum for a solution!!! By the Way, I found the script in the Program Files(x86) folder.
-
7. Re: Bridge CS5 Renames Files in HTML Web Gallery
OffToSeeTheWizard Aug 8, 2011 4:16 PM (in response to MarkDas)PLEASE HELP -- Huge problems caused by this change. Because the filename doesn't travel with the new image as it used to, this throws the whole order of huge galleries I'm doing for work.
This software is too costly to not have that functionality go along with the CS upgrade. Please fix with an update ASAP or if I'm missing something for Mac, let me know.
Thanks and best..
-
8. Re: Bridge CS5 Renames Files in HTML Web Gallery
jackthegiantslayer Nov 23, 2011 3:59 PM (in response to MarkDas)Seriously Adobe, get the damn lead out. I'm thankful for these hacks, but you still haven't managed to correct this problem after how many updates/versions?
-
9. Re: Bridge CS5 Renames Files in HTML Web Gallery
chris Harges Jun 1, 2012 7:20 PM (in response to jackthegiantslayer)I've found where this script lives on a Mac:
/Library/Application Support/Adobe/Bridge CS5.1 Extensions/Adobe Output Module/mediagallery/resources/scripts
-
10. Re: Bridge CS5 Renames Files in HTML Web Gallery
jackthegiantslayer Jun 2, 2012 7:14 AM (in response to chris Harges)Does anyone know if this has finally been remedied in CS6?
-
11. Re: Bridge CS5 Renames Files in HTML Web Gallery
MarkDas Oct 17, 2012 4:15 PM (in response to jackthegiantslayer)Hi All,
Very happy to report that Adobe has FIXED this problem in Bridge CS6, in both PC and Mac versions. (Plus, the GUI in Photoshop CS6 is gorgeous: Dark Gray and clean.)
Thanks (finally) Adobe.
-Mark
