Page 1 of 1
Floating Preview Associations
Posted: 10 Jul 2014 05:09
by Enternal
It just hit me today about something. There are many times that I want to associate image files with XYplorer's floating preview. The current method that I have been using for a very very long time was simply have a Floating Preview toolbar item and then click it when I want to view images with it. Then it hit me:
Code: Select all
"XYplorer Float Preview" bmp;jpg;jpeg;gif;png>#178;

I feel that a lot of people probably know about this already but nobody ever really told me about it when I asked a while back. Unless they don't either.
Well, now image viewing is complete for my portable installation on my flash drive

. However for my home setup, I still prefer using JpegView as my primary image viewer and IrfanView and FastStone MaxView as my backup heh.
On a related topic, Don, do you think of ever having the floating preview share the same capabilities with the preview that's shown in the Preview tabs (able to display text and such)? Or is it not possible because they're completely separate code-wise?
Re: Floating Preview Associations
Posted: 10 Jul 2014 06:31
by yusef88
Enternal wrote:I still prefer using JpegView as my primary image viewer
nice program thanks for referring to , do you know how to navigate images using the mouse wheel?
=====
NavigateWithMouseWheel=true
it changes nothing
Re: Floating Preview Associations
Posted: 10 Jul 2014 07:03
by bdeshi
One of the first improvements I did after discovering all the scripting stuff:
Code: Select all
"XyPreview|<xyicons>\xyplorer.ico" jpg;jpeg;png;gif;bmp;tif;tga;psd;xpm;pbm;pcx>#178;
(don't know if all those formats get previewed, they're there just in case! ;-) )
I also have this (kids love playing flash games!

)
Code: Select all
swf>::setlayout("InfoPanelHeight=700");#174;
This one's also great for quick video preview.
Re: Floating Preview Associations
Posted: 10 Jul 2014 09:35
by Enternal
yusef88 wrote:Enternal wrote:I still prefer using JpegView as my primary image viewer
nice program thanks for referring to , do you know how to navigate images using the mouse wheel?
=====
NavigateWithMouseWheel=true
it changes nothing
That's weird. It should work. Also make sure:
since that will tell JPEGView to store all the configuration in the same file as the main executable and therefore, use the JPEGView.ini file that is already present as the main file.
Try using my ini if it still does not work.
It's a great program but configuration is definitely not user friendly since it's all done through the ini. However, it's fast (it takes advantage of multicore systems) and you can definitely feel it at times. It now also support animated gifs heh.
@SmmaySarkar
Hahaha that's nice! The floating preview don't preview anything after bmp if I remembered correctly. But yeah, so simple and neat! Don should really advertise that somewhere.
The swf is a neat idea! Although I rarely ever download flash files directly since a lot of them have protections. Otherwise I would definitely download all games from
http://www.ferryhalim.com/orisinal/ by Ferry Halim. Awesome games by the way. Always loved them and always will.
Re: Floating Preview Associations
Posted: 10 Jul 2014 13:05
by bdeshi
Enternal wrote:
@SmmaySarkar
Hahaha that's nice! The floating preview don't preview anything after bmp if I remembered correctly. But yeah, so simple and neat! Don should really advertise that somewhere.
Thanks. Would be so much better if the floating preview inherited the normal InfoPanel preview associations instead of defaulting to raw view...
Re: Floating Preview Associations
Posted: 10 Jul 2014 14:19
by TheQwerty
Small suggestion... Just calling #178 will cause it to close if already open, instead try:
Code: Select all
if (! Get('#178')) { #178; } // Floating Preview
OR
if (! Get('#178')) { #1003; } // Full Screen Preview
That's not a typo in the second one - Full Screen Preview is actually a full screen Floating Preview.
Re: Floating Preview Associations
Posted: 10 Jul 2014 14:40
by bdeshi
I just have to remember to single-click the next to-be-previewed file instead of double-clicking. That way, that file gets focused by the preview window(floating preview) or tab (info panel preview). And yes, your suggestion is better, but I've gotten used to doing that (saves a click too!) .
Re: Floating Preview Associations
Posted: 10 Jul 2014 16:23
by klownboy
There are admittedly much more features in JpegView (I especially like it's fixed cropping features), but I prefer ImageEye for viewing in a window since it offers a very clean no non-sense, no border, no titlebar view similar to Don's MDBU view. It's just as fast or faster and it offers excellent dithering and resampling. I still wish Don would have incorporated the capability to move on from one picture to the next from the MDBU view (i.e., you click on the picture (in the stay up mode) and you're then able to move on to the next picture by arrow button or mouse wheel). I wouldn't be using anything else but for editing if that feature was present. I just love the clean uncluttered look of MDBU at least for windowed viewing.
Re: Floating Preview Associations
Posted: 10 Jul 2014 23:03
by Enternal
@ TheQwerty
Ah! Thanks for the suggestion. That indeed is a better one.
@klownboy
Hmm... I will take a look at ImageEye then. Looking at the interface though makes me feel a bit of nostalgia for some reason. Probably because it somehow reminds me of Dreamweaver 4/MX and many older apps back in the day.
I recently also found HoneyView which also offers now titlebar and other nonsense although it does have a border but minimal. That one comes with the ability to browse images in archives so it's very useful for my case and how I use it. However it's set as my alternative viewer in XYplorer together with IrfanView and FastStone MaxView.
Re: Floating Preview Associations
Posted: 11 Jul 2014 02:01
by yusef88
@Enternal
very thanks
Re: Floating Preview Associations
Posted: 11 Jul 2014 02:17
by klownboy
There's an option in ImageEye to only show the titlebar and border when the mouse is hovering over the image so if you use the mouse wheel to move between pictures and it's off the picture, the title bar is not shown. It actually has a very very thin border. It may indeed invoke some nostalgia, it's been around for 20 years. There's also has a x64 version. Like makecoffee, it will show png files with the transparent background so it's ideal to have a "play" or "Vu" custom column script using image view so it opens the image, displays it for a few seconds and then closes like this...
Code: Select all
open "D:\Graphics\Image Eye\Image Eye.exe" "<cc_item>" "-zoom=.7";
wait 2000;
run "D:\Graphics\Image Eye\Image Eye.exe" "-close";
Here I'm viewing or should I say previewing the picture at 70% size for 2 seconds and then automatically closing it. You can also do same similar with a PFA script and it works great, but use openwith without <cc_item>.
Ken
Re: Floating Preview Associations
Posted: 12 Jul 2014 00:28
by Enternal
I got to say but I'm liking ImageEye and your script. Now I just added another alternative image viewer to my list (currently there XY's float preview, IrfanView, MaxView, Honeyview, and this)

Why do I have so many? Because I can. Haha. Thanks!
Re: Floating Preview Associations
Posted: 03 Aug 2014 19:55
by CookieMonster
SammaySarkar wrote:One of the first improvements I did after discovering all the scripting stuff:
Code: Select all
"XyPreview|<xyicons>\xyplorer.ico" jpg;jpeg;png;gif;bmp;tif;tga;psd;xpm;pbm;pcx>#178;
(don't know if all those formats get previewed, they're there just in case! ;-) )
I also have this (kids love playing flash games!

)
Code: Select all
swf>::setlayout("InfoPanelHeight=700");#174;
This one's also great for quick video preview.
Sammy, does this script work for you ? When I assigned the script to a button in XYplorer, I get repeated errors ?
I wish XYplorer preview could scroll vertically !
Re: Floating Preview Associations
Posted: 04 Aug 2014 03:10
by RalphM
Hi CookieMonster
The lines you're referring to are no scripts but PFA entries, so copy and paste them into your PFA list and use them via the PFA button.
Only klownboy's lines a bit further up are scripts to open images with Image Eye.