← Back to team overview

mahara-contributors team mailing list archive

[Bug 1411234] Re: large image display problem in blog view

 

... and here's a screenshot of the same blog entry being displayed in a
block in a page. You can see how the image has been horizontally
squished to fit into the block, while retaining the same vertical size.

So yeah, neither of these are correct. What we really want to happen is
that the image should be reduced in size to fit into the available
width, but it should also shrink vertically so that it retains the same
aspect ratio.

** Attachment added: "blog-in-page-squished.jpg"
   https://bugs.launchpad.net/mahara/+bug/1411234/+attachment/4321438/+files/blog-in-page-squished.jpg

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1411234

Title:
  large image display problem in blog view

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Reported by a user. Placing a very large image in a blog entry causes
  a display problem in the blog view.

  Let's say a 1200 pixels wide image is placed in a entry. The blog
  entry is put in a page. View.css has a max-width:100% for each
  blockinstance-content, so the blog entry fits into the allocated width
  (which is partly good because the image is distorded i.e. proportions
  are not kept).

  But when we look at the blog entry in the blog view, the wide image
  overlap navigation elements on the right - which is not good. There
  should be a CSS max-width also in the blog entry so there is no
  overlap.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1411234/+subscriptions


References