Quote from travin69 on May 22, 2019, 2:55 amI purchased Neobook back in the day and am back using it for a project, and needless to say I am having some issues and need some help. Here is what I am trying to do:
Issue #1: I have a list of web addresses to pictures hosted online. I use a web object to open the website and then copy the list into a text box with a variable of [PictureLink]. Each picture address is on a separate line. Each picture has 2 parts, a front and back photo taken in order, with 2 web addresses, one for the front and one for the back. I need to parse each address into its own variable and can't figure out how to do it easily. Here is an example of what I need:
List of pictures all in the same variable [PictureLink] (there are 1000s of addresses; each on its own line):
http://www.sportscardpics.com/images/2019/05/16/ySdp.jpg
http://www.sportscardpics.com/images/2019/05/16/yCo1.jpgI need to put each one in its own variable easily:
[Front1] = www.sportscardpics.com/images/2019/05/16/ySdp.jpg
[Back1] = www.sportscardpics.com/images/2019/05/16/yCo1.jpg
Issue #2: Once I have the picture addresses, I then open them into web objects so I can see both the front and back of the item in the same screen (using 2 different web objects). The problem is I need to display the photos scaled down to fit the web object. all pictures are the same size but some are landscape and some are portrait.
Any help would be awesome and much appreciated.
I purchased Neobook back in the day and am back using it for a project, and needless to say I am having some issues and need some help. Here is what I am trying to do:
Issue #1: I have a list of web addresses to pictures hosted online. I use a web object to open the website and then copy the list into a text box with a variable of [PictureLink]. Each picture address is on a separate line. Each picture has 2 parts, a front and back photo taken in order, with 2 web addresses, one for the front and one for the back. I need to parse each address into its own variable and can't figure out how to do it easily. Here is an example of what I need:
List of pictures all in the same variable [PictureLink] (there are 1000s of addresses; each on its own line):
http://www.sportscardpics.com/images/2019/05/16/ySdp.jpg
http://www.sportscardpics.com/images/2019/05/16/yCo1.jpg
I need to put each one in its own variable easily:
[Front1] = http://www.sportscardpics.com/images/2019/05/16/ySdp.jpg
[Back1] = http://www.sportscardpics.com/images/2019/05/16/yCo1.jpg
Issue #2: Once I have the picture addresses, I then open them into web objects so I can see both the front and back of the item in the same screen (using 2 different web objects). The problem is I need to display the photos scaled down to fit the web object. all pictures are the same size but some are landscape and some are portrait.
Any help would be awesome and much appreciated.
Quote from travin69 on May 22, 2019, 3:37 amIssue number 1 is solved. Finally figured how to parse addresses into a array.
Still need a solution for issue number 2. I need a way to view the entire picture just scaled down to the web object size.
If the solution is a paid solution, I am ok with that as well.
Thanks again,
Daniel
Issue number 1 is solved. Finally figured how to parse addresses into a array.
Still need a solution for issue number 2. I need a way to view the entire picture just scaled down to the web object size.
If the solution is a paid solution, I am ok with that as well.
Thanks again,
Daniel
Quote from Gaev on May 23, 2019, 12:27 am@Travin69:
If the solution is a paid solution, I am ok with that as well.
No charge, but I need some more details of your requirement first.
I need a way to view the entire picture just scaled down to the web object size.
When I click on the link for [Front1], then ...
a) right click on the image and choose Inspect ... it tells me that the image is 289 X 193 (that does not sound right)
b) download it and examine its properties, it says that the image is 4496 X 3000 pixels
Using this as an example, can you tell us ...
1) what is the desired size of your Web Object ?
2) do you need to retain the aspect (width\height) ratio ? ... if so, do you want to fit width or height to the width/height of the Web Object ?
... once we know what is required, the solution would be to use an html file with <img></img> ... you would use such a file, with the url of the desired image as a parameter ... and optionally, the desired width and height of the image box ... the javascript within this html would then do the calculation etc.
@Travin69:
If the solution is a paid solution, I am ok with that as well.
No charge, but I need some more details of your requirement first.
I need a way to view the entire picture just scaled down to the web object size.
When I click on the link for [Front1], then ...
a) right click on the image and choose Inspect ... it tells me that the image is 289 X 193 (that does not sound right)
b) download it and examine its properties, it says that the image is 4496 X 3000 pixels
Using this as an example, can you tell us ...
1) what is the desired size of your Web Object ?
2) do you need to retain the aspect (width\height) ratio ? ... if so, do you want to fit width or height to the width/height of the Web Object ?
... once we know what is required, the solution would be to use an html file with <img></img> ... you would use such a file, with the url of the desired image as a parameter ... and optionally, the desired width and height of the image box ... the javascript within this html would then do the calculation etc.