Inline pictures not shown unless logged in?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Inline pictures not shown unless logged in?

Coleen_Astalos
I have a post that was made via email with images inserted in it.  When I'm logged in as a registered member, I can see them.  When I'm not logged (so now I'm someone in the "Anyone" category) all I see is something like this where the photo should be:

cid: DAE2D74B-B880-4fCB-A559-5BFCD84C2256

You can see what I mean here: http://sudsol.1100894.n5.nabble.com/FW-Two-Double-Swing-Cards-td53.html  

It actually starts to display the images (you can see them for a second), but then they goes away.

All the other posts in this forum that have inline pictures seem to be working fine - it just seems to be this one.  Any idea what might be causing this?
Coleen
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

GregChapman
I am not convinced it is just that one. I think I found one at:

http://sudsol.1100894.n5.nabble.com/Creative-Post-via-Email-try-2-from-SLB-account-td57.html

In a brief exploration what I notice is that images that display are placed in the forum's file directory. e.g.:
<img src="http://sudsol.1100894.n5.nabble.com/file/n78/P1110838.jpg" border="0"/>

 Whereas images that don't are placed in the message's attachment folder. e.g.:
<img width=373 height=76 id="_x0000_i1028" src="http://sudsol.1100894.n5.nabble.com/attachment/57/0/image001.jpg" alt=slb5>

The text you see in place of the image is simply the alternative text for the img (in the example above from the URL above "slb5").

Try replying to this message, remove the < raw> tags from the two image tags and then do a preview of the message. You should then see the first image but only the ALT text for the second.

I don't know why access to view an image should be affected by being logged in. That's one for the Nabble team! I think I would consider it to be a bug.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

Coleen_Astalos
I'm not sure how to reply and remove the  tags you're talking about - I don't even know how to show the tags (I use Microsoft Outlook for my email program and it really doesn't like to show you any of the HTML coding).  

I'm also wondering if this is also related to the problem I posted here: http://support.nabble.com/Inline-Images-sent-via-email-sometimes-work-and-sometimes-don-t-td7586838.html
where some of the email postings with inline images get cut off where the image is and replace with a "click here" (but it's not a link) and the remaining portion of the message is not displayed on the forum.  However, if I go to edit the post, the rest of the stuff IS shown there.

Coleen

Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

GregChapman
Coleen_Astalos wrote
I'm not sure how to reply and remove the  tags you're talking about - I don't even know how to show the tags (I use Microsoft Outlook for my email program and it really doesn't like to show you any of the HTML coding).
My fault! When I wrote:
GregChapman wrote
Try replying to this message, remove the < raw> tags from the two image tags and then do a preview of the message. You should then see the first image but only the ALT text for the second.
I was assuming that  that you were using the forum to reply and the < raw> tags there become obvious.

It's over ten years since I last used Outlook, so I can't remember the menu options to use, but you certainly used to be able to show message source of incoming messages. I am not sure whether that option existed for messages in the Outbox or Sent Folder. The coding there would certainly allow you to work out the pattern that determines how Nabble handles attachments on incoming mail and which type of attachment is placed in the "files" directory of the forum or the "attachments" directory associated with any post.
I'm also wondering if this is also related to the problem I posted here: http://support.nabble.com/Inline-Images-sent-via-email-sometimes-work-and-sometimes-don-t-td7586838.html
I am reasonably certain it is. There are a host of forms that mime encoded attachments to mail can take and these will depend on such things as whether a image is posted inline within a message or as an attachment, and attachments themselves will have different mime-types depending on file types. I am a little hazy on all the technicalities of this and rather than spend my time attempting to work it out for your various examples, Pedro will probably have the knowledge to tell us.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

GregChapman
In reply to this post by Coleen_Astalos
Oops! I forgot to answer this bit...
Coleen_Astalos wrote
where some of the email postings with inline images get cut off where the image is and replace with a "click here" (but it's not a link) and the remaining portion of the message is not displayed on the forum.  However, if I go to edit the post, the rest of the stuff IS shown there.
Late Edit: Mmm!  This looks like a bug in Nabble's system to me!

Until I re-read your paragraph above and realised the post concerned had both an inline image and attached image I had not realised what was going on and was about to post, accusing you of bad practice...

======================
But the link is is included with the post - just not where you expect it to be!

You could blame that on your poor HTML practice . When you create an HTML message you are effectively subject to the same rules as web authors and they are taught NEVER to write "click here" links, but always make the link text relevant to the linked file. It's good practice to have file names that are meaningful too!  (Reason: Use the right terms and search engines allow you to search specifically for text which forms a link and for file names - if you know what you are looking for the appropriate search terms are so much more powerful and effective than a simple word search.)

Had you written your message with something like "My Picture" as the link text, rather than "click here", and named the file appropriately then Nabble's way of handling such attachments would be easier to understand:

mypicure.jpg (80K) Download Attachment

(where "Download Attachment" is a link)
======================
Now I see you appreciate all that stuff!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

Pedro
In reply to this post by Coleen_Astalos
Is this still an issue? I can see all images.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

GregChapman
Pedro,

You seem to have applied a fix. I can now see the images that were missing.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Inline pictures not shown unless logged in?

Coleen_Astalos
In reply to this post by Pedro
Yes, this seems to be resolved now.