Photoshop thumbnails and CS4

DC
Posted By
d_cole
Oct 13, 2008
Views
2085
Replies
71
Status
Closed
I have been installing PS7 to get PSD thumbnails to show their image (rather than a generic icon) in Windows. I understand this facility was dropped in CS. Does anyone know if this has been restored in CS4 or will I have to continue to install PS7 before CS4?

Thanks.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

BL
Bob Levine
Oct 13, 2008
I doubt it and using your workaround is flat out dangerous. You could very lose some work. That’s why that dll was dropped in the first place.

If you want PSD thumbnails, use Bridge.

Bob
M
Mylenium
Oct 13, 2008
You don’t need to install PS7, you only need the psicon.dll, which needs to be placed in the proper directory. And no, this function has not been revived for CS4 for very rational reasons.

Mylenium
DC
d_cole
Oct 13, 2008
Thanks.
DM
dave_milbut
Oct 13, 2008
you don’t really need psicon.dll either (which was the cause of the file lock/data loss bug bob mentioned.) so i second his idea. best solution is to use bridge.
DC
d_cole
Oct 13, 2008
The problem with Bridge is that I need to be in PS to use it. I often want to look through image files when I’m not in CS3. I have that right haven’t I? You do have to be in CS3 to use Bridge?
DM
dave_milbut
Oct 13, 2008
You do have to be in CS3 to use Bridge?

nope. 🙂
JJ
John Joslin
Oct 13, 2008
…. and Bridge CS4 is faster and better than CS3.
DM
dave_milbut
Oct 13, 2008
nice.
BL
Bob Levine
Oct 13, 2008
It sure is.

Bob
JW
John_Waller
Oct 13, 2008
… and Bridge CS4 is faster and better than CS3.

I wouldn’t expect anything less from an upgrade.

The question is whether it’s fast enough and better enough to improve, or warrant changing, my existing workflow.

I really hope so because I have found each incarnation of Bridge rather clunky and frustrating to use to date, especially for ultraquick flicking through images when Bridge doesn’t happen to be launched.

Here’s hoping.


Regards

John Waller
H
Ho
Oct 13, 2008
Agree with John 100%.

I still prefer seeing the image icons/thumbnails in Explorer, and by a wide margin over firing up Bridge for a quick perusal. I hope the new version changes my mind, but I’m not holding my breath.
DC
d_cole
Oct 13, 2008
Despite the advice here to the contrary, when I install CS4 I’ll probably stick with PS7 to deliver picture thumbnails – I have been doing this with CS3 since it first came out with no problems. If CS4 doesn’t like it I’ll take it off my machine.
CF
chris_farrell
Oct 13, 2008
I have to agree…..cs3 bridge is not that good – especially with large files as it’s so sloooooow….I mean, at least 2 -3 hrs to load the previews (2 – 10gb files) – jeezz…

Thumbnails in explorer was really good and it should be re-introduced….albeit without all the save issues.
DM
dave_milbut
Oct 14, 2008
I still prefer seeing the image icons/thumbnails in Explorer,

yes, i agree. it’s a shame adobe never worked out this issue.
RB
Robert_Barnett
Oct 14, 2008
Actually with Vista and XP it would be even easier. All they have to do is create a WIC codec. They have one for DNG in beta, they need ones for their other formats, including things like brushes, gradients, shapes, etc. so that you can see thumbnails of them as well.

Robert
B
Buko
Oct 14, 2008
You guys could all get Macs we have really nice OS level thumbnails. B)
DM
dave_milbut
Oct 14, 2008
steve could release osx to run on any intel hardware and then we’d have really nice OS level thumbnails. %D
JJ
John Joslin
Oct 14, 2008
There is an add-on for Vista but now I know what Bridge CS4 is like I’ll wait. Apart from being much faster to load and run, one minor improvement that I love is that it shows the full path to the image up top.
DM
dave_milbut
Oct 14, 2008
one minor improvement that I love is that it shows the full path to the image up top.

