Please forgive my stupidity here as I’m new to modx but I’m going to be using shadowbox on the front end of a site i’m currently developing for a client.
I want my client to be able to upload a thumbnail and a full size image and to insert the thumbnail into the page using the tinyMCE editor. I eventually want to end up with HTML ike this
<a id="247_pic" href="images/247glass_large.jpg">
<img src="images/247glass_small.jpg" alt="247 Glass Control Screenshot" />
</a>
Inserting the thumbnail is no problem using tinyMCE but trying to surround the img tage with an anchor tag who’s href attribute is the larger image is baffling me. Clicking on the image a pressing "insert/edit link" doesn’t work because the editor window that comes up won’t let me select an image as the link destination. I also don’t want my client to have to type in the HTML themselves.
There must be a solution?