| Stop Deleting Thumbs on Category Move
How can I stop thumbnails being deleted from an old category when an image is moved to a new category?
The bbcode under an image produces a code like (I've added the *** to be able to show the links without them parsing ):
[url***=http://www.wildaboutbritain.co.uk/archive/showphoto.php/photo/51697][img***]http://www.wildaboutbritain.co.uk/archive/data/31/thumbs/IMG_1344.JPG[/img][/url]
but if I move the image in the gallery I get:
[***url=http://www.wildaboutbritain.co.uk/archive/showphoto.php/photo/51697][***img]http://www.wildaboutbritain.co.uk/archive/data/61/thumbs/IMG_1344.JPG[/img][/url]
so the thumbnail's category is changed in the "data/..." part of the URL, but the showphoto/photo/51697 part of the URL doesn't change:
This means that the thumbnail disappears in forum posts.
So, how can I stop the old thumbnail being deleted when the image is moved to a new category, and therefore still link to the image from forum posts?
Stu
|