that would be a big improvement! 🙂
CC
Chris_Cox
Oct 17, 2008
No, that has not been restored.
Microsoft has not fixed the explorer APIs yet (the ones that prevent it from working correctly).
N
nospam
Oct 17, 2008
wrote in message
No, that has not been restored.
Microsoft has not fixed the explorer APIs yet (the ones that prevent it from working correctly).

Here we go again.

Our software sucks and it’s everyone else’s fault.
K
Koogle
Dec 2, 2008
Well where do I sign the petition to get Microsoft to pull the finger.. seeing as YOU guys(adobe) have spewed out the same damn pitifully improved CS releases without bloody proper explorer thumbnail file formart support!..

You are ADOBE and you don’t have any pull on getting Microsoft to sort some explorer API issue? after how many years??? gimmie a break you guys are taking the piss.. a bit like forcing that crap Bridge junk on user installations!!!!.
DE
David_E_Crawford
Dec 2, 2008
Ok,
So why can’t adobe re-write the thumbnail file format to run with current microsoft API specs?
CC
Chris_Cox
Dec 2, 2008
As I already said: the Microsoft API is broken. For one thing it leaves files open and fails to close them, so you get complaints about "the file is open or in use" when you shouldn’t. Adobe cannot always work around something that is broken at the OS/Explorer level.
BL
Bob Levine
Dec 2, 2008
I’ll take a guess that it’s a waste of resources for something that you can, and should, use Bridge for.

Bob
BL
Bob Levine
Dec 2, 2008
Chris, out of curiosity, is this still the case with Vista?

Bob
CC
Chris_Cox
Dec 2, 2008
Yep, the bug is in Vista, too.
DM
dave_milbut
Dec 2, 2008
jj, you hear that?
J
jcates
Dec 2, 2008
the Microsoft API is broken.

And has been for years and wasn’t restricted to the psicon.dll file. It was the case with aiicon as well. I’m sure there were more.

Acusing Adobe of not working with what MS has out there, in this case, is like saying because they make the fuel pump the truck with broken axles should be drivable.
K
Koogle
Dec 2, 2008
"As I already said: the Microsoft API is broken. For one thing it leaves files open and fails to close them, so you get complaints about "the file is open or in use" when you shouldn’t. Adobe cannot always work around something that is broken at the OS/Explorer level. "

I’ve noticed similar things with movie files when trying to delete/move them.. is most often because Explorer is still trying to read generate the thumbnail display for the file. Generally think even the movie thumbnail support is pretty piss poor anyway.. I mean we should be able to have mouseover animated thumbs by now anyway.. with user defined frame capture settings so 4 frames captured from movie.. not just the first frame which can often just be BLACK. but hey its MS.. they are slow… more reason to put pressure onto them to sort it out.

I’m getting at Adobe because lets be realistic here.. Adobe charge a lot for these applications more than the OS.. but thats not the point, they are LARGE corporation.. and I think its just stupid to think that they can’t even put some pressure and Microsoft and let them know they need to sort out the Explorer API’s.. Are we really lead to believe developers a Adobe can’t get in contact with those deves at MS behind explorer? I mean a user I’m sick of Windows Explorer, its shit in more ways than one (and Extra super SHIT looking in Vista) .. but its still where i’d prefere to do my file management, and with third party shell extensions is a much better place for me to work in when dealing with all sorts of files.. which is why i’d like to see adobe file formats show up in thumbnail views.. not just an application icon!

This has gone on for long enough!.. I think its time someone got around to chasing whichever team at MS thats works on the Win Explorer and told them sort this shit out.. specially with by Win7… its just taking the piss. All you guys sticking up for Adobe need to pull you heads out the sand and start demanding some action!
BL
Bob Levine
Dec 2, 2008
One more post like that I’ll kill your access to this forum.

This is a professional forum and the use of profanity is a violation of the TOS you agreed to.

Bob
K
Koogle
Dec 3, 2008
so long as you got the message… pass it on yeah.
BP
Brandon_Paddock
Dec 4, 2008
Chris et al –

Which API and supposed bug are you referring to?

If you use IInitializeWithStream for your thumbnail provider, that will help prevent your code from messing up others trying to access the file. Just don’t leak any references to the stream.

