inherit
220312
0
Oct 5, 2023 8:26:18 GMT -8
tek
43
April 2015
tektek
|
Post by tek on Aug 31, 2022 23:15:23 GMT -8
Forum URL: googleearthcommunity.proboards.com/The attached plugin is based on what Ulises created -a number of improvements, new features, and some clean-ups included. As I was informed by Cloudinary that the Cloudinary widget would be deprecated, which meant that the Cloudinary plugin would not work in a near future, I started to build up this version with the help of the Cloudinary support desk. Because I see a number of forums use the plugin at a time the old version stoped its calls, I decided to post it here. As of now, it's been used for a 1.5-years period of time in our forum. If you decide to use the attached plugin, you should not delete Ulises's version because the former imports the user preferences from the latter once the user logs in. If you don't care about it, or when you decide all members using the Cloudinary plugin logged in, you can delete the old version. Please, while using the Cloudinary widget, consider the warning by Chris here. It is the reason for the plugin being not listed in the Library. Help is extensively provided within the Plugin pages, which took a long time for me to edit and update everytime while coding. Requests and questions are welcome. Edit: I saved it as an open source, so that you can check what is going on, and edit the descriptions to make them simpler letting your admins understand them. Because mine may be too complex. However, editing the codes is not recommended. Anything edited in one part of the script can have effects on other parts.
|
|
BUGERⴷTORS™
New Member
WHAT IS DEAD, CAN NOT DIE.
Posts: 11
inherit
262835
0
Dec 18, 2023 15:59:21 GMT -8
BUGERⴷTORS™
WHAT IS DEAD, CAN NOT DIE.
11
November 2020
bugerators
|
Post by BUGERⴷTORS™ on Sept 2, 2022 11:35:57 GMT -8
Hello,
I have problem with:
Cloudinary's Upload Widget 1.0 is no longer available. See: https://cloudinary.com/documentation/upload_widget for info about our latest Upload Widget.
Error showing in dev tool... Should i delete this old version and install that one u posted? and should i still have my old data which i have on my Cloudinary acc ?
|
|
inherit
220312
0
Oct 5, 2023 8:26:18 GMT -8
tek
43
April 2015
tektek
|
Post by tek on Sept 2, 2022 11:51:23 GMT -8
Should i delete this old version and install that one u posted? and should i still have my old data which i have on my Cloudinary acc ? Only the Upload Widget is deprecated, nothing else. Your account is not affected. Do not change anything in your account. Only the old Cloudinary plugin which used the now-deprecated widget won't work anymore. While telling deleting or not deleting the old plugin is the scenario that some of your members may not remember their Cloud Name and Upload Preset. Therefore, the new plugin reads the Cloud Names and Upload Presets.from the old plugin and helps the members. If you delete the old plugin, these information will be lost and members will have to enter the information again.
|
|
BUGERⴷTORS™
New Member
WHAT IS DEAD, CAN NOT DIE.
Posts: 11
inherit
262835
0
Dec 18, 2023 15:59:21 GMT -8
BUGERⴷTORS™
WHAT IS DEAD, CAN NOT DIE.
11
November 2020
bugerators
|
Post by BUGERⴷTORS™ on Sept 2, 2022 17:34:18 GMT -8
Hello,
I've another question, when i upload image it's allways in this format:
[a href="https://res.cloudinary.com/bugerators/image/upload/v1662164767/l1z10pzfahb73mcag1da.jpg"][img src="https://res.cloudinary.com/bugerators/image/upload/v1662164767/l1z10pzfahb73mcag1da.jpg" style="width:200px;max-width:100%" alt=" "][/a] but i would like that be:
[img src="https://res.cloudinary.com/bugerators/image/upload/v1662164767/l1z10pzfahb73mcag1da.jpg" alt=" "] cuz i am also using image resize plugin...
How do i change that ?
|
|
inherit
220312
0
Oct 5, 2023 8:26:18 GMT -8
tek
43
April 2015
tektek
|
Post by tek on Sept 2, 2022 23:50:01 GMT -8
Switch to "Build", then to "Components". In line 527, d elete the "a href" wrapper; that is, change [a href=<span style="color: rgb(255, 255, 255); font-family: monospace, monospace; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(54, 53, 60); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">"'+vAN1+'"</span>][img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "][/a]'
to [img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "]
|
|
BUGERⴷTORS™
New Member
WHAT IS DEAD, CAN NOT DIE.
Posts: 11
inherit
262835
0
Dec 18, 2023 15:59:21 GMT -8
BUGERⴷTORS™
WHAT IS DEAD, CAN NOT DIE.
11
November 2020
bugerators
|
Post by BUGERⴷTORS™ on Sept 7, 2022 9:20:56 GMT -8
Switch to "Build", then to "Components". In line 527, d elete the "a href" wrapper; that is, change [a href=<span style="color: rgb(255, 255, 255); font-family: monospace, monospace; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(54, 53, 60); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">"'+vAN1+'"</span>][img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "][/a]'
to [img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "]
Hello, my 527 line looks like this: $('.wysiwyg-textarea').data('wysiwyg').overwriteSelection('[a href="'+vAN1+'"][img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "][/a]'); is it oke if i just put like this: [img src="'+vAN1+'" alt=" "] insted: [a href="'+vAN1+'"][img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "][/a]
|
|
inherit
220312
0
Oct 5, 2023 8:26:18 GMT -8
tek
43
April 2015
tektek
|
Post by tek on Sept 7, 2022 13:01:18 GMT -8
is it oke if i just put like this: [img src="'+vAN1+'" alt=" "] insted: [a href="'+vAN1+'"][img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "][/a] Yes. Change it to $('.wysiwyg-textarea').data('wysiwyg').overwriteSelection('[img src="'+vAN1+'" style="width:200px;max-width:100%" alt=" "]');
|
|