Author |
Message |
Registered: March 13, 2007 | Reputation: | Posts: 1,911 |
| Posted: | | | | For some reason, this new version is making the thumbs look funky. | | | Signature banned: Reason out of date... |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Look for this section in the code... Quote: // Position and Clipping var pos = true; //var pos = false; var cl1 = false; var cl2 = true; //var cl2 = false; var cl3 = false; var sp5 = false; var sp7 = false; var sp9 = false; You probably want to make it... Quote: // Position and Clipping var pos = true; //var pos = false; var cl1 = true; var cl2 = false; //var cl2 = false; var cl3 = false; var sp5 = false; var sp7 = false; var sp9 = false; That is what I did and makes the thumbs look square again. | | | Pete |
|
Registered: March 13, 2007 | Reputation: | Posts: 1,911 |
| Posted: | | | | Thanks Pete. The other way they looked like hot dogs | | | Signature banned: Reason out of date... |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | no prob... lol yeah I know! | | | Pete |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Quoting xyrano: Quote: ya_shin: Hope you don't mind waiting for the filename prefix thing a day or two more? Of course not. Even more than that. Just take your time. | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Hmmmm, thought of one small thing that could make our lives easier. ...adding a link to the folder with the images. That would make setting up a gallery even simpler...? I found something like this to work: Quote: document.write("<a href='file:///" + DP_ProgramPathImages + "gallery\\" + DP_UPC + "\\' target='_blank'>Gallery folder</a>"); which apparently assumes that the images are in a subfolder called gallery below the images folder of the related database in DVD Profiler. I have it currently in a different window, but if others would find it useful too, maybe it would be worth adding it at the bottom of the Gallery window. | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | I think that is an excellent idea... would make finding the folder much simpler for adding new images and such. | | | Pete |
|
Registered: March 13, 2007 | Posts: 646 |
| Posted: | | | | Quoting ya_shin: Quote: Hmmmm, thought of one small thing that could make our lives easier. ...adding a link to the folder with the images. That would make setting up a gallery even simpler...?
I found something like this to work:
Quote: document.write("<a href='file:///" + DP_ProgramPathImages + "gallery\\" + DP_UPC + "\\' target='_blank'>Gallery folder</a>"); which apparently assumes that the images are in a subfolder called gallery below the images folder of the related database in DVD Profiler.
I have it currently in a different window, but if others would find it useful too, maybe it would be worth adding it at the bottom of the Gallery window. Excellent idea, I'll add this too! I'll try add this in a way so it wont interfere with viewing pleasures (Stuff that is not needed all the time sh/c-ould be hidden until the user want to see it). In the mean time you can test this suggestion out, and tell me how it goes. Put Quote: document.write("<a id='local-gallery-folder' class='external-link' href='file:///" + gsl + DP_UPC + "\\' target='_blank'>Gallery folder</a>"); somewhere inside the body tag but outside any already existing div tag. [edit] Naturally it should be: file:///" + gsl + DP_UPC + "\\ | | | Last edited: by xyrano |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Awesome... works great. I don't think it is to bothersome being there as long as it is under all the images. | | | Pete |
|
Registered: March 13, 2007 | Posts: 646 |
| Posted: | | | | What about putting the link on the title? |
|
Registered: March 13, 2007 | Posts: 793 |
| Posted: | | | | Quoting xyrano: Quote: What about putting the link on the title? That would be great. |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | After a bit of additional tinkering it worked for me too (the +DP_UPC was too much, as the "gsl += upc;" interfered with it; also "outside any existing div threw me off, as the body starts and ends with a <div>).
Anyway, I like the idea of simply adding it to the Title; avoid having additional text in the window. | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Quoting xyrano: Quote: What about putting the link on the title? Yeah... I think that is an even better idea! | | | Pete |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | If you'll be using something like this: Quote: <body scroll="auto" onLoad="visual();"> <div id="thumbnails" class="images"> <script type="text/javascript"> document.write("<a id='local-gallery-folder' href='file:///" + gsl + DP_UPC + "\\' target='_blank'><div class='title'><DP NAME="TITLE"></div></a>"); <!-- [...] I suggest adding cursor: hand; to the .title class... | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) | | | Last edited: by nuoyaxin |
|
Registered: March 13, 2007 | Posts: 646 |
| Posted: | | | | Quoting RossRoy: Quote: Quoting xyrano:
Quote: What about putting the link on the title?
That would be great. Hi, RossRoy... where you've been? Quoting ya_shin: Quote: After a bit of additional tinkering it worked for me too (the +DP_UPC was too much, as the "gsl += upc;" interfered with it; also "outside any existing div threw me off, as the body starts and ends with a <div>). x: It depends on where in the body you put it, I guess. But since we seem to have agreed on the title it is correct as it is now, e.g. file:///" + gsl + DP_UPC + "\\ Anyway, I like the idea of simply adding it to the Title; avoid having additional text in the window. Trust me, this is much simpler than the idea I initially had for it. Quoting Addicted2DVD: Quote: Quoting xyrano:
Quote: What about putting the link on the title?
Yeah... I think that is an even better idea! 3 peoples for the title, thats it then Quoting ya_shin: Quote: If you'll be using something like this:
Quote: <body scroll="auto" onLoad="visual();"> <div id="thumbnails" class="images"> <script type="text/javascript"> document.write("<a id='local-gallery-folder' href='file:///" + gsl + DP_UPC + "\\' target='_blank'><div class='title'><DP NAME="TITLE"></div></a>"); <!-- [...] I suggest adding cursor: hand; to the .title class... I think I'll have the div's outside since we agreed to have it on the title. Quote: document.write("<div class='title'><a id='local-gallery-folder' href='file:///" + gsl + DP_UPC + "\\' target='_blank'><DP NAME="TITLE"></a></div>"); It is not necessary to set a class name in the a tag anymore (inherits style from div), the id attribute however could be there if someone wants a reference to that link (a personal hack maybe ). It's also not necessary to add cursor to the .title class, me thinks (gonna check that momentarily). |
|
Registered: March 13, 2007 | Posts: 793 |
| Posted: | | | | Quoting xyrano: Quote:
Hi, RossRoy... where you've been?
Here the whole time, watching this great script develop. I just haven't had time to try it out myself yet |
|