If you are having the shell initialize your handler with a file path / IShellItem / pidl, and having problems properly managing access to the file, you should let me know and I’ll do my best to help you (or get you in touch with our platform PM who I know would be happy to help you out).

Thanks,
Brandon Paddock
<http://brandonlive.com>
WE
Wolf_Eilers
Dec 4, 2008
Blaming your bugs on the OS …

Aha, a Microsoft techie is challenging an Adobe techie to a dual. I’m sitting on the sidelines with interest. 🙂
BP
Brandon_Paddock
Dec 4, 2008
Sorry didn’t mean for that to sound so snarky, just trying to help out! 🙂
P
PECourtejoie
Dec 4, 2008
Welcome, Brandon, thanks for offering a helping hand! I’m wondering: is it Mark Hamburg that suggested Microsoft Employees to show up in here?
Having Icons of Photoshop files in Explorer is sure part of our User Experience!
JJ
John Joslin
Dec 4, 2008
Having Icons of Photoshop files in Explorer is was sure part of our User Experience!

Fixed that for you Pierre! 😉
DM
dave_milbut
Dec 4, 2008
P
PECourtejoie
Dec 4, 2008
mmmh, not exactly, John, rather "Having Icons of Photoshop files in Explorer that would not lock files would sure be part of our User Experience!"
JJ
John Joslin
Dec 4, 2008
If you put it that way, I quite agree!

Even with a decent Bridge, that starts up in <1 second now, and is correspondingly quick in operation, it would be nice not to see those ugly generic icons in Windows.
BC
Bart_Cross
Dec 4, 2008
I have found Bridge CS4 a vast improvement over the CS3 version, I actually use it now. I had to use Bridge 2 to get any work done.
F
Freeagent
Dec 4, 2008
those ugly generic icons

On a side note, I’m surprised there hasn’t been an uproar over the icons this time. White letters on a colored square worked, it was quite elegant and classy, but black on colored just looks cheap. To get legible contrast the color is now so washed-out that it looks like the icons have been left out in the California sun for months. I had rather expected colored letters on white this time.
CC
Chris_Cox
Dec 4, 2008
Brandon – I don’t have the code handy now. We tried a few different techniques, and in every case the MS code called before our code was leaving the file marked as busy. Basically, it’s a bug we can’t work around.
BP
Brandon_Paddock
Dec 4, 2008
Chris – There aren’t any known bugs like that in Explorer, and we’d surely know about them if there were (after all, the dozens of in-box thumbnail handlers use the same APIs, as do Office and countless other third parties).

Most likely a bug in your code was leaking something that caused the behavior you saw. The pre-Vista API for providing thumbnails (IExtractImage) was a bit less than straight-forward so I’m not surprised that some developers ran into issues getting it working properly.

However, in Vista the new IThumbnailProvider API is extremely simple and very easy to implement, with some great samples available in the Windows SDK and easy to follow tutorials on MSDN. It even supports out-of-proc implementations so you don’t have to worry about destabilizing the shell and can even write them in .NET.

Details about building a thumbnail provider can be found here: <http://msdn.microsoft.com/en-us/library/cc144118(VS.85).aspx>

If you have an implementation that appears to be causing problems with file locking and such, please let me know. It would be very helpful to share that with my team so we can figure out what the cause of your problem is.

Thanks,
Brandon
JJ
John Joslin
Dec 4, 2008
Can’t say fairer than that!
RM
Rick Moore
Dec 4, 2008
Brandon, I was about to say ‘why weren’t you around here when Photoshop 7 was out?’ but after looking at the picture on your blog you probably weren’t even alive 😉
CC
Chris_Cox
Dec 5, 2008
Brandon – the bugs are still outstanding with Microsoft, but we’ve stopped pressing for fixes and moved on. Other apps have seen the same bugs, with completely independent implementations – which is why other apps have also dropped their thumbnailing explorer extensions (or continue to live with "file is busy or in use", which you still see from the MS provided thumbnailers).

And we have to write code to support XP and Vista, so we can’t use just the latest Vista APIs (assuming they worked correctly, but they don’t).
BP
Brandon_Paddock
Dec 5, 2008
Chris – I work on the Explorer team. If you have a specific bug to report please do so, but none of the in-box handlers have such problems, and none of the APIs have known issues. Repeating that claim won’t make it true!

