PDA

View Full Version : deleted image in album causes deleted image in forum post


kether1
02-07-2011, 03:48 PM
Is there any way to keep images in forum threads that have been linked to from member albums? Here is the issue:

Member A creates an album of photos. Then goes into the forum and posts a question using one or more photos from his album. The thread plays out over the next few days and Member A gets his question answered.

Member A then goes to his album where he originally posted his photos and decides that since his question is answered, he no longer needs the photo(s) in his album. SO, he deletes the photo or perhaps the entire album. Now, when visiting the thread created by Member A, visitors and members only see a red x or missing image. This ruins the thread for future use since no one can see the original image.

I have turned off the ability to delete images attachments to posts in the forum, but this doesn't seem to stop the member from deleting the image from his album and thus, the image linked to that album through the bbcode.

I know I can just remove the ability to delete photos and albums, but this is counter productive since why would anyone upload images into an album that they cannot organize and change? So for now, I don't use the vb albums - which I believe my members would really enjoy.

I am looking for a way to 'save' the image once it is posted to a thread - even if it is deleted in the member album. Is this possible? If so, how?

Thanks,
Kether

Lynne
02-07-2011, 04:29 PM
It depends on how the user goes about putting the image into the thread. If they used the Attachment Manager and inserted it, then deleted the album photo, then it would remain. If they just used the [ img ] tag to insert it (linking directly to the album image) and then deleted the album image, then yes, you will get a broken link.

kether1
02-08-2011, 03:32 PM
Hi Lynne,

Thank you for your response. Can you suggest any code edit or change I can make to make sure that only the attachment manager could be used for images in one's album. Is there a way to not allow members to then link to images in the albums but instead only insert the image?

Thanks!
Kether

Lynne
02-08-2011, 04:23 PM
You can disallow the use of [ img ] tags in your forums in the Forum Manager > Allow [IMG] Code > no.

kether1
02-08-2011, 05:29 PM
You can disallow the use of [ img ] tags in your forums in the Forum Manager > Allow [IMG] Code > no.

Lynne, that would make it so that no img could be linked in the forum. I don't want to do that as images are a big part of the posts on my forum. I only want to disable img links from the albums. Thoughts?

Kether

Lynne
02-08-2011, 06:10 PM
Well, they are probably copying the code from the area that says "BB Code" on the image album page. So, you could probably just edit that out of the album_pictureview template. You could also post a notice/annoucement telling users how you would like them to attach album images to their posts.

kether1
02-09-2011, 12:16 AM
Well, they are probably copying the code from the area that says "BB Code" on the image album page. So, you could probably just edit that out of the album_pictureview template. You could also post a notice/annoucement telling users how you would like them to attach album images to their posts.

Thanks. I guess I was hoping that there was some way to do this without having to edit code. I appreciate your time and all of your responses. Thank you.