Submitted by David_H on 2015/01/20 14:52
I am syncing IQ between two machines using DropBox.  I'm super careful to always close it on one machine and letting it sync, then making sure the other machine syncs next time I turn it on before opening.  Easy to do as DropBox literally syncs within seconds.  Anyhow, when I copy and paste pictures into the HTML pane they don't sync within IQ.  Instead I get a little x mark in the HTML pane when I go to the other computer, the type you see on a website when there is a placeholder for a picture but someone has deleted the picture.
 
I just opened the folder SNDB.files on a computer where none of the pictures are showing up.  All the pictures that are missing are in the folder.  So why aren't the pictures showing up in IQ?
 
I sure hope there is a fix, this is pretty huge.
 
Thanks

Comments

Most probably because the picture isn't saved in the DB per se, but in the SNDB folder where external documents are stored.
 
(path)\dbname.SNDB.files
 
You should probably sync that folder too. When it'll be synced, there shouldn't be any problems... I suppose.
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

David_H

2015/01/20 17:40

In reply to by Armando

Maybe I wasn't clear enough - I am saying that the SNDB folder is synced and that I even confirmed that all the pictures are there, yet still they are not showing up in IQ itself.

Pierre_Admin

2015/01/20 17:53

In reply to by David_H

 Perhaps the .files folders do not have the same path on the two machines ?
 

David_H

2015/01/20 18:44

In reply to by Pierre_Admin

Duh, I'm going to guess that is it .  I just installed the IQ files in the default dropbox folder, but I believe I have a slightly different user name in each computer and I didn't even think about the fact that I needed to make the paths the same on each machine.  Thanks Pierre.

Pierre_Admin

2015/01/20 18:53

In reply to by David_H

 I'll see of I can add support for varying paths...

David_H

2015/01/20 20:56

In reply to by Pierre_Admin

OK so I changed the location of the dropbox folder so the path is identical on each computer.  But the pics still don't show up, now not on either computer.  If I look at Tools>Options>This File it shows the same path on each computer.  What do I need to do to point the content back to the SNDB folder?  The SNDB folder is in the same folder as the IQ file.
 
I am using the portable version in case it matters.  I'm a little confused because I'd just assume that by default IQ looks for the SNDB folder in the same location as the file.  Or that it would prompt for the location if it can't find it.
 
Thanks

Pierre_Admin

2015/01/20 21:08

In reply to by David_H

Perhaps you changed the path of the instance the correctly displayed the html ?
If yes, it is the other that should have been changed...
 

David_H

2015/01/20 21:16

In reply to by Pierre_Admin

I had to change the paths on both machines to make them match, I made them simple, C:\DropBox.  Otherwise I'd have had to rename my User folders on Windows on one of my machines and I don't want to touch that, even though Windows provides a mechanism to do it I've found it can cause all sorts of issues with various programs that are pointing there.
 
Surely there is a simple way to do this and point it to the new location?  What if I were moving IQ from one machine to another?  How would I do it then?
 
Thanks

Pierre_Admin

2015/01/20 22:08

In reply to by David_H

 Agreed, I'll look into this issue. Mostly likely this will mean using relative paths
 

David_H

2015/01/20 22:33

In reply to by Pierre_Admin

Hi Pierre,
 
I don't mean to be obtuse but now that I've set them to both have the same path isn't there just a setting I need to change that tells IQ where the SNDB folder is?  I just want to make sure we are on the same page and I'm not missing something?  If I were to move IQ from one computer to another and put it in a different location, wouldn't I have to do the same thing?  That is, somehow identify the new path of the SNDB folder?
 
Thanks

David_H

2015/01/21 23:46

In reply to by David_H

Anyone have an answer on this?  I am using IQ full time now so I don't have the luxury of sitting here not using it waiting for an answer, I either need to lose what I had in the SNDB folder and start over so I can keep working or I need to know how to re-point to the new SNDB folder location.
 
And my other question still remains which is intimately related to this, what would I do if I changed computers, in which case paths might also change?  If I move IQ from one PC to another do I always need to use the same path so the SNDB folder contents still work?  This is not making sense to me.

Pierre_Admin

2015/01/22 00:08

In reply to by David_H

 I'll be back from holidays monday, so l'll be able to help then. In the meantime, you could try to manually replace the absolute paths with relatives ones.
  1. open an html file in the .files folder with notepad or something more powerful
  2. search and replace the absolute path with a relative one
  3. save and see if the image now shows
There must be free tools which can bulk replace this in all your html files if need be.
If info is not confidential, I can do this for you
 
HTH

Armando

2015/01/22 01:14

In reply to by Pierre_Admin

Could he save his HTML files as MHT? Just thinking out loud.
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

David_H

2015/01/22 02:42

In reply to by Pierre_Admin

Thanks Pierre.  At this point I am just going to start over and hopefully you can answer some questions when you return from vacation.
 
I don't have any html (or mht or any other form of web page file) files in the sndb file folder.  This is not an issue of HTML content that has lost its images, at least not with regard to how I would define that.  Rather I had inserted pictures in the html pane for a bunch of items, no html content.  I now see that when I do that, IQ inserts the picture in the sndb folder and creates a link to it.
 
I now see that if a user moves an IQ database to a new location, all content in the html pane that links to content in the sndb file folder will be lost.  If I was manually creating shortcut links in the HTML pane I'd understand that, but with a program like IQ I just assumed that the links it creates automatically would only include the portion "after" the sndb file folder, and that you'd tell IQ somewhere where that folder is.  That way an IQ database could be moved to a different location or computer and always still work.  I'm not sure what to make of the fact that whatever path I use for an IQ database, I better use it for the rest of my life :p :D!  That also means I better never use a network path that points to a mapped drive, if I then moved it to a personal PC it would stop working.

Tom

2015/01/22 05:41

In reply to by David_H

[quote=David_H]I just assumed that the links it creates automatically would only include the portion "after" the sndb file folder, and that you'd tell IQ somewhere where that folder is.
[/quote]
I would have assumed that too, but going by what Pierre says, it is not (yet) the case.
 
I'm confused about what Pierre says - in the sndb.files folder here, there is *not* an htm nor an html file for each item that has content in the HTML pane (?)
-
but if there is in your folder David, the suggestion is to strip out the non-relevant parts of the file path and it would need to be replaced (I think) with "..." (again ?)
 
 

Pierre_Admin

2015/01/22 11:57

In reply to by David_H

OK, I see.
Drag-drop image support is relatively new and I should have implemented relative paths but didn't.
If you can wait, I'll update the version so that:
  1. Images will use relative paths
  2. On displaying the HTML content, if some images cannot be resolved, I'll use the current .files folder.
Expect it either monday or tuesday
 
HTH
 
Pierre_Admin

David_H

2015/01/22 14:59

In reply to by Pierre_Admin

[quote=Pierre_Admin]
OK, I see.
Drag-drop image support is relatively new and I should have implemented relative paths but didn't.
If you can wait, I'll update the version so that:
  1. Images will use relative paths
  2. On displaying the HTML content, if some images cannot be resolved, I'll use the current .files folder.
Expect it either monday or tuesday
 
HTH
 
Pierre_Admin
[/quote]
Wow!  Thanks!