As part of the Windows 7 Beta SDK release we’re doing a big push to get developers with file formats to implement a complete set of format handlers. That includes things like thumbnail handlers, preview handlers, property handlers, and IFilters (for files with textual content). The Win7 Beta SDK will include a tool we demo’d at PDC that will run a series of tests against your file format’s handlers and report what is missing or where common issues/bugs are found. This tool might be of help to you in ensuring a great experience for your Windows users working with your file formats like PSD.

As I said, we’d love to have Adobe provide a full set of handlers including thumbnails for PSD. In fact, in Vista or later you don’t even need to implement a thumbnail handler, you can have a property handler that returns the thumbnail via the PKEY_Thumbnail property. If your format already includes a lower-res thumbnail image embedded in it, it can’t get much easier than that.

Now if you don’t want to or don’t have the time to implement proper support for your format, that’s your call. And while I know you probably have lots of users running XP and will for a while still, I’m betting your Vista and Win7 users would be grateful if you added such support using one of the Vista mechanisms.

Brandon
JJ
John Joslin
Dec 5, 2008
As an Explorer team man please reveal hoe we can get the size and view settings of explorer windows to stick for the next time. Nothing seems to work; not even clicking the close [X] button with modifier keys. And it’s just as bad in Vista!
BP
Brandon_Paddock
Dec 5, 2008
Hey John,

On Vista and XP, window sizes are stored on a per-folder basis. So if you open Computer, resize it, and then close it – it should be the same size when you open it again. But if you open Documents, that may be a different size (the size you last closed Documents at, or the default). Modifier keys have never done anything special when pressing the close button – no idea where that rumor got started.

There’s also been a bug for a while that could cause Explorer to "forget" view settings for some folders, basically a corruption bug in the persisted settings data. That has been fixed for Vista SP2 (and Win7).

Also, the Explorer window size behavior seems to have changed for Win7, as the Explorer now opens at the last size and position it was closed at, no matter what folder location you open to.
JJ
John Joslin
Dec 5, 2008
There’s also been a bug for a while that could cause Explorer to "forget" view settings for some folders, basically a corruption bug in the persisted settings data.

That’s the one! Thanks for replying anyway Brandon.
BL
Bob Levine
Dec 5, 2008
I just want to add my voice to the thanks to Brandon for popping in here. It’s good to have a MS insider providing some info.

Don’t be a stranger.

Bob
PB
Paul_Budzik
Dec 5, 2008
I’m sorry, but I have to add my two cents. Reading this current exchange, It seems that we have a Microsoft team member who is willing to help (almost bend over backwards) and the Adobe team member who seems to be very resistant. I would hope that isn’t the pervasive philosophy within the Adobe team.

Thank you Brandon for joining in.

Paul
P
PECourtejoie
Dec 5, 2008
Yes, let’s dig the old bug reports! Hope that they are still available with Red Wednesday… my thoughts are with those that got pinkslipped. I hope that the Photoshop team did not suffer too much, but it is very selfish…
CC
Chris_Cox
Dec 6, 2008
Brandon – I’ll have to follow up with our Microsoft liason. We’ve got a long list of bugs still open with MS and I don’t know the specific issue number for that bug.

Paul – we would help if the API worked, but as far as we know it still doesn’t work. Somewhere Microsoft may have failed to communicate a bug fix status to Adobe, and maybe Adobe isn’t regressing every one of the hundreds of bugs we have open with Microsoft with every build of the OS. Both parties want to do the right thing, but somewhere communication broke down. You could also view this discussion as: Adobe tested this, found crippling bugs, reported the bugs to Microsoft, Microsoft didn’t fix the bugs and Microsoft now claims the bugs don’t exist. It depends on the viewpoint and what information you have available.
TM
Timothy_McCullin
Dec 6, 2008
I’m sorry, but I have to add my two cents. Reading this current exchange, It seems that we have a Microsoft team member who is willing to help (almost bend over backwards) and the Adobe team member who seems to be very resistant. I would hope that isn’t the pervasive philosophy within the Adobe team.

