[OpenEMM 2015] Are unused graphics automatically deleted?

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

[OpenEMM 2015] Are unused graphics automatically deleted?

Post by friedbrain » Wed Mar 11, 2015 10:41 am

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.

maschoff
Site Admin
Posts: 2262
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by maschoff » Wed Mar 11, 2015 6:55 pm

We need a more detailed description of what you mean by "unused graphics" to be able to assess this issue.
OpenEMM Maintainer

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Fri Mar 13, 2015 2:47 pm

Graphics that are not used in AGN tags.

maschoff
Site Admin
Posts: 2262
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by maschoff » Fri Mar 13, 2015 2:59 pm

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.
OpenEMM Maintainer

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Fri Mar 13, 2015 3:07 pm

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.

maschoff
Site Admin
Posts: 2262
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by maschoff » Fri Mar 13, 2015 3:24 pm

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

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Fri Mar 13, 2015 3:36 pm

Thanks for the quick update. 8)

nadasadij
Posts: 2
Joined: Thu Mar 19, 2015 9:21 pm

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by nadasadij » Thu Mar 19, 2015 9:37 pm

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?

in_need_of_help
Posts: 3
Joined: Thu Mar 19, 2015 11:13 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by in_need_of_help » Fri Mar 20, 2015 10:26 am

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.

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Fri Mar 20, 2015 11:04 am

nadasadij wrote:Does it should insert with agnIMAGE tag?
Yes, if you use the agnIMAGE tag the images are not being deleted.

nadasadij
Posts: 2
Joined: Thu Mar 19, 2015 9:21 pm

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by nadasadij » Fri Mar 20, 2015 2:48 pm

friedbrain wrote:
nadasadij wrote:Does it should insert with agnIMAGE tag?
Yes, if you use the agnIMAGE tag the images are not being deleted.
OK, I can use this way manually.
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?

highco
Posts: 6
Joined: Thu Apr 02, 2015 1:59 pm

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by highco » Tue Apr 07, 2015 10:15 am

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... :)

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Tue Apr 07, 2015 10:27 am

No, it's a bug.

Everything else is like I described it above.

Workaround is inserting the image directly after uploading it.

highco
Posts: 6
Joined: Thu Apr 02, 2015 1:59 pm

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by highco » Thu Apr 09, 2015 9:43 am

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? :)

friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: [OpenEMM 2015] Are unused graphics automatically deleted

Post by friedbrain » Thu Apr 09, 2015 10:00 am

filename? You have to use the agnIMAGE tag as stated above.

Post Reply