Toggle

I have a "FilesOnly" button reading:
Set FLATVIEW=Toggle,MixedNoFolders

In Explorer-Style (details mode) I either have the folders or the contents of the folders, without folders.

Fine.

I tried to get the same with images.
I'd like to have the folders displayed details mode
hit (let's say) ThumbnailsOnly-button
Then, image contents (such as *.jpg|gif|jpeg|png|bmp|psd|pcx|tiff) to be displayed as thumbnails.
Hit button again->Back to folder view.

Any suggestions?

Thanks

I think you just need to add a quickfilter for your images after testing for the current view mode.
Somehow like this, I did not test it, plz be be careful.. o)

@ifset:VIEW=thumbnails SET QUICKFILTER="*.(jpg|png)" @ifset:else Set CLEARFILTERS QUICKFILTERCLEAR

Sorry, I am afraid it did not work.

Right now I have two buttons [Files Only] [Thumbnails Only]

to get the thumbnails only, I first click on:

[Files only]
Set FLATVIEW=Toggle,MixedNoFolders

files are displayed in detail mode
then I click on the thumbnails only button

[ThumbnailsOnly]
@ifset:VIEW=Thumbnails,MixedNoFolders
Set VIEW=Details
@ifset:else
Set VIEW=Thumbnails,MixedNoFolders

This is a 'small workaround' and I was hoping to 'combine' the first with the second, i.e. toggle between details view folders/files (Explorer) and thumbnails view, without folders.

Do you just want to hide folders, or do you mean you also want Flat View + No Folders?

What are the exact details of the two modes you want to toggle between? Maybe it would be best to explain how you manually set up each mode at the moment, so we know which commands need to be run.

My 'Thumbnails Only' should show toggle between : thumbnails only, without folders and normal explorer details mode.
This I now accomplish to click on my 1st 'Files Only' button and then Thumbnails Only-button. Unclicking both buttons
gets me back in the normal explorer mode/style.
For the code of thes buttons - see my previous post.

"thumbnails only, without folders"

To me that means you want to hide sub-folders, and show the files in the current folder as thumbnails.

But you are also talking about "Flav View (Mixed, No Folders)" which will show all files in and below the current folder.

Which do you want?

The first one, because the 2nd (flat view, mixed no folders) I already have.
Whilst writing, just come to think of it.. maybe this can using styles?

=
later
I guess this may be going into the correct direction... :wink:

=

When you get this sorted, check out the grp: token in the Pattern Matching Syntax. It might be a way to improve your filter by using grp:Images.

Lateron: regretfully my idea doesn't work. It still shows other extensions as well.
I'll forget about it. Takes too much time on figuring this out.
Thanks anyway.

I think this is what you want:

@ifset:VIEW=thumbnails Set VIEW=details Set QUICKFILTERCLEAR @ifset:else SET QUICKFILTER="grp:Images" QUICKFILTERFLAGS=hidedirs Set VIEW=thumbnails

Yes!
This is wonderful.
Especially when used in combo with FilesOnly-button [Set FLATVIEW=Toggle,MixedNoFolders]

Many thanks indeed!

oh, btw, just out of curiosity.. wouldn't this not possible using Styles?
(which I desperately tried after vainly trying something with a button)

You could use Styles to do some of it, yes. I think that would only complicate things, however.

Feel a bit sad to say.. for some other reasons I had to re-install Windows entirely.
Created an .ocb before starting.
Re-installed Opus, imported the .ocb and it looks like most (I didn't try all) is working.

I am not sure about the thumbnail only button, with the code above.
Left I selected a folder, with in the right panel the subfolders (details-view)
subfolders contain jpg's.

In my believe the thumbnails would then be displayed. Regretfully, nothing is displayed... :cry:

http://imageshack.com/a/img673/7947/d35d2c.png
http://imageshack.com/a/img902/3471/a36c83.png

Any suggestions?

Thanks

You're in a folder that only has more folders inside it, then running a button which hides all folders. That's why you're not seeing anything.

Sorry...
Up front, don't get upset, it's me alright, but I am afraid I am not entirely sure what you mean.
Would you pls enlighten a little more?

For good order's sake, below the situation:

=
http://i528.photobucket.com/albums/dd330/phwul/OpusPublic/Opusthumbnailsonly-foldertree-23072014073301_zps106cb15f.png

http://vid528.photobucket.com/albums/dd330/phwul/OpusPublic/Opusthumbnails-only-23-07-201407-40-49_zps439d1fa3.mp4

Admittedly I start to doubt a little bit right now, but I (wrongly?) believed that thumbnails would be displayed -without- first clicking on
the [Files only]-button, then the [Thumbnails only]-button.

Thanks

The folder you're in only contains other folders. The files are all inside those subfolders.
Clicking your Files Only button puts the display into Flat View, which means those files-within-subfolders become visible.

However, if you click your Thumbnails Only button without first going into FlatView then none of those files-within-subfolders will be visible. The Thumbnails Only button would need to also put the display into FlatView in order to see any files.

Okay. Thanks. I assumed that flatview wasn't necessary anymore with the 'QUICKFILTERFLAGS=hidedirs' line.
thanks again.