Thank you Brandon for joining in.

Got the same impression. Couldn’t have said it any better!

At the moment we got this (Adobe left, MS right):

Let’s hope it will end like this:

And not like this (MS left, Adobe right):
H
Ho
Dec 6, 2008
Somebody give me my PSD Exlporer thumbs back!!

<http://imageshack.us>
DM
dave_milbut
Dec 6, 2008
I’ve just been looking for an excuse to post the gif…

stolen! MUWAHAHAHAHA! 🙂
BP
Brandon_Paddock
Dec 6, 2008
Hey Chris,

Who is your contact for the Explorer team? Our platform program manager, David Washington, is probably the best person to talk to. If you (or the approriate person on your side) would like to get in touch with him, you can drop me an e-mail any time and I’ll make the appropriate introduction. You can reach me at

As for your past experiences dealing with the Windows team I really can’t comment especially without knowing what channel you’d gone through or who was around back then. All I can do is try to help with any problems you’re hitting *now* and connect you with the best people to address any problems you run into.

Our team is extremely aggressive about fixing any issues that block adoption of our platform from ISVs, and large ones like Adobe in particular. If there really is a bug preventing you guys from implementing format handlers, I don’t believe it would be hard for us to ensure it is fixed in Windows 7, and if at all possible I’m sure we’d do everything we can to get the fix available downlevel (ie. service pack, etc).

That said, the sheer number of thumbnail handlers that currently work on Vista without problems, and the in-depth test coverage we have in this area, makes me quite certain we could help you get this working without any changes to the OS at all.

You have my e-mail, so if you would like to try and get this feature working for a future Adobe release, please drop me a line at your convenience.

Thanks,
Brandon
TM
Timothy_McCullin
Dec 6, 2008
I’ve the feeling, it’s gonna be this: … And if not, at least we know who proposed marriage …
DE
David_E_Crawford
Dec 6, 2008
Appropriate introduction?

I will take care of this: What type of beer do you drink?

See, that was easy. 🙂

On to the next part.
CC
Chris_Cox
Dec 10, 2008
We don’t have a contact on the explorer team itself, we have corporate liasons between our companies.

According to our status of bugs filed with Microsoft: the explorer extension "leaving files open" bug still is not fixed, but the bug report has not been updated in years. (which is part of why we gave up hope that it would ever be fixed)

Someone will be in touch.
DM
dave_milbut
Dec 10, 2008
<crossing fingers>
DC
David_C._Blake
Dec 11, 2008
Based on the registry setting, it looks like psicon.dll implements IExtractImage.

IExtractImage::GetLocation is passed a name to a file. The shell doesn’t open the file, nor does it close it.

There is most likely a disagreement about the lifetime of the IExtractImage object and when the file should be opened or closed.

The simple workaround is to grab the thumbnail in GetLocation and close the file, or use a lazy load and open/close the file in IExtractImage::Extract. You would only need to open the file for a miniscule amount of time and close it right away.

When I implemented IThumbnailProvider for DNG, I used similar logic in my implementation of IInitializeWithFile — request late and release early — to avoid issues like this. This doesn’t give you the flexibility of IInitializeWithStream, but it does give you total control of the lifetime of the file handle.
BP
Brandon_Paddock
Dec 16, 2008
David –

Yeah that’s pretty much what I was saying in my original post 🙂

IInitializeWithStream is preferred for most handlers, though. It lets the handler operate over non-file objects, like files in a Zip folder, or any other namespace location that supports returning an IStream for its items. This will becomes more important going forward as we move more and more toward browsing and searching remote data, like OpenSearch locations in Windows 7.

In many cases we can create temp files to get around this (which is what Win7 does for OpenSearch locations with file-based previewers and such), but direct stream handling is preferred. We require it starting in Vista for IFilters because we lock down the filter host process so tightly that it *can’t* access the file system, and so it can’t mess up file access.

Previewers are another case where we prefer to host them at Low IL (like IE does with its protected mode tab processes), and if you let the shell handle getting the stream we can use very fine-grained oplocks to ensure that file access is never interrupted or blocked for other applications, merely delayed, while the file is being loaded.

