I want to put a lot of data in the image address, such as:
is conventional, I want Change to
Browse After the server submits the image request to the server, I change the name of the image to wg.png on the server side and return it to the browser.
Can the above method be done? n is much larger than 256, maybe around 5k.
If you add it this way, the image will not be recognized. You can use the data-address method to tie it to the img.
For example:
You can get it directly like this:
$.data('address');
Data You follow the url
http://www.letuknowit.com/images/wg.png?data=xxxxxxxxxxxxxxxxxxxx
Leave the ready-made format alone
Data you follow the url
http://www.letuknowit.com/images/wg.png?data=xxxxxxxxxxxxxxxxxxxx
Leave the ready-made format alone
If you add it this way, the image will not be recognized. You can use the data-address method to tie it to the img.
For example:
You can get it directly like this:
$.data('address');