issues
search
fedorablewill
/
ptu-tools
PokéSheets: A Pokemon Generator/Manager for Pokemon Tabletop United v1.05
3
stars
3
forks
source link
Pokemon - Editable Photo
#74
Closed
fedorablewill
closed
1 year ago
fedorablewill
commented
2 years ago
When hover over the picture, gray it out slightly and make an edit (pencil) icon appear at the top right
On click, prompt for a url to be pasted in a javascript prompt box
If not a valid URL (does not start with https) then throw alert "Invalid URL. Must start with https://"
If valid, replace the image with the new one, and set the value of the image url field to the new URL
When loading the image, if the field begins with "https://" then use the value of the field as the image source. Else, do as we do today