Showing posts with label Base64. Show all posts
Showing posts with label Base64. Show all posts

Saturday, March 12, 2016

Base64 Photo Hosting, And Open Graph Code

Some blog owners make photos an important part of blog content.

When sharing a post to FaceBook, problems are seen with photo content. In some cases, this is because of how the photos were added into the post, when using Post Editor.

We've known about problems with photos installed using drag and drop, and post editor, for a few years. Drag and Drop photos, in some cases, are stored as "Base64" content - with the photo content hosted in the post, instead of Google Photos (or Picasa).

Photos added to posts in post editor, using "drag and drop", have been a problem for many years.

Base64 hosted photos make posts abnormally large.

Posts containing "Base64" encoded photos are abnormally large - and will cause problems with the index pages, and auto pagination. That is a nuisance - but just that.

With posts shared to social media, such as FaceBook and Twitter, photos hosted using Base64 become more than a nuisance. When normal posts are shared to FaceBook, OpenGraph code is used to identify key post content - such as a photo to accompany the shared post.

Open Graph code uses URLs to reference photos.

OG code uses HTML / XML tags, in template code - with a URL identifying a shared photo. A post that contains Base64 hosted photos won't have URLs identifying the photos - it will have the actual photo content.

This photo was installed, using drag and drop. Interestingly enough, it is not Base64. It is possible that Blogger no longer uses Base64 encoding - which would explain why the problem with OG code is rather irregular.

When shared to FaceBook, the photo must be converted to normal Google Photo hosted content, so it can be shared using a URL - as normal photos are shared, using OG code. If shared using Base64 content (if OG were to support Base64), the post, again, becomes abnormally large.

Base64 hosted photos simply present one more complication, when sharing posts to FaceBook, Twitter, and other social services.



Some blog owners publish posts that contain photos added using drag and drop. Some drag and drop installs result in Base64 hosted photos - which must be converted to Google Photos hosted content, when shared to FaceBook or Twitter.

Wednesday, October 12, 2011

Auto Pagination Being Triggered By Post Images Encoded In Base64 - Redux

The problem of auto pagination, triggering display page segmentation, has been with us since early 2010.

Even in the beginning, auto pagination was not 100% popular with blog owners. As more blog owners got used to the inevitability of auto pagination, more scenarios were discovered, where it critically affected blogs.

The most recently identified scenario, where auto pagination was involved, was with images hosted as Base64 content - first discovered a year after the initial opposition started.

Having examined enough cases of Base64 hosted photos during the past year, we now see that the problem appears to be related to installation technique.

Both the drag and drop technique, or the "From the web" option in the "Insert image" wizard in post editor, when adding photos to blog posts, appear to consistently add images hosted as Base64 content, into blog posts.

With the causative scenario identified, we can now recommend a technique for resolution. Hoping that any blog showing the problem of critical display page segmentation does not have an unacceptably large number of images / photos hosted as Base64 content, each image or photo has to be identified and removed, and a properly installed image / photo replacing it.
  1. Find the original of each photo installed, using drag and drop or "From the web".
  2. Copy each photo to your computer.
  3. Edit each post containing each photo. Remove each photo, as previously added.
  4. Add each photo again, using "Insert image", and selecting the copy on your computer.
  5. Re publish each post, so edited.

If the blog in question contains too many images or photos hosted as Base64 content, a possible alternative might be to change the blog to display using a dynamic template. This may provide a solution because dynamic templates, with the content rendered on the client computers, do not appear to be susceptible to display page segmentation.

>> Top

Navigate» Become author for this Blog