Author |
Message |
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Not sure if I can help you... but here is the steps I take to make the galleries...
1. I got the code that xyrano wrote in the html Window editor in DVD Profiler... with path to the Gallery folder there.
2. in the Gallery Folder I put a folder that is named the UPC for the profile I want to make the Gallery for.
3. In the folder I just made I put the images I have for that gallery...lets say... named 00.jpg through 15.jpg
4. I go back to DVD Profiler and in the notes section (with html for notes enabled) I type in <gallery=16>
then that is done and I move on and do steps 2-4 for the next profile I want a gallery on. | | | Pete | | | Last edited: by Addicted2DVD |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting Addicted2DVD: Quote: Not sure if I can help you... but here is the steps I take to make the galleries...
1. I got the code that xyrano wrote in the html Window editor in DVD Profiler... with path to the Gallery folder there.
2. in the Gallery Folder I put a folder that is named the UPC for the profile I want to make the Gallery for.
3. In the folder I just made I put the images I have for that gallery...lets say... named 00.jpg through 15.jpg
4. I go back to DVD Profiler and in the notes section (with html for notes enabled) I type in <gallery=16>
then that is done and I move on and do steps 2-4 for the next profile I want a gallery on. Do i need to copy the code to make a new gallery for every movie..? I mean, i've one working gallery now, must i copy the code and go to VIEW -> HTML Windows -> Edit... to make a new gallery..? And that for every movie i have...? | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | no... #1 is just a one time thing... once you have it in there you don't need to do it again... it is just to make the Gallery window to work. | | | Pete |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting Addicted2DVD: Quote: no... #1 is just a one time thing... once you have it in there you don't need to do it again... it is just to make the Gallery window to work. Well, that is working... With my first movie it works ok... But now i want to do more, but how do i get the second one to work... This is the path in the code; var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/8-716777-059463" When i want to make a new gallery, do i need to copy that path, put it under the first one in the code and change the upc for the new one...? When i do that, the pics show up in my first gallery (replacing the other pics) and nothing appears in the new one... I know i'm a pain.., but i realy don't know.... | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Change: var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/8-716777-059463"
To: var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/"
then in the folder on your hard drive you put a folder named just the upc of profile.... and do that with every profile you have... that way you have a gallery folder with several folders inside... one for each profile.
for example... mine looks like this...
Gallery (Folder) -- 025192052125 (Folder) ------ 00.jpg (image) ------ 01.jpg (image) -- 025192121920 (Folder) ------ 00.jpg (image) ------ 01.jpg (image)
and so on | | | Pete | | | Last edited: by Addicted2DVD |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Well, i did what You said, and this is the result; It seems like DVDP finds the way to the gallery folder, but after that it's lost his way... Above a screenshot of the code, can't find anything wrong with it... ( even changed the / back to \\ ) | | | Registered: July 7 2000 | | | Last edited: by Zwollenaar |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | nothing I see off hand wrong with the code.... though code is not my strong point... I am sure xyrano can tell you better then I on that matter.
My next question is what are you naming your images? I do believe you have to name them numbers starting with 00 so if you have 5 images in the folder it should be...
00.jpg 01.jpg 02.jpg 03.jpg 04.jpg
if you do have them named that way it would have to be something in the code I would think. | | | Pete |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting Addicted2DVD: Quote: nothing I see off hand wrong with the code.... though code is not my strong point... I am sure xyrano can tell you better then I on that matter.
My next question is what are you naming your images? I do believe you have to name them numbers starting with 00 so if you have 5 images in the folder it should be...
00.jpg 01.jpg 02.jpg 03.jpg 04.jpg
if you do have them named that way it would have to be something in the code I would think. Yes, i did that to.... I'm working with Win2000 Pro, maby this code is for WinXP and there has to be changed something more than only the path.... | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Sorry... I am all out of ideas... maybe xyrano or someone else can help you. | | | Pete |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | I think that you want to remove the trailing backslash from the definition of gsl. Everywhere that you use it, you are adding a backslash, so either you don't want one on the end, or you don't want to add one. Easiest is to remove the one in the definition.
Cheers | | | -fred |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,436 |
| Posted: | | | | Also, make sure there are no dashes in the UC folder name...
You previously had var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/8-716777-059463" which indicates to me, that you folders have dashes.. folder name should be 8716777059463, not 8-716777-059463. | | | Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan. Registered: May 29, 2000 (at InterVocative) |
|
Registered: March 13, 2007 | Reputation: | Posts: 17,334 |
| Posted: | | | | Quoting ya_shin: Quote: Also, make sure there are no dashes in the UC folder name...
You previously had var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/8-716777-059463" which indicates to me, that you folders have dashes.. folder name should be 8716777059463, not 8-716777-059463. that is a good catch... didn't even notice that! | | | Pete |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting Addicted2DVD: Quote: Sorry... I am all out of ideas... maybe xyrano or someone else can help you. It's ok.., thanks for the help.... | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting FredLooks: Quote: I think that you want to remove the trailing backslash from the definition of gsl. Everywhere that you use it, you are adding a backslash, so either you don't want one on the end, or you don't want to add one. Easiest is to remove the one in the definition.
Cheers Don't know what You mean..., can You give me an example...? | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Posts: 4,506 |
| Posted: | | | | Quoting ya_shin: Quote: Also, make sure there are no dashes in the UC folder name...
You previously had var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/8-716777-059463" which indicates to me, that you folders have dashes.. folder name should be 8716777059463, not 8-716777-059463. I edited the path again; var gsl = "C:/Documents and Settings/Administrator/Mijn Documenten/DVD Profiler/gallery/" Also changed the names of the upc folders without the dashes. But still no results, the pics stay away... | | | Registered: July 7 2000 |
|
Registered: March 13, 2007 | Posts: 646 |
| Posted: | | | | Quoting ifbi98: Quote: Thank you very, very much for your valuable help. I'll work on it next week because I'm going out for the weekend.
Thanks again Your welcome! Quoting ya_shin: Quote: I don't have sample code I have seen this before on some website, but searching for it yesterday I couldn't find it again... Thats okay, hehe. I have tested the preload approach but it isn't (so far) 100%, meaning that sometimes it will render all images in the folder but other times it just render some of them. Still trying though... Anyway, I'll have to quickly update the current script so Mr Z can use this (Locality in DP_UPC). |
|