Hey there
I may be missing something simple, but here’s our issue - we need to crop an image to 600px if it exceeds that width (this is the width of the content area).
However, we’d like to have a little more control over the images so that we can use a lightbox plugin to show the original, full size images, on hover.
So ideally, a 900px wide image that has been resized would output as follows:
<a class="lightbox" href="{original_img_url}"><img src="{made}" width="600" height="300" /></a>
The ideal scenario would be that this lightbox class and link were only added if the image exceeded 600px, but realistically, even adding this to all resized images would be an improvement!
I’m sure this would come in handy for others as well. Is it at all doable at the moment, or easily doable with a few fixes?
Cheers
Jon
|