WordPress.org

Ready to get started?Download WordPress

Forums

JBST
[resolved] Cannot upload logo image (10 posts)

  1. munger41
    Member
    Posted 5 months ago #

    Hi,

    I am using your fantastic theme (v 2.0.5), but it seems i cannot upload my logo image in the customization panel.
    It simply does nothing : when i click "Select a file...", it opens a file chooser window, but opening a file does nothing.
    Alternatively, if i drag and drop a file, nothing occurs.

    Can you please help ?
    Thank you very much

  2. Tareq
    Member
    Posted 5 months ago #

    Upload you image into the Media Library first

    Media -> Add New

    Then when you go into your customisation panel you can choose a file from your media library instead of uploading.

  3. munger41
    Member
    Posted 5 months ago #

    Thank you Tareq for your answer!
    My image is already in my library, but i have no possibility to choose from it in customization panel, the link select a file opens directly a local browser, no way to get it from media library.
    Can you explain where i can take the logo from image library please ?

  4. bassjobsen
    Member
    Theme Author

    Posted 5 months ago #

    Hi,

    Thanks for using JBST in the first place, and thanks again for posting your issue, this helps me to make JBST better.

    Unfortunately i found this issue before: https://github.com/bassjobsen/jamedo-bootstrap-start-theme/issues/74

    Most problem are related to file rights although it still seems useful to get a message about what's wrong.

    Solution for uploading images (check the rights of your upload folders);
    chmod 0777 wp-contents/uploads/ or chmod -R 0777 wp-contents/uploads/

    Could you check the above and let me know this will fix your issue? Thanks

  5. bassjobsen
    Member
    Theme Author

    Posted 5 months ago #

    @munger41 thank you too, for your suggestion.
    To logo upload uses WP_Customize_Image_Control (http://codex.wordpress.org/Class_Reference/WP_Customize_Image_Control) AFAIK this function does not allow to use files from the media library.

  6. munger41
    Member
    Posted 5 months ago #

    Thanks for your quick answers guys, but changing the rights on directory does not change anything. I tried several browsers as well, the behavior is still the same...

  7. bassjobsen
    Member
    Theme Author

    Posted 5 months ago #

    Well that's a pity. Thanks for reporting back.

    Could you send me a copy of the logo file you tried to upload? (bass@w3masters.nl) so i could test it.

    Which version of WordPress do you use? And do you use JBST with a child theme? I will try to setup a test. Thanks.

  8. bassjobsen
    Member
    Theme Author

    Posted 5 months ago #

    If possible could you also try to set

    define('WP_DEBUG', true);

    in wp-config.php and / or install http://wordpress.org/extend/plugins/debug-bar/ to see if there are any errors when uploading, thanks!

  9. munger41
    Member
    Posted 5 months ago #

    Thank you.
    I use WP 3.8 and JBST directly without child theme.
    define('WP_DEBUG', true); is set
    and debug bar installed (but debug bar disappears when customizing theme apparently - so no error show up)
    i 've just sent you my image by mail, thank you for testing

  10. bassjobsen
    Member
    Theme Author

    Posted 5 months ago #

    i mailed you back :)

    I didn't release the customizer use ajax to update (so the debug plugin don't give you a message).

    You can debug it with firebug, i don't have any idea if your familiar which such stuff?
    you can find the response of the logo upload in the response of
    /wp-admin/async-upload.php

Reply

You must log in to post.

About this Theme

About this Topic