Active
Project:
MediaFront
Version:
7.x-2.0-rc5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2013 at 15:57 UTC
Updated:
8 Feb 2013 at 15:45 UTC
It appears that the image attributes are being set according to the height and width of the minplayer-loader-wrapper and are resizing after the Image Style has been applied. Shouldn't the height and width come from the Image Style only?
Comments
Comment #1
aniebel commentedAlso, if I don't include height and width in the Player Presets, the preview image doesn't show up at all.
Comment #2
travist commentedIs this in Colorbox? If so, then I just committed a fix for that.
If not, then I will need more information about your setup to determine what issue you are running into?
Comment #3
aniebel commentedHi travist, no it's not Colorbox. I am using a custom template where I have copied the default template to add additional fields to the thumbs and preview.
I currently have the preview image set to thumbnail just to try and troubleshoot and image styles is successfully creating that image. It's being resized then (enlarged) to fit the container.
Here's the css that's being generated for the preview image: http://screencast.com/t/us3DVwqzD1
I found this in osmplayer.js, line 3038 :
Comment #4
aniebel commentedAs a test, I switched to another preset I created using the default template instead of my custom template and am seeing the same results. The preview image that I have set as thumb style in Views is being resized to fit the containing div.
Comment #5
aniebel commented