WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
Logo will not upload correctly in Customizr (30 posts)

  1. dpdiv
    Member
    Posted 3 months ago #

    I have tried numerous times unsuccessfully to upload my logo in .jpg and .png format, neither version work and when I view the home page there is a broken icon where the logo should be. Any ideas how to fix this issue?

  2. rdellconsulting
    Member
    Posted 3 months ago #

    Probably a plugin conflict.

    Deactivate all plugins
    Test if OK
    If OK, reactivate plugins one-by-one to find the culprit

    If not that, try changing to a different Theme (eg twentyfourteen) and test it. This will show if it is dependent on Czr.

    Link to site would help us.

  3. dpdiv
    Member
    Posted 3 months ago #

    link to site is http://www.platinumfinancial.ie

    Thanks,

    I have tried deactivating all plugins which has no effect.

  4. rdellconsulting
    Member
    Posted 3 months ago #

    File is not accessible from the server:
    src="http://www.platinumfinancial.ie/wp-content/uploads/Platinum-Logo-Blue31.jpg"

    - Is the file there?
    - Correct path?
    - Correct Permissions?

  5. rdellconsulting
    Member
    Posted 3 months ago #

    Another possible fix: try disabling Retina support in Customiz'it!>Images before uploading

  6. dpdiv
    Member
    Posted 3 months ago #

    I have tried disabling retina support. Still no joy! I have noticed that when I upload an image I need to edit it first in the media library in order for it to display. How can I upload the image from the WP media library instead of from my computer.

  7. dpdiv
    Member
    Posted 3 months ago #

    I have tried disabling retina support which has not worked either. I have noticed that when I upload media I need to edit it in the library before it will display correctly. How can I upload the media library image instead of having to upload it from the computer as I think this is what is causing the issue?

  8. dpdiv
    Member
    Posted 3 months ago #

    I still have no luck inserting my logo into the customizr theme.
    Can anyone help?

  9. ElectricFeet
    Member
    Posted 3 months ago #

    Dave's suggestions are good ones:

    - Is the file there?
    - Correct path?
    - Correct Permissions?

  10. Dario_Arc
    Member
    Posted 3 months ago #

    I have the same problem. The reason is that when I try uploading the logo from customization admin panel the path to the image is relative to PC and not to the web server.
    Examining the published theme code with firebug, is obvious where the problem is.
    The right path of the logo image should be:
    http:///www.site name/wp-content/uploads/subdir with year /subdir with month/logo image name
    but uploading from the upload button on the customization panel, the path become:
    /subdir with year /subdir with month/logo image name
    that is wrong.
    So I am trying to solve by making a backup of the MySQL database from the webserver, and changing the path of the uploaded image logo from the wrong path to the right path and, than, reuploading the corrected backup to the server.
    Please let me know if there is another way.

  11. d4z_c0nf
    Member
    Posted 3 months ago #

    It looks weird, tried also to remove the logo and upload it again?
    You can also try a different thing, if you don't wanna mess with the db.
    In your child-theme functions.php:

    add_filter('tc_logo_src', 'my_logo_src');
    function my_logo_src() {
        $logo_abs_path = "SOME_ABS_PATH";
        return $logo_abs_path;
    }

    edit:
    anyway this regards to a new feature added in 3.1.11, in order to use relative paths.

  12. Dario_Arc
    Member
    Posted 3 months ago #

    I have just tried your suggestion but this only insert the site title instead of the broken image sign.
    The strange thing happened to me today, after having upgraded the new theme version and after having uploaded a favicon.
    But I had never uploaded a favicon after having loaded the site to the web server, so I cannot say whether there is some problem with the theme upgrade.
    If you do not have any other suggestion, I will try with exporting the db, but I would like to know if it is possible to export only a SQL table that contains all the wordpress variables like path (I do not know if there is one) or if it is necessary to export all .sql database.
    Thanks for your help.

  13. d4z_c0nf
    Member
    Posted 3 months ago #

    What have you tried?
    That code doesn't work for you?
    Weird, it works for me.. what's the extension of your logo image?
    About sql, yeah you can export wp_options (the option you're looking for is tc_theme_options -> "tc_logo_upload")

  14. Dario_Arc
    Member
    Posted 3 months ago #

    In my custom function.php I have added your code (Note that other added functions work well). Than I have tried to reload the logo image with png. extension, the same that I had already used, but it seems that doing this is like saying to the theme that there is no image loaded and it use the default site title view.
    If it is of some help, the site is:
    http://www.laboratorioab.it
    In local the image is correctly displayed and uploaded with correct path (local path).

  15. d4z_c0nf
    Member
    Posted 3 months ago #

    Yep I remembered you site :D
    Anyway it's weird, 'cause if I set simply a wrong path in that code it shows me a "broken" image, but if I set a path to an image (existing or not) with a non-accepted extension, then I get your result (title instead of the image). That's why I asked that.
    Sorry cannot get the reason of this behavior.

  16. Dario_Arc
    Member
    Posted 3 months ago #

    Ok thanks so much! I am trying changing the db.

  17. Dario_Arc
    Member
    Posted 3 months ago #

    For dpdiv,
    Well, I have changed the tc_theme_options table content with the right path and now I have my logo showed again.
    I hope that it will help you too solving the problem.

  18. Dario_Arc
    Member
    Posted 3 months ago #

    Note that every time you go to customization panel and change something like social links urls, than the logo image link become corrupted again, and this is a very strange thing.
    In this case it is necessary to rearrange the db path.
    Hope that someone will find a better solution.

  19. d4z_c0nf
    Member
    Posted 3 months ago #

    That's why I thought about using that filter, it's weird that it doesn't work there :(

  20. nikeo
    Member
    Theme Author

    Posted 3 months ago #

    Hi @Dario_Arc, really nice customizations on your website!
    I suggest you submit it to the showcase if you get the chance : http://www.themesandco.com/customizr/showcase/

    Did you find a solution to your problem?

  21. Giorgio25b
    Member
    Posted 3 months ago #

    Hi all,
    don't know if it helps, but I had the same problem on this test site:
    test site in progress
    and I solved removing the logo and re-installing it:
    Remove Logo

    Hope it helps,
    Giorgio

  22. Dario_Arc
    Member
    Posted 3 months ago #

    Thanks nikeo for your appreciation on my customizations. This fills me with great pride! I will submit it to the showcase as suggested.
    The greatest merit goes to your excellent theme.

    Anyway, I changed the tc_theme_options manually. I know that this is not a really solution but it works.

    I will try, as soon as possible, to find other solutions, but I am not a really good expert in wordpress code so this is a little difficult trying to modify functions and working with filters.

    To Giorgio25b...I have tried a lot of time to remove logo but this did not solved the problem to me.

  23. RandomNick
    Member
    Posted 3 months ago #

    Hi!
    I'm having same problem since update...Only 'back home' text instead of logo. How can I change tc_theme_options? Sorry for my ignorance.
    Code that d4z_c0nf posted not working for me either.
    Tried to remove and upload again, not working.

  24. RandomNick
    Member
    Posted 3 months ago #

    Hi!
    I had class-header-header-main.php child, so I just took new, updated class-header-header-main.php from customizr, copied my changes from the old one, replaced the old child and logo showed up..everything works smoothly.
    Hope it helps.

  25. Giorgio25b
    Member
    Posted 3 months ago #

    @ RandomNick
    That worked even better
    Thanks, I should have thought about it before!

    @ Dario_Arc
    try to make a file compare between your 2 files and merge the differences.
    On your Map
    the iframe is a bit wonky, try to add this in the css:

    iframe {
        border: thin solid #FF0000;
        width: 765px;
    }

    Hope it helps
    G

  26. Dario_Arc
    Member
    Posted 3 months ago #

    Yes! Thanks RandomNick.
    After theme upgrade, class-header-header-main.php has changed too and a check if the full path is already saved in DB has been added.
    But I forgot to upgrade my class-header-header-main.php child with new code, and there was the problem. I apologize for this naive error.

    Now, to avoid for the future this kind of issues I have to better study the use of the actions and filters hooks instead of using file child.

  27. RandomNick
    Member
    Posted 3 months ago #

    No problem :)
    Cheers!

  28. cafoundationfund
    Member
    Posted 3 months ago #

    I have the same problem. http://www.cafoundationfund.org. upload function selects hard drive images. After selecting the jpg logo, nothing is uploaded.

  29. Dario_Arc
    Member
    Posted 3 months ago #

    @ Giorgio25b, I have applied your suggestion. It's really better. Thanks.

    @ dpdiv,
    What about you? Have you resolved your problem? If yes you could set as resolved this post.

  30. Giorgio25b
    Member
    Posted 3 months ago #

    @cafoundationfund
    all the working solutions are posted above. Either you remove and re-upload the logo or if you have the

    class-header-header-main.php
    in the child-theme you have to merge your custom code with new one.

Reply

You must log in to post.

About this Theme

About this Topic