Some of this may be very obvious, but as a weekend hobbyist, a lot of supposedly simple things go right over my head.
I’ve searched through the forum, and found a few things a kind of applied, but they all seem to be pre-RB2020, and don’t always work.
Right now I have a listbox that, when selected, puts all the necessary user info into various textfields, popupmenus, etc.
I need to figure out how to upload and use a picture along with this, and I’m stuck.
I’ve written up some pseudocode to show my thinking, and would appreciate any help with this.
//Upload Picture
User Selects Picture to Upload
Check to see if Picture is useable
If Picture is not the correct type then
try
Convert the picture to something useable then do the above actions
if the picture cannot be converted to something useable then
Let the user know the Picture will not work
end if
end try
else if User Selects a Useable Picture then
Save the Picture to a Database //Full size version kept for viewing if User needs it
Scale the picture to fit a WebImageViewer
Save the ScaledPicture to a database //scaled version to be pulled out later for faster loading
end if