Support » Theme: Ryu » Format image displaying wrong

  • I just setup a personal blog.

    I post my first post with the format – image.

    Looks it dosen’t works well, it’s empty. check the effect as the link blow:

    need your help to fix it.


Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Kathryn


    Hi there, it looks like your post is there – I can see it if I scroll down – but it’s being pushed down by some errors that you can see if you view the source of the page in your browser. Here’s a portion of the errors:

    <b>Warning</b>:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in <b>/nfs/c04/h02/mnt/65272/domains/</b> on line <b>53</b><br />
    <br />
    <b>Warning</b>:  imagecreatefromjpeg( [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: failed to open stream: no suitable wrapper could be found in <b>/nfs/c04/h02/mnt/65272/domains/</b> on line <b>53</b><br />

    It looks like one of the theme’s required PHP functions is disabled by your web host:

    wrapper is disabled in the server configuration by allow_url_fopen=0

    I would try contacting your host to see if they can enable this for you, and the errors should go away, allowing your site to display correctly.

    Let me know if you have any other questions.

    Thank you so much Kathryn! Your response is so quick.

    If it is display correctly, the image formate should also has a color background, right?

    Hope mediatemple can disable the PHP functions for me.

    Waiting for your good news.


    Moderator Kathryn


    Yes, the Ryu theme is designed to automatically change the background colour of image post types, using a special tool called Tonesque. It’s that feature which is being prevented from running because of the function that’s blocked by your web host. Hopefully they can fix that for you.

    Good luck!

    Hi Kathryn,

    I just talked with MediaTemple, this is the answer:
    You can add that variable by editing your php.ini. While we don’t provide support for editing your php.ini, this article should demonstrate how to.

    11:12 am Then, you can find more information regarding the PHP parameter allow_url_fopen in the KnowledgeBase article provided below. It’ll also have the variable to turn it on.


    What should I do?

    Moderator Kathryn


    Hi there, I won’t be able to help you modify your server settings as that’s outside the realm of theme support.

    If your host won’t help you with this and you’re not comfortable following their guide, you may want to hire a server person to assist you. Good luck!

    Hi there guanmu,

    Sorry I am a little late here but the information you have received so far is correct. Unfortunately, we’re unable to make changes to your php.ini file on your behalf, nor set up WordPress plugins for you as it falls outside the scope of (mt) Media Temple support. I would echo Kathryn’s suggestion on possibly hiring a server admin or someone familiar with this practice to help you. On the other hand, if you would rather save yourself the search, we do offer a special paid service call CloudTech and one of the things they can do for you is set up and configure WordPress Plugins. More information on that is provided at the link below:

    If you have any other questions for us, we’re available 24/7 on Twitter: @MediaTempleHelp

    Drew J
    [ Signature moderated. ]

    Moderator Kathryn


    Hi Drew, thanks for chiming in! I’m just wondering how a plugin would help this user with the editing of their php.ini file? It isn’t something I’d mentioned so I’m just wondering where that came from.

    one of the things they can do for you is set up and configure WordPress Plugins

    Hi there Kathryn. My apologies, to be perfectly honest, I was not familiar with Ryu and assumed it was a WordPress Plugin, I see now that is is a theme. Either way, the suggestion I made above still applies. Sorry about that 🙂

    If you have any other questions for us, we’re available 24/7 on Twitter: @MediaTempleHelp

    Drew J

    Moderator Kathryn


    Thanks for clarifying, Drew. 🙂

    Help anyone…

    I too want to use the Ryu theme and I’ve done all of the above, but it’s not working. Help… anyone…

    Hi Bluhmpa,

    It’s easy.

    connect your ftp, find the file php.ini in folder “etc”.

    download php.ini and edit it with some coding app ( I am using Sublime Text 2)


    allow_url_fopen = 1

    at the bottom of php.ini

    save and upload via ftp


    Yup, I’ve done that 3 times now! It’s not working for me…

    Moderator Andrew Nevins


    Forum moderator

    Then you are not experiencing the same issue. Can you create a thread regarding your issue Bluhmpa?

    Hi Andrew,
    Okay, I started a new thread. Hopefully someone can help me:

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Format image displaying wrong’ is closed to new replies.