So yeah, IInitializeWithStream is the best initialization pattern for a new handler as it allows you to take advantage of the many benefits of shell abstraction layer 🙂
NO
nenad_ognjanovic
Dec 30, 2008
Hey Brandon, could you help me with this? Or anyone else, every bit of help is welcome.

I’m trying to implement thumbnail provider for swf (flash) files in C#, but can’t get IInitializeWithFile to work. It just won’t call Initialize. IInitializeWithStream works fine, but I’d really like to get the path (because swf might load external files and I can’t know where to look if I’m using stream)

I’ve seen on couple of other forums that people have the same problem and nobody got it to work. Here’s a piece of code:

//works fine, I get the thumbnail
[ComVisible(true), Guid("b824b49d-22ac-4161-ac8a-9916e8fa3f7f"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInitializeWithStream
{
void Initialize(IStream stream, int grfMode);
}

//doesn’t work when I implement it
[ComVisible(true), Guid("b7d14566-0509-4cce-a71f-0a554233bd9b"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInitializeWithFile
{
void Initialize([MarshalAs(UnmanagedType.LPWStr)] string pszFilePath, int grfMode); }

For the first parameter I’ve tried every type that came to my mind, but couldn’t get it to work.
DC
David_C._Blake
Dec 30, 2008
These questions are a bit of a thread hijack. To bring this back to the original subject, the most frequent request we get is to do a PSD WIC codec. We have just started on it, but we should have one out in both 32 bit and 64 bit flavors in Q1 of 2009.

If you’re not a software developer, then you can ignore the rest of my post.

If you implement IInitializeWithStream, then IInitializeWithFile won’t be called due to the precedence stated in the remarks for IThumbnailProvider.

<http://msdn.microsoft.com/en-us/library/bb774614.aspx>

Also, both the Shell team and the .NET CLR team discourage writing shell extensions in managed code. See the comments from folks on both teams at Microsoft on the following link.

< http://social.msdn.microsoft.com/forums/en-US/netfxbcl/threa d/1428326d-7950-42b4-ad94-8e962124043e/>
NO
nenad_ognjanovic
Dec 30, 2008
Hey David

Thumbnail providers are sort of exception, they run in their own process so it’s ok to write them in managed code.

I know that IInitializeWithStream has precedence, I comment it out and leave only IInitializeWithFile, and then it does nothing. dll is called but just won’t call Initialize, it just exits like there’s no appropriate implementation of IInitializeWithFile.Initialize

Sorry for thread hijack but this is sort of the only chance to resolve this thing once and for all, even if it means that it can’t be done. I’m on this two weeks already and I’ve seen that other people also have the same problem. The one thing I didn’t try is to make Preview handler, because it also uses IInitializeWithFile, and it seems to be working for other people who messed with it in C#, which makes it even more weird.
P
PECourtejoie
Feb 11, 2009
Bump, this is the thread where I was wondering if communication was working again… Mr Hamburg might know about the bug, too, and works in User Exeperience…
8
89jhg
Feb 15, 2009
This exchange is the equivalent of New York politicians calling Chicago politicians "corrupt."

Adobe in infamous for being uncooperative and difficult. Whichever supervisor let this Adobe kid post these unsupervised rude responses to the Microsoft fellow should be canned — unfortunately, it’ll take Adobe three years to be able to evaluate this situation.

Microsoft and Adobe users don’t give a darn about your little bickering — what we want is software that makes life easier — that we don’t have to think about. I don’t use Photoshop so I can think about Adobe stuff — I use it to create images.

I paid a fortune to Adobe for Photoshop. The ball is in Adobe’s court — fix it!
JJ
John Joslin
Feb 15, 2009
Why are you telling us? We are users.

And the "Adobe kid" is probably twice your age and, even if he evades the confrontation witn M$, at least he is civil.

Photoshop CS4 works fine for the vast majority of users. It’s just a few unfortunates that post here with their problems.

BTW, I too think this thumbnail problem could be solved if people got their fingers out.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections