FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 44 users online :: 0 Registered, 0 Hidden and 44 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SUGGESTION] Upload a pic

View previous topic View next topic Go down

Anonymous
Guest
Guest

PostGuest Thu 01 Dec 2016, 14:56

This.... is still CRYING OUT LOUD for an upload buton, in any of version, especially EDGE!:

[SUGGESTION] Upload a pic Ffd2dd7218b64aedb9dc846a501ae305
Pantone
Pantone

Gender : Female
Age : 31
Posts : 490
Points : 3655
Reputation : 59
Location : Indianapolis - IN
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
http://canvasforums.com https://twitter.com/@HaeDoesGraphics https://pinterest.com/HaeDoesGraphics

PostPantone Thu 01 Dec 2016, 15:24

Isn't the upload button here, and you can use the link it gives? Think
[SUGGESTION] Upload a pic Screen11

[SUGGESTION] Upload a pic Screen12
Anonymous
Guest
Guest

PostGuest Thu 01 Dec 2016, 15:28

HaeDoesGraphics wrote:Isn't the upload button here, and you can use the link it gives? Think
[SUGGESTION] Upload a pic Screen11

[SUGGESTION] Upload a pic Screen12

True that, however we wanna loose some of the buttons in the SC, so it'd be more convenient to have 'm all combined somehow, concentrated in just a couple. Wink We all know about the buttons, however, the regular folks checking in won't know the dif and I won't be writing up sorts of tutos for people who are new to forums! I told Pro about this already. I just won't. Thanks.
Valoish
Valoish
Graphic Designer
Gender : Female
Age : 28
Posts : 3671
Points : 7359
Reputation : 360
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish Thu 01 Dec 2016, 15:35

I agree with this, I HATE having two separate areas cuz when I first started using FM I was like "which one do I use for this omfg"
Maybe add the "insert image" content here instead?
[SUGGESTION] Upload a pic 39c77e2d5e5041909960baf699cd3885
Since there's a white space there anyway and it seems like it will fit.
Anonymous
Guest
Guest

PostGuest Thu 01 Dec 2016, 15:41

Perhaps. One way or another, I'll be leaving this to Ange's imagination. Gotten used to just a few buttons in the editor, I can't imagine how future members will know the difference, too. It'd be bright to have'm all combined somehow. Idk. It's an urgent request, but if it 'll be too complicated to work it all out into scripts etc, I'm affraid I'll have to let go. ty (you got my vote and your friend's already, I see. Doesn't really matter which way to go. Wink )

GN! Hello
..
SLGray
SLGray
Valued Member
Gender : Male
Age : 51
Posts : 2465
Points : 7346
Reputation : 290
Location : United States
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : ModernBB
http://www.fmthemes.forumotion.com https://www.facebook.com/FM-Themes-655055824604957 https://twitter.com/FMThemes https://pinterest.com/FMThemes

PostSLGray Thu 01 Dec 2016, 17:22

The host an image button is for hosting.  The insert image button is for when you what to insert an image that is not on your computer.
Anonymous
Guest
Guest

PostGuest Fri 02 Dec 2016, 04:57

SLGray wrote:The host an image button is for hosting.  The insert image button is for when you what to insert an image that is not on your computer.

I know. Why not combine the two? It's confusing to have 2 buttons in the editor for seperate operations.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 02 Dec 2016, 10:30

This ought to do the trick. Just set the script's placement to "in all the pages". It'll open a new window for uploading images, since using the sceditor's upload button will just force the other popup to close.
Code:
$(function() {
  if ($.sceditor) {
    $(function() {
      window.fa_servimg_upload = function () {
        var win = window.open('https://servimg.com/',  '_blank', 'width=620,height=300');

        $.get('/privmsg?mode=post', function(d) {
          var email = d.match(/var servImgAccount = '(.*?)';/i),
              id = d.match(/var servImgId = '(.*?)';/i),
              f = d.match(/var servImgF = '(.*?)';/i);

          if (email && id && f && email[1] && id[1] && f[1]) {
            win.location.href = 'https://servimg.com/multiupload.php?&mode=fae&account=' + email[1] + '&id=' + id[1] + '&f=' + f[1];
          }
        });
      };

      $('.sceditor-button-servimg').hide();
      $('.sceditor-button-image').click(function() {
        $('.sceditor-insertimage div:last-child').append(
          $('<input type="button" class="button" value="Upload">').click(fa_servimg_upload)
        );
      });
    });
  }

  'par ange tuteur';
});
Anonymous
Guest
Guest

PostGuest Fri 02 Dec 2016, 11:30

That's EXACTLY how we wanted it! Good Good job, @Ange Tuteur!
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum