Skip to content

Show Media preview #1105

Merged
merged 3 commits into from Apr 19, 2012

3 participants

@benjaminpick

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

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28176

@benjaminpick

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

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

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

@benjaminpick
@timoline

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

@benjaminpick

@timoline Would you please review my changes and leave a comment on the feature tracker?
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28176

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.