Cleaning up the upload/embed icons
-
I mean the icons above a post that you can click on to upload and embed images, music, etc. I suppose there are a couple of those icons that do different things, like inserting a poll … but most of those icons do the exact same thing. They open the uploading window.
It just seems superfluous. One wouldn’t even need an icon, really. Just the words “media upload” would work.
-
They may look virtually the same, but they each use different code. One is for inserting images, one is for inserting videos, one is for inserting documents such as Word or Excel files. Each has unique code behind it for what is going to be inserted.
They are not the same.
-
Are you sure about that? The icons for polls and forms do different things, but the icons for images, videos, and music (and documents?) all open the same window. That window offers you the choice of uploading in any of the allowed file types. If you click on the image button, for instance, and upload a PDF file, it works. If you do that and upload an MP3, that works, too. I know, because I do that. I just click on image for everything.
How did you find out about each button bringing up a screen that looks the same but uses different code? That doesn’t make sense to me, given what I’ve seen. No offense.
-
Yes I’m sure. I’ve seen the code in the core wordpress files.
Insert Image
Add Video
Add Audio
Add Media4 different purposes, 4 different code packages.
-
Look at the titles in the top title bar when you click on each. They reflect the 4 different things I listed above.
-
You can’t use the same code to insert an image as you do to insert audio or video. Audio and video require that the code be converted over to what wordpress uses in the backend. Same with documents (add media), it inserts a link to a file that you have uploaded into your post or page.
-
I see what you’re saying. However, I just uploaded an MP3 using the Add Image window. Yes, it’s a different window, in that it has a different title, but that’s all that’s different. When I uploaded the MP3, it did the correct thing. And, as I mentioned, I’ve already done this many times in the past. I make a point of using just the one icon, because I find it silly for them to have four icons do the same thing.
I do realize that you need different shortcode for different files. What I’m saying is, whichever window you choose, it lets you upload any of the allowed file types, and adds in the correct shortcode, as I’ve just witnessed (one of many times).
I would like to be able to put ideas out there, but I have to say, there’s a reason I only pop in now and again. I can telegraph the responses a mile away, and they’ve always been negative.
-
Then they have recently added some sort of if/then/else statement making a decision.
Personally I’ve had such inconsistent luck with the video and audio insert that I don’t use them at all and just build the shortcode directly in the HTML tab.
- The topic ‘Cleaning up the upload/embed icons’ is closed to new replies.