Site Suggestions & Problems Bring up any suggestions, questions or problems concerning ClubLexus. If you need to test a forum feature, post here too. Note - questions about your Lexus do not belong in this forum!

Embedding external images with IMG tag now automatically attaches images?

Thread Tools
 
Search this Thread
 
Old 01-04-13, 09:53 AM
  #1  
ydooby
Lexus Champion
Thread Starter
 
ydooby's Avatar
 
Join Date: Apr 2011
Location: CA
Posts: 2,010
Likes: 0
Received 0 Likes on 0 Posts
Default Embedding external images with IMG tag now automatically attaches images?

Is this a new "feature"? I just made a post about the new 86 concept and embedded an external image with the IMG tag as usual:
https://www.clublexus.com/forums/7683373-post14.html

And to my surprise the forum automatically includes that image in my post as an attachment. It's totally redundant and unnecessary IMHO. Would the site admins please tell me the reasoning behind this new "feature"? Thanks!
Old 01-04-13, 10:06 AM
  #2  
GiantsFan
Lexus Fanatic
iTrader: (9)
 
GiantsFan's Avatar
 
Join Date: Jan 2009
Location: CA - Norcal
Posts: 7,550
Received 9 Likes on 7 Posts
Default

yeah, it makes it seem like people are double posting all their pics lol.

I was about to make a thread on it but seems like this is the problem.
Old 01-04-13, 10:25 AM
  #3  
ydooby
Lexus Champion
Thread Starter
 
ydooby's Avatar
 
Join Date: Apr 2011
Location: CA
Posts: 2,010
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by GiantsFan
yeah, it makes it seem like people are double posting all their pics lol.

I was about to make a thread on it but seems like this is the problem.
After pondering for a minute I came up with a fairly reasonable motive behind this new "feature"--to avoid external images becoming broken due to external site downtime, traffic limitations, image removal, hot-linking restrictions, etc.

If so I applaud the effort but since the end result looks really ugly in normal conditions I think it can be made a whole lot better by adopting one of my two following proposed implementations instead:

1. Alter the data model of these "attachments" with a special column containing the originating URL so that posts embedding these URLs will automatically be embedding images hosted on CL instead when they're rendered. These attachments will be shared site-wide, meaning that any posts embedding the same URLs will be sharing the same local image resource.

2. Simply attach all the images that a post embeds in the same order that they appear in the post (which is already done), and embed the local versions in the same order when actually rendering the post (i.e. when seeing an IMG tag, render the attached image from its respective position in the attachments), without showing these images again as attachments in a separate attachment region below. If a post includes "real" attachments, attach them after these embedded images.

Prop #1 requires data model change but will waste a lot less resource in the end because images will be shared across posts (most commonly posts quoting posts with embedded images). Prop #2 requires no data model change so it should be easier to implement, but will waste some resources in duplicated images as a result. What's important is to make the transition absolutely transparent to the end users, which the current implementation fails to do.

Thoughts? (Can I earn the most constructive post of the year award? )

Last edited by ydooby; 01-04-13 at 11:01 AM.
Old 01-04-13, 02:15 PM
  #4  
ydooby
Lexus Champion
Thread Starter
 
ydooby's Avatar
 
Join Date: Apr 2011
Location: CA
Posts: 2,010
Likes: 0
Received 0 Likes on 0 Posts
Default

Bump.

I just noticed that the current implementation actually replaces the external URL enclosed by the IMG tag with a URL pointing to the local CL attachment. This is a very bad practice, as it removes the trace of an image's origin. And image origins are important because they give credit to the sites hosting the images, and even more so when a poster does not explicitly give credit/link to the site providing the images in a post, and yet the site actually has way more good and relevant images than what the poster chooses to embed in the post, which happens too often from what I've seen.

If any of my above proposals is to be implemented, it must not alter the post's original content, and only replaces the external URL with a local image URL at rendering time.

Thanks again in advance for the admins' considerations.

Last edited by ydooby; 01-04-13 at 02:33 PM.
Old 01-05-13, 08:27 PM
  #5  
DaveGS4
Forum Administrator

iTrader: (2)
 
DaveGS4's Avatar
 
Join Date: Feb 2001
Location: North Carolina
Posts: 31,434
Received 2,128 Likes on 1,298 Posts
Default

Your 'motive' I think is probably more accurately termed a theory, you can climb down off that grassy knoll now . Please edit your posts to remove your 'campaign'...

Don't know why this is happening, but suspect it is in error. Had a PM about it earlier today but thought it was just a post done by accident with both attachment and links, not happening to everyone. I've inquired about it.
Old 01-07-13, 11:18 AM
  #6  
ydooby
Lexus Champion
Thread Starter
 
ydooby's Avatar
 
Join Date: Apr 2011
Location: CA
Posts: 2,010
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by DaveGS4
Your 'motive' I think is probably more accurately termed a theory, you can climb down off that grassy knoll now . Please edit your posts to remove your 'campaign'...

Don't know why this is happening, but suspect it is in error. Had a PM about it earlier today but thought it was just a post done by accident with both attachment and links, not happening to everyone. I've inquired about it.
Thanks for the response Dave. I've noticed that things were reverted back to how they were and I've gone and removed my "campaign" in the other post.

I'm pretty sure it was done intentionally though, as the feature actually altered the content of my post by replacing my embedded external image URL with a URL pointing directly to the attached image, which had to be purposedly and programmatically fetched to the CL server in the first place.

Despite your characterizing it as an "error", I actually think it's a good feature since it does protect the post against broken images, but just needs some more thoughts for its implementation to make it look good. Please keep my suggestions in considerations as a possible future enhancement. Thanks!

Last edited by ydooby; 01-07-13 at 11:26 AM.
Old 01-07-13, 12:09 PM
  #7  
DaveGS4
Forum Administrator

iTrader: (2)
 
DaveGS4's Avatar
 
Join Date: Feb 2001
Location: North Carolina
Posts: 31,434
Received 2,128 Likes on 1,298 Posts
Default

I did get some clarification from IB and they were working on rolling back the update (which should have been done on Friday but doesn't look like it was). The logic they are implementing is intended to make sure members have ongoing access to DIYs, etc posted after image links are broken, but didn't work quite as expected and they're tweaking it a bit more before rolling out.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mmarshall
Site Suggestions & Problems
7
12-30-18 08:00 AM
user420
Site Suggestions & Problems
2
10-15-15 06:52 PM



Quick Reply: Embedding external images with IMG tag now automatically attaches images?



All times are GMT -7. The time now is 08:19 PM.