Block with linked image field?

Permalink
I'm trying to build a block with an image field (drawing from image library) and a link field (URL or relative page), and on submit the image is linked.

So, the block would look like:

Image: [ ]
Link: [ ]

And the result would be:

<a href="#">[image.jpg]</a>

Is there a way to do this? I'm very new to PHP so any help is much appreciated, thanks.

stephmars
 
cgrauer replied on at Permalink Reply
cgrauer
Why don't you use the blocktype "Image"? It's already there and fits all your needs!

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.