Skip to content

Show Media preview #1105

merged 3 commits into from Apr 19, 2012

3 participants


Show a preview of the currently chosen image when using the field "media".


Still applies cleanly and works as intended after merging pull request #1151

@LouisLandry LouisLandry merged commit 5fe4bd6 into joomla:staging Apr 19, 2012

Nice, thx, we needed this for our component.
I only removed the width and height of the preview image.
maybe you can set this as an option too, thx again


ok, thx
well sometimes you want to show the original size , sometimes they need to be resized (like your example)

we solve this like:
when width=0 and/or height= 0 ==> original size,
any other value will resize it to that value


@timoline Would you please review my changes and leave a comment on the feature tracker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.