|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:49:28 AM
GenoPro Version: 2.0.1.6
Posts: 3,489,
Visits: 14,620
|
|
MR (12/3/2006) Sent a file called Test Case. Don't know how to send the corresponding picture... Please let me know if you need additional files. Thanks for the file. I generated two reports. The first report was with the default settings to copy the picture to the report). The result was the following HTML code: | <img src='pictures/me3.jpg' width='208px' height='250px' ... /> |
The second report was generated by linking the picture to the report. Here is the generated HTML code: | <img src='file://C:\Documents and Settings\Mark\Desktop\me3.jpg' width='208px' height='250px' ... /> |
Therefore I have to conclude the report generator does a correct job. I am using Beta20c however. Maybe there is a bug with Beta20b. If you still get problems with Beta20c, let me know.
|
|
|
|
|
Forum Writer
      
Group: Customers
Last Login: 7/20/2008 1:17:27 AM
GenoPro Version: 2.0.1.5
Posts: 65,
Visits: 131
|
|
| I deleted the old GenoPro reports before running the test case I sent. In the first (default) case there is no Picture folder at all in GenoPro reports, thus no picture can be found... Or am I missing something?
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:49:28 AM
GenoPro Version: 2.0.1.6
Posts: 3,489,
Visits: 14,620
|
|
| Can you post the code generated? Just copy & paste the portion of the HTML code linking to the picture (like I did). Can you try Flush Cached Picture Properties from the Tools menu and generate a report again?
|
|
|
|
|
Forum Writer
      
Group: Customers
Last Login: 7/20/2008 1:17:27 AM
GenoPro Version: 2.0.1.5
Posts: 65,
Visits: 131
|
|
| Flush does not help. First Report: | <img src='pictures/me3.jpg' width='208px' height='248px' class='picright' style='margin:1px 0px 1px 15px;' onclick='viewPic("pictures/me3.jpg")' alt='' title=''/> |
Second Report: | <img src='file://C:\Documents and Settings\Mark\Desktop\me3.jpg' width='208px' height='248px' class='picright' style='margin:1px 0px 1px 15px;' onclick='viewPic("file://C:\Documents and Settings\Mark\Desktop\me3.jpg")' alt='' title=''/> |
Looks the same as generated by you...
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:49:28 AM
GenoPro Version: 2.0.1.6
Posts: 3,489,
Visits: 14,620
|
|
| Can you view the picture on your second report? If the file 'C:\Documents and Settings\Mark\Desktop\me3.jpg' is on your computer, then it should work. GenoPro should copy this file into the sub-folder named "pictures", however if the file me3.jpg is not found at 'C:\Documents and Settings\Mark\Desktop\me3.jpg', then it won't be there. By the way, are you generating a report from a custom skin, or from the built-in skin named English Narrative Report?
|
|
|
|
|
Forum Writer
      
Group: Customers
Last Login: 7/20/2008 1:17:27 AM
GenoPro Version: 2.0.1.5
Posts: 65,
Visits: 131
|
|
| 1. Don't understand the last answer. In my understanding in the second case (link) we should not get Pictures folder as there is no need to copy. And, in fact, in the test case of one individual and one picture there is no Picture folder built. 2. Yes, the picture is as indicated. In fact it is seen in the report, only clicking on it does not work. 3. I am using the standard English Narative report. 4. One strange thing... if not enough... I reinstalled 20a again and looked into the generated HTML code. Here both cases (with or without the linking option checked) give the same code with a source from Pictures folder (the first case as above) !!!??? This of course explains why everything worked in 20a...
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:49:28 AM
GenoPro Version: 2.0.1.6
Posts: 3,489,
Visits: 14,620
|
|
| You are right. When clicking on the picture, I get an error. I thought it was a problem with GenoPro not copying the picture to the report. It is a problem with the JavaScript. Ron will fix it for Beta 20d. I got confused, because I just changed the code in Beta 20b regarding linking pictures to a report. I thought I introduced a bug in my code. The report generator does the correct job; it is the report template which has an error in the JavaScript.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 1:49:28 AM
GenoPro Version: 2.0.1.6
Posts: 3,489,
Visits: 14,620
|
|
Beta 20d has the fix by adding the JavaScript encoding {&j}. The picture path was not JavaScript-encoded, so the backslashes (\) were interpreted as JavaScript escaping characters.
|
|
|
|