Re: Image Insert Does not Have Thumbnails option

2 messages Options
Embed this post
Permalink
Mark Christian-3

Re: Image Insert Does not Have Thumbnails option

Reply Threaded More More options
Print post
Permalink
Hi,

I am not sure if anyone has followed up on this, but I do have a suggestion.  

We implemented our own browse functionality on the Hyperlink dialog.  In that dialog, we added a small panel to preview any selected image files.  The image dialog has a built in image browse button provided by Ephox, so we cannot change the behavior there.

I have not found any evidence that Sun has added any better support for a thumbnail view, but I might suggest the work-around that we used.

See http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html (FileChooserDemo2).  I would be happy also to share the code we used.  

Can I make this a feature request?

Thanks,
Mark Christian.
CrownPeak Technology
Los Angeles

----- Original Message -----
From: "Andrew Herron" <[hidden email]>
To: "Ephox Developers" <[hidden email]>
Sent: Monday, August 10, 2009 12:19:30 AM GMT -08:00 US/Canada Pacific
Subject: Re: [Liveworks] Image Insert Does not Have Thumbnails option

Hi Mark,

This is because we don't use the native "open" dialog on Windows, we use the one provided by the JRE.  This was done for a couple of reasons:

* Java's native dialog support links to an old version of the common controls, Vista isn't too bad but it displays the Windows 98-style open dialog on XP
* Java does not pass file type filters to the dialog correctly


The last time we looked at this was early 2008, I don't believe much has changed since then but I will log a note in our bug tracker to check if the latest JRE updates use a better native dialog.

Regards,
Andy

---
Andrew Herron, Senior Software Engineer
Global: +1 (650) 292 9659 x705  Australia: +61 (7) 3162 4601
Ephox <http://www.ephox.com> | Ephox Blogs <http://people.ephox.com>

> -----Original Message-----
> From: [hidden email] [mailto:liveworks-
> [hidden email]] On Behalf Of Mark Christian
> Sent: Saturday, 8 August 2009 4:22 AM
> To: liveworks
> Subject: [Liveworks] Image Insert Does not Have Thumbnails option
>
> Hi,
>
> When we go to the Image insert dialog to insert a local image.  There
> is no option to view thumbnails on the local OS in the browse dialog.
> Is there an option to turn this on?
>
> Thanks,
> Mark Christian.
> CrownPeak Technology
> _______________________________________________
> [hidden email]
> List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/
Andrew Herron-5

Re: Image Insert Does not Have Thumbnails option

Reply Threaded More More options
Print post
Permalink
Hi Mark,

We used to have a thumbnail preview in the image dialog file chooser  
but with large images it was causing memory leaks and  
OutOfMemoryExceptions.  We didn't have any complaints when it was  
removed so we didn't think anyone cared about it that much.  I didn't  
even consider it when you requested thumbnail view, I thought you  
wanted the windows-style thumbnail in every icon :)

I'll add a feature request to restore it.


Regards,
Andy

---
Andrew Herron, Senior Software Engineer
Global: +1 (650) 292 9659 x705  Australia: +61 (7) 3162 4601
Ephox | Ephox Blogs

On 03/10/2009, at 10:39 AM, Mark Christian wrote:

> Hi,
>
> I am not sure if anyone has followed up on this, but I do have a  
> suggestion.
>
> We implemented our own browse functionality on the Hyperlink  
> dialog.  In that dialog, we added a small panel to preview any  
> selected image files.  The image dialog has a built in image browse  
> button provided by Ephox, so we cannot change the behavior there.
>
> I have not found any evidence that Sun has added any better support  
> for a thumbnail view, but I might suggest the work-around that we  
> used.
>
> See http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html 
>  (FileChooserDemo2).  I would be happy also to share the code we used.
>
> Can I make this a feature request?
>
> Thanks,
> Mark Christian.
> CrownPeak Technology
> Los Angeles
>
> ----- Original Message -----
> From: "Andrew Herron" <[hidden email]>
> To: "Ephox Developers" <[hidden email]>
> Sent: Monday, August 10, 2009 12:19:30 AM GMT -08:00 US/Canada Pacific
> Subject: Re: [Liveworks] Image Insert Does not Have Thumbnails option
>
> Hi Mark,
>
> This is because we don't use the native "open" dialog on Windows, we  
> use the one provided by the JRE.  This was done for a couple of  
> reasons:
>
> * Java's native dialog support links to an old version of the common  
> controls, Vista isn't too bad but it displays the Windows 98-style  
> open dialog on XP
> * Java does not pass file type filters to the dialog correctly
>
>
> The last time we looked at this was early 2008, I don't believe much  
> has changed since then but I will log a note in our bug tracker to  
> check if the latest JRE updates use a better native dialog.
>
> Regards,
> Andy
>
> ---
> Andrew Herron, Senior Software Engineer
> Global: +1 (650) 292 9659 x705  Australia: +61 (7) 3162 4601
> Ephox <http://www.ephox.com> | Ephox Blogs <http://people.ephox.com>
>
>> -----Original Message-----
>> From: [hidden email] [mailto:liveworks-
>> [hidden email]] On Behalf Of Mark Christian
>> Sent: Saturday, 8 August 2009 4:22 AM
>> To: liveworks
>> Subject: [Liveworks] Image Insert Does not Have Thumbnails option
>>
>> Hi,
>>
>> When we go to the Image insert dialog to insert a local image.  There
>> is no option to view thumbnails on the local OS in the browse dialog.
>> Is there an option to turn this on?
>>
>> Thanks,
>> Mark Christian.
>> CrownPeak Technology
>> _______________________________________________
>> [hidden email]
>> List instructions at http://liveworks.ephox.com/mailing-list/
> _______________________________________________
> [hidden email]
> List instructions at http://liveworks.ephox.com/mailing-list/
> _______________________________________________
> [hidden email]
> List instructions at http://liveworks.ephox.com/mailing-list/

_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/