Improvement of #1105 : Allowing full-size preview.
Add new params to media field: preview_width / preview_height
(Allowing full-size preview)
Hi, ok thx
I tested it, but directory="folder" isnt working correct for me anymore,
I mean: when pressing select it not goes to the folder.........can you can confirm that?
if I change back the code to:(line 130)
it works ok....but maybe it has someting todo with the getParams('com_media') setting
Also a new param "default" would be nice
default = the default image to use
Hi, I read it a few times, but I think the first one
Just show the image which is set by default, when the user select a new image then show the new image
The default value is like a placeholder
For the directory-Folder-Bug: Which exactly are your values in the XML as well as the getParams('com_media') ? It should be a regression of #728 .
echo JComponentHelper::getParams('com_media')->get('image_path', 'images');
From documentation: "This attribute should be relative to the top level /images/ folder." http://docs.joomla.org/Media_form_field_type