Forums

[resolved] Image Title disappears if not network-admin (11 posts)

  1. snoffel
    Member
    Posted 8 months ago #

    I installed a wordpress MU Site in order to manage several blogs with the same theme. And I want to use a lightbox Plugin with image sublines based on image title text.

    But something strange happens with saving image titles: "non-networkadministrators" can't save image titles in posts!

    As an "only-one-blog-administrator" I type in an image title in Visual Mode, change to HTML Mode and it is still there. As I press the Save button, the page gets reloaded and only the part title="test" has disappered form the source code.

    If I do exactly the same with an "network-admin" user, this does not happen.

    I deactivated all plugins, I changed the author of the post, I tried different title texts - allways same result, only the user-type seems to be the reason why it works as expected or not. It does not matter if I am in a child-blog or in the main master-blog. And with user-role "author" and "editor" it is just the same - only the network-super-admin ist able to save the image title.

    Anyone else with the same effect? Any clues? Any help?
    Thanks!

  2. snoffel
    Member
    Posted 8 months ago #

    OK, i found out it has something to do with unfiltered_html which is only allowed for super-admins. By using this plugin I could save image titles as blog-administrator:

    http://wordpress.org/extend/plugins/unfiltered-mu/

    But isn't that stupid that image titles are declared "evil"? And if they are "evil" why is there a dummy editor form to fill it in, as it doesnt't get saved anyway?

  3. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Don't use that plugin if you have open registration where anyone can make an account. It's very dangerous.

    Is this the default image title from the built in WP tool that isn't being added, or is it from the plugin? And if it's a plugin, which one?

  4. snoffel
    Member
    Posted 8 months ago #

    I do not have open registration - I know that might be really dangerous.

    And for adding the image I use the build in TinyMCE, but it is the same if you just type code in HTML Mode: I enter

    <a href="http://www.xyz.com/abc/wp-content/uploads/2011/08/morgen_04.jpg"><img class="size-medium wp-image-386 alignnone" title="Titel Test" src="http://www.xyz.com/abc/wp-content/uploads/2011/08/morgen_04-300x200.jpg" alt="" width="114" height="76" /></a>

    and after saving I get:

    <a href="http://www.xyz.com/abc/wp-content/uploads/2011/08/morgen_04.jpg"><img class="size-medium wp-image-386 alignnone" src="http://www.xyz.com/abc/wp-content/uploads/2011/08/morgen_04-300x200.jpg" alt="" width="114" height="76" /></a>

  5. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    I asked because you said:

    And I want to use a lightbox Plugin with image sublines based on image title text.

  6. snoffel
    Member
    Posted 8 months ago #

    The plugin is the reason why I want to use img titles - but has nothing to do with the effect of disappearing html-code itself.

    I still don't understand if it is a bug, that will be fixed one day - or if title-tags in images really might be dangerous?

    With the plugin mentoined above I get my site running - but somehow it feels wrong to depend on it.

  7. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Right :) I wanted to make sure I understood where you saw the issue and with what configuration ;)

    I'm going to have to play and see if I can reproduce this and, if so, why it's doing this. It seems odd to me too!

  8. infotechol
    Member
    Posted 4 months ago #

    snoffel, Ipstenu,

    I also are experiencing this problem.

    WordPress 3.3 (non-mu)

    I have a user set-up as "Author"

    This user has all applicable rights, except being able to save image "titles". "alt" text works fine.

    I'll try the suggested fix as I do not have open registrations either, however I'm not totally comfortable with this workaround.

    Cheers,

  9. laurence@showme.co.za
    Member
    Posted 3 months ago #

  10. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 3 months ago #

    DO NOT EDIT CORE FILES.

    That's not a patch, that's a hack.

  11. sushienet
    Member
    Posted 1 month ago #

    i am having the same problem on WP 3.3.1 with multisites enabled and some plugins installed...

    i tried to fix it with "role scoper" to allow "unfiltered_html" for aothrs... but this dindt help :(

    since i dont have the time to debug now, i applied "the hack" what works well (till next core update)

    *cheers

Reply

You must log in to post.

About this Topic