Hi V@no
I have checked the code again, and I did exactly as above.
I have two different phenomena:
1. I added a comment to the following picture as user "kelly", and then (perhaps whilst still logged in as kelly) I replaced the main image (there was no image, just a thumbnail) which had disappeared as a result of a failed resize.
http://www.lifeofamodel.com/4images/details.php?image_id=20&mode=search2. I have this picture, where the link just leads to
http://www.lifeofamodel.com/4images/ Again, I have no idea why that is happening. All the other photos of that user have a working link underneath.
http://www.lifeofamodel.com/4images/details.php?image_id=93&mode=searchThis is what I have in details.html:
[qcode] <div align="center">
{image}
{if admin_links}<br />{admin_links}<br />{endif admin_links}
<br /><a href="{url_show_user_images}">Display {owner_name}'s portfolio</a><br />
<br />{lightbox_button} {postcard_button} {download_button} {download_zip_button}
</div>
[/qcode]
Thanks a lot for your help, V@no.