Picture automatic showing after posting.

edited July 2012 in Vanilla 2.0 - 2.8

Its Me again. Why function "$Mixed2 = preg_replace('/((https?|ftp).*(gif|png|jpg|jpeg))/i', 'image', $Mixed2);" is not working or I am missing something?

Comments

  • 1) Is it a function you created or is it in Vanilla?, if so what file?

    2) How can we tell you if its working if we don't know, what you are trying to accomplish?

    3) don't assume, some has read your other posts? Is it about a plugin, if so, post under the plugin?

    4) Is it a self-created function?

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • It is from library/core/class.format.php file. It should replace images link whit tumb in posts. I found it on internet.

    Ok, just never mind. I will try to work something out.

Sign In or Register to comment.