[RSS Feed/News] AI gave me code to allow drag to resize images

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I asked ChatGPT to write some code that would allow my users to click and drag images to resize them.

I'm not used to adding js to my templates so I'm not sure which template to put it in, if it goes in the HEAD or BODY or if it needs to be converted into Xenforo code or something?

Simple advice would be greatly appreciated. Here is the code it gave me:

Code:

Code:
<script src="https://cdn.interactjs.io/v1.10.17/interactjs/index.js"></script>

    $(document).ready(function() {...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom