Submitted by DragonGem on 2018/10/09 08:13

 Drag & Drop some image files into a Grid and specify to show in the Document Pane. When I turn on Browse Mode for the Document Pane and select a different Item, the image doesn't show; turning Browse Mode off fixes immediately.

NOTE: I did edit the HTML for each Image to set "height=350" so they would scale to my default Document Pane size; it would be great if we could specify some additional HTML directives to add into the HTML wrapper when creating File Links.

Comments

Humm... when I tried to reproduce this, it overwrote the image file with the Doc pane HTML... so beware !!
 
 
Pierre_Admin
IQ Designer
 

DragonGem

2018/10/09 09:58

In reply to by Pierre_Admin

Yes, I ran into that when I first started playing with IQ; I believe it has to do with setting "Link should point to: Actual file". At that point in time, I simply assumed that I was doing something inappropriate.

DragonGem

2018/10/09 10:08

In reply to by Pierre_Admin

Also note the curious side-effect that simply adding "height=350" to the HTML causes the hyperlink in the Grid Item to no longer function; not even using <Ctrl+Click> works.

Hi,
 
Not a bug fix per se, but an alternate ways to quickly add images to the Doc pane:
  • New: Doc pane: Copy / paste image files: Drag-drop is still not possible for image files, but it is now possible to copy / paste image files from Windows Explorer to the Doc pane editor. Supports 1 or more image files
  • New: Doc pane: Drag-drop image files is now possible by opening the Insert > HTML Code dialog
HTH !
 
Pierre_Admin
IQ Designer
 

DragonGem

2018/10/09 11:46

In reply to by Pierre_Admin

This sounds like an interesting enhancement. I look forward to giving it a whirl.

Just to be clear though... My original post related to Drag & Drop of Image files into a GRID (with the specification that they preview in a Document Pane) and NOT into a Document Pane.

 

Pierre_Admin

2018/10/09 12:01

In reply to by DragonGem

Understood. I'll look into that bug, as it is quite major. IQ should NEVER overwrite an image file you drag-dropped !!
 
Pierre_Admin
IQ Designer
 

DragonGem

2018/10/09 12:55

In reply to by Pierre_Admin

I have confirmed that the over-write problem only appears to occur when specifying that "Link should point to: Actual file".

The Image not previewing in the Document Pane with Browse Mode ON is completely separate (although when the actual image file is overwritten by the Link File the expected image won't show up I guess).

 

DragonGem

2018/10/10 19:26

In reply to by Pierre_Admin

0.110Pre3 Version History
  • Fixed: Doc pane: If the Doc pane is showing a linked file and this file is an image, editing is disabled

Is this a permanent "fix" or a short-term work-around for the problem with HTML Edits interfering with Item hyperlinks (does seem to solve that problem)? 

  • New: Doc pane: Drag-drop image files is now possible by opening the Insert > HTML Code dialog

This actually provides me with a more flexible approach to solving my image scaling issue as I can also now easily add in more information like date, dimensions and file size. A little bit more work but the added flexibility is worth it.

  • New: Doc pane: Copy / paste image files: Drag-drop is still not possible for image files, but it is now possible to copy / paste image files from Windows Explorer to the Doc pane editor. Supports 1 or more image files

Helpful for getting a series of small images into a document without having to use a full-fledged HTML Editor. 

Overall, some nice additions for dealing with Links to Image files.

 

 

Pierre_Admin

2018/10/10 19:46

In reply to by DragonGem

[quote=DragonGem]
 
Fixed: Doc pane: If the Doc pane is showing a linked file and this file is an image, editing is disabled

Is this a permanent "fix" or a short-term work-around for the problem with HTML Edits interfering with Item hyperlinks (does seem to solve that problem)?

[/quote]
Permanent fix, as showing an image file in the HTML is incompatible with editing
 
 
Pierre_Admin
IQ Designer
 

DragonGem

2018/10/10 20:45

In reply to by Pierre_Admin

Good enough!

The [Insert HTML] option gives me everything I need for Image scaling & commenting, the Item field can now be just Text (instead of a hyperlink that accidentally pops up the Image viewer regularly) and I still have access to the hyperlink in FileFullName. Best of all worlds!