Need help getting my website to display thumbnails and links

Discussion in 'PHP' started by webdesignguru, Mar 26, 2010.

  1. #1
    Im hoping someone can help me resolve a problem on my website.
    The problem can be seen here:
    http://wedareya.phonecatwalk.com/in...I_dare_someone_to_go_out_in_town_in_a_turban_

    The problem is that when someone posts a website for example www.google.com on my website it doesnt show as a link automatically.Similar to how it does here where it "automatically parse links in text " .
    Similarlly if i want to input a thumnail in a response it just shows as a blank rather than actually showing the thumnail.Originally it wouldnt allow any html in a response and gave error code value is not valid, but i removed the code " add filter: remove tags ;" function so now it does allow html code.
    Just wondering if anyone has any php lines i can punch in to get this working ?
    Cheers

    <?php

    class requesterForm extends Zend_Form
    {
    public function __construct($options = null)
    {




    parent::__construct($options);
    $this->setName('solidarism');

    $description = new Zend_Form_Element_Textarea('description');
    $description->setLabel('Respond : ')

    ->setRequired(true);



    $submit = new Zend_Form_Element_Submit('create');
    $submit->setAttrib('id', 'submitbutton');



    $this->addElements(array($description, $submit));
    }
    }
     
    Last edited: Mar 26, 2010
    webdesignguru, Mar 26, 2010 IP