I'm working through a little TimThumb example, but I can not get through the first basic tutorial because I do not have a good grasp of PHP.

Using this image file: http://i.imgur.com/OCxHpUA.jpg

I want to plug that into my TimThumb php script and see the output, but this code is written incorrectly:

echo("<img src='timthumb.php?src=http://i.imgur.com/OCxHpUA.jpg' />");

Could someone kindly show me the correct way to write this so that the code actually executes for the 'src' parameter?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.