[OpenEMM 2015] Are unused graphics automatically deleted?
Moderator: moderator
-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
[OpenEMM 2015] Are unused graphics automatically deleted?
With OpenEMM 2015 it seems that unused graphics are automatically deleted.
Is that so? Is that a bug or a feature?
Edit: Happens on both our test and prod system.
Is that so? Is that a bug or a feature?
Edit: Happens on both our test and prod system.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: [OpenEMM 2015] Are unused graphics automatically deleted
We need a more detailed description of what you mean by "unused graphics" to be able to assess this issue.
OpenEMM Maintainer
-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Graphics that are not used in AGN tags.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Can not confirm. What I did:
1. Upload an image in tab "Picture components" of a mailing.
2. Log out
3. Log in
4. Picture is still there.
1. Upload an image in tab "Picture components" of a mailing.
2. Log out
3. Log in
4. Picture is still there.
OpenEMM Maintainer
-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
OK, tested again, the needed steps are:
1. Upload an image in tab "Picture components" of a mailing or template.
2. Save either the template in the tab "Mailing" or a text module in the tab "Content". No changes need to be made here.
3. Go back to the tab "Picture components".
Result: The uploaded image is gone.
1. Upload an image in tab "Picture components" of a mailing or template.
2. Save either the template in the tab "Mailing" or a text module in the tab "Content". No changes need to be made here.
3. Go back to the tab "Picture components".
Result: The uploaded image is gone.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Confirmed, if there is no link from content to the image, it is not saved with the mailing. This is probably not intended, but I have to check. Thanks for your feedback!
OpenEMM Maintainer
-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Thanks for the quick update. 

Re: [OpenEMM 2015] Are unused graphics automatically deleted
I have related problem: The uploaded image disappears after instering into the mail.
Steps to reproduce:
1. upload an image in picture components. It appears in picture components tab, and the name is exactly the uploaded file name.
2. insert the image into content with html editor's insert image form, and here "browse server". The image is here, i can insert it. This function inserts the img with this form: img src="http://server-name:8080/image?ci=...", and not with the agnIMAGE tag.
3. On the picture component tab the image name changed from original filename to http://server-name:8080/image?ci=...
4. Some time later (a few minutes?) the image can't available any more on http://server-name:8080/image?ci=... url
Is there any problem with the insert image / browse server funciton? Does it should insert with agnIMAGE tag?
Steps to reproduce:
1. upload an image in picture components. It appears in picture components tab, and the name is exactly the uploaded file name.
2. insert the image into content with html editor's insert image form, and here "browse server". The image is here, i can insert it. This function inserts the img with this form: img src="http://server-name:8080/image?ci=...", and not with the agnIMAGE tag.
3. On the picture component tab the image name changed from original filename to http://server-name:8080/image?ci=...
4. Some time later (a few minutes?) the image can't available any more on http://server-name:8080/image?ci=... url
Is there any problem with the insert image / browse server funciton? Does it should insert with agnIMAGE tag?
-
- Posts: 3
- Joined: Thu Mar 19, 2015 11:13 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
I have the same Problem, didn't see this thread before so I opened a new one: https://forum.openemm.org/post9373.html I will move over here for discussion.
-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Yes, if you use the agnIMAGE tag the images are not being deleted.nadasadij wrote:Does it should insert with agnIMAGE tag?
Re: [OpenEMM 2015] Are unused graphics automatically deleted
OK, I can use this way manually.friedbrain wrote:Yes, if you use the agnIMAGE tag the images are not being deleted.nadasadij wrote:Does it should insert with agnIMAGE tag?
But what about the html editor insert image / browse server function. This function is more comfortable than manual write img tag.
I expected this function sould insert the uploaded image with agnIMAGE tag, but it doesn't, so this comfortable function is unusable now.

Can anyone use this function without losing uploaded images?
Re: [OpenEMM 2015] Are unused graphics automatically deleted
Hi...im new to openemm. Everything works fine so far except that problem with insertion of images via the editor. It happens exactly like nadasadij explained.
I also noticed that if i upload an image and then just save an content-element (doesnt matter which one), then the image will be deleted by that action. Or is it a feature that the non-referenced images are deleted by saving a content-element?
For my situation and what i need/want to do its very hard to implement the picture components via the agnImage-Tags....hard to manage especially for the editor-user...
Is there a bug fix or could someone find a workaround (for the editor...)? Would really need a fix for that....for i need that feature to work..
If you need more details about the bug just ask me...
I also noticed that if i upload an image and then just save an content-element (doesnt matter which one), then the image will be deleted by that action. Or is it a feature that the non-referenced images are deleted by saving a content-element?
For my situation and what i need/want to do its very hard to implement the picture components via the agnImage-Tags....hard to manage especially for the editor-user...
Is there a bug fix or could someone find a workaround (for the editor...)? Would really need a fix for that....for i need that feature to work..

If you need more details about the bug just ask me...

-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
No, it's a bug.
Everything else is like I described it above.
Workaround is inserting the image directly after uploading it.
Everything else is like I described it above.
Workaround is inserting the image directly after uploading it.
Re: [OpenEMM 2015] Are unused graphics automatically deleted
thanx for the answer..
but that workaround doesnt work (at least for me)..
Its just like nadasadij described...if i insert the image directly after i uploaded it, the image is renamed from <filename> to <http://server:8080/image?ci....>.
Then it seems like it works.....but a bit later (one or two minutes) the image cant be found anymore.
Seems to me as if the original uploaded image is deleted by saving the content-element anyway.....and if it was inserted with the editor, the image is changed to an "external" url-resource (which maybe is cached by openemm....for it still works...for maybe a minute).
Implementing images via the agnIMAGE-Tag works fine. But that is not practicable for what i need to realize with openemm...
Is somebody already working on a solution/fix for this problem? Or is that kind of low-priority-feature? Does somebody know a status?
but that workaround doesnt work (at least for me)..

Its just like nadasadij described...if i insert the image directly after i uploaded it, the image is renamed from <filename> to <http://server:8080/image?ci....>.
Then it seems like it works.....but a bit later (one or two minutes) the image cant be found anymore.
Seems to me as if the original uploaded image is deleted by saving the content-element anyway.....and if it was inserted with the editor, the image is changed to an "external" url-resource (which maybe is cached by openemm....for it still works...for maybe a minute).
Implementing images via the agnIMAGE-Tag works fine. But that is not practicable for what i need to realize with openemm...
Is somebody already working on a solution/fix for this problem? Or is that kind of low-priority-feature? Does somebody know a status?

-
- Posts: 62
- Joined: Tue Aug 25, 2009 8:17 am
Re: [OpenEMM 2015] Are unused graphics automatically deleted
filename? You have to use the agnIMAGE tag